Control register spilling: Is it possible ?
Ian Lance Taylor
ian@wasabisystems.com
Thu May 20 15:22:00 GMT 2004
"Petar Penchev" <ptr@melexis.com> writes:
> and the error message is related to the first alternative which
> defines move from memory to memory.
Wait a second. Why are you defining an alternative to move a value
from memory to memory? From your split, it doesn't seem like your
processor actually has such an instruction. If it doesn't, then you
should not have an alternative for it. gcc should figure out how to
move memory values without help.
You need a way to move a value from any register to any other register
for which HARD_REGNO_MODE_OK returns true, and you need a way to move
such values between stack slots and registers. But you don't need a
way to move data from memory to memory.
Ian
More information about the Gcc
mailing list