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] PR target/34814 Force SDmode function args into FP registers per the ABI


On Wed, 2008-01-23 at 00:25 -0600, Peter Bergner wrote:
> This patch fixes PR34814, where SDmode arguments were not being passed and
> returned in floating point registers as specified in the powerpc-linux and
> powerpc64-linux ABIs.  Given the upcoming 4.3 cutoff and some reload
> problems, I am delaying adding support for -mcpu=power6 compiles to make
> use of the 32-bit indexed load/store instructions to load/store SDmode
> values directly to/from memory into the FP registers.  Instead, they use
> the same mechanism non power6 compiles due and copy through the integer
> registers and a 64-bit stack slot.  I'll tackle that for 4.4.
> 
> This has passed bootstrapping on powerpc64-linux and is currently regtesting.
> Is this ok for mainline if there are no regressions in the testsuite?

Testing completed with no regressions and we now correctly compile
gcc.target/powerpc/ppc32-abi-dfp-1.c.

Peter




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