This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: virtual registers in ASM
- From: Andrew Haley <aph at redhat dot com>
- To: "Thomas A.M. Bernard" <t dot bernard at uva dot nl>
- Cc: gcc at gnu dot org
- Date: Mon, 08 Sep 2008 18:36:27 +0100
- Subject: Re: virtual registers in ASM
- References: <48C558C4.9070705@uva.nl>
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.