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]

Re: [patch] move altivec register saving



The patch was tested on ppc-darwin, ppc64-darwin and ppc-linux. Andrew made some mention of a ppc64-linux failure, but I've been unable to get the preprocessed testcase so I'd like to commit now and I'll commit to fixing the failure if it happens or turns up in testing as soon as someone can get me a testcase.



And Geoff found the problem, so that's fixed here. He also OK'd the patch, but I'm going to give people a chance to test and give me feedback before I commit.


Tested on ppc-darwin and -m64.

-eric

* config/rs6000/rs6000.c (rs6000_emit_prologue): Move altivec register saving after stack push.
Set sp_offset whenever we push.
(rs6000_emit_epilogue): Move altivec register restore before 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]