virtual registers in ASM

Andrew Haley aph@redhat.com
Mon Sep 8 17:37:00 GMT 2008


Thomas A.M. Bernard wrote:
> Hi,
> 
> Is there a way to order the compiler to output only virtual registers
> within the assembly code ? (pointers to GCC code sections in back-end or
> in MD files are welcome) Hence the result assembly code would not have a
> conventional register allocation. It would be using an unlimited number
> of registers instead.

No.  If you're happy to let the compiler spill registers you might as well
write in C, I would have thought...

Andrew.



More information about the Gcc mailing list