[patch] fix red zone altivec saving
Eric Christopher
echristo@apple.com
Mon Mar 26 02:39:00 GMT 2007
So, it turns out that the red zone on ppc doesn't include the altivec
registers. OK, no problem on those targets (ABI_V4) that happen to
push the stack early enough. Unfortunately darwin isn't one of them
so a little rearrangement is necessary. However, this doesn't really
affect V4 much in that we just save the registers a little later in
the sequence after we've pushed.
Tested by bootstrap and regression test on ppc-darwin. OK?
-eric
2007-03-25 Eric Christopher <echristo@apple.com>
* config/rs6000/rs6000.c (rs6000_emit_prologue): Move altivec register
saving after stack push.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: altivec.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070326/d3a5ed3f/attachment.txt>
More information about the Gcc-patches
mailing list