On Mon, May 11, 2009 at 4:45 PM, Jamie Prescott <[email protected]> wrote: > > Hi! > I wanted to add finer (one per) register subclasses, so that I can more > finely control > the register placement inside the inline assembly.
You don't need that.
You can just use asm("registername") on variables.
like so:
int f(int a)
{
register int r0 __asm__("r0");
asm("use %0": "+r"(r0) );
}
Thanks,
Andrew Pinski
