inline assembly
Ian Lance Taylor
iant@google.com
Sat Feb 25 14:01:00 GMT 2012
reed kotler <rkotler@mips.com> writes:
> For extended inline assembly, there are constraints. Some seem to be
> supported by all architectures and some specific to a particular
> architecture.
>
> Where are these defined in gcc source?
>
> Some seem to be in constraints.md and some not.
Machine-specific constraints are normally defined in, as you say,
config/CPU/constraints.md.
The generic constraints are handled in a few different places, notably
ira-*.c, reload.c and recog.c. Probably the easiest way to find them is
to grep for REG_CLASS_FROM_CONSTRAINT and check the code around the
places where that is used.
Ian
More information about the Gcc
mailing list