On Fri, Mar 4, 2011 at 1:06 PM, Pat Haugen <pthau...@linux.vnet.ibm.com> wrote: > Fix subject PR by defining HARD_REGNO_CALLER_SAVE_MODE to return V2DFmode > for vectors in FP regs. > > Bootstrap/regtest on powerpc with no new failures. Ok for trunk and 4.5 > (after successful 4.5 bootstrap/regtest)? > > -Pat > > > 2011-03-04 Pat Haugen <pthau...@us.ibm.com> > > * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. > * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine > before definition. > > testsuite/ChangeLog > * testsuite/gcc.target/powerpc/pr47862.c: New.
This patch is okay. As I mentioned on IRC, I am a little concerned that the macro returns V2DFmode instead of V2DImode (normal FPRs use DImode, not DFmode), but no one seems to be aware of any problems that will cause. Thanks, David