This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Extending constraints using register subclasses
On Sat, May 16, 2009 at 7:57 AM, Jamie Prescott <jpresss@yahoo.com> wrote:
> Now I managed to have the approach based on register subclasses working. The above
> works too, but I somehow found it less clear and more "global" than inline assembly
> constraints.
It is not global as the register variables don't escape out of the
scope. If you use them in inline functions, it makes them less global
and also easier to read too.
Thanks,
Andrew Pinski