[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: inline assembly
From:       Ian Lance Taylor <iant () google ! com>
Date:       2012-02-25 3:07:19
Message-ID: mcr7gzbhaqg.fsf () dhcp-172-18-216-180 ! mtv ! corp ! google ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic