asm clobbers of the frame pointer

Jim Wilson wilson@specifixinc.com
Sat Dec 20 02:55:00 GMT 2003


Jim Wilson wrote:
> 	* flow.c (mark_set_regs, case PARALLEL): Scan loop forwards.
> 	Add case for ASM_OPERANDS.
> 	* global.c (global_alloc): Set regs_ever_live for regs_asm_clobbered
> 	registers.

I didn't get any comments about this, and it has been 4 days now.

I forgot to mention that my testcase was for powerpc.

I verified that my patch works as expected for the testcase in bug 13169.

I verified that using a global register variable assigned to the fp reg 
still works.  This occurs in some places, for instance, the glibc 
startup code for sparc.

I tested this with a powerpc-darwin7 bootstrap and make check.  There 
were no regressions except for libjava.  However, I get a different 
result everytime I run the libjava testsuite with or without the patch, 
so this can't be the fault of my patch.  I get different numbers of 
failures, and different testcases failing.  The minimum number of 
failures I got with and without the patch were the same though, 13 failures.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc-patches mailing list