hard register reload patch
Jeffrey A Law
law@cygnus.com
Fri Dec 31 16:38:00 GMT 1999
In message < Pine.LNX.4.04.9912021317150.25544-100000@pathia.cygnus.co.uk >you
write:
>
> Here's an example program that exposes the problem:
>
> int foo (int, int) __attribute__ ((regparm (3)));
>
> int foo (int x, int y)
> {
> asm volatile("" : : "d" (x), "r" (y));
> }
[ ... ]
> [I assume this is OK for gcc.dg?]
Yes, with the appropriate stuff so that it's only tested on an x86 target.
jeff
More information about the Gcc-patches
mailing list