rfc: clobber all call-saved registers

Alexandre Oliva aoliva@redhat.com
Wed Jan 9 15:44:00 GMT 2002


On Jan  8, 2002, Richard Henderson <rth@redhat.com> wrote:

> (1) A header file somewhere in the testsuite that has a whole
>     whale-load of ifdefs and chooses the correct asm statement,

> (2) A compiler builtin that generates the correct asm statement
>     based on the contents of call_used[].

How about a new entry for the list already containing "cc" and
"memory", acceptable in the clobbers of an extended asm?

  asm ("" : : : "call_used");

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list