Who is responsible for satisfying assembler constraints?
Geoff Keating
geoffk@cygnus.com
Tue Jul 11 13:12:00 GMT 2000
Joern Rennecke <amylaar@cygnus.co.uk> writes:
> > However I thought the whole point of constraints was that gcc would make sure
> > they would be satisfied?
>
> reload can reload objects from memory into registers, but not vice versa.
It can also put constants, or registers equivalent to constants, into
memory, and move registers into memory to move them into other
registers. I don't think it should ever need to move registers into
memory directly, because then the pseudo should not have been
allocated a hard register in the first place.
--
- Geoffrey Keating <geoffk@cygnus.com>
More information about the Gcc
mailing list