This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix red zone altivec saving


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.

Attachment: altivec.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]