This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inline assembly


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]