------- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-06 01:42 -------
r11 is saved by the caller so this is the generated code is valid.
Since nothing else uses r11 in the inline-asm, the code is correct.
>From the i386.h header:
The value is zero if the register is not call used on either 32 or
64 bit targets, one if the register if call used on both 32 and 64
bit targets, two if it is only call used on 32bit targets and three
if its only call used on 64bit targets.
/* r8, r9, r10, r11, r12, r13, r14, r15*/ \
1, 1, 1, 1, 2, 2, 2, 2, \
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
GCC host triplet|file bb.c |file bb.c
|============================|
|========================= |
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39078