This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Use FP reg for SI value -- powerpc-xilinx-eabi
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Michael Eager <eager at eagercon dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 19 Feb 2009 09:21:26 -0500
- Subject: Re: Use FP reg for SI value -- powerpc-xilinx-eabi
* config/rs6000/rs6000.c: rs6000_function_value: set function return
reg for single-precision FPU
* config/rs6000/rs6000.md: *movsi_internal1: add pattern to move SI
values to/from single-precision FP regs.
*movdf_softfloat32: Correct test for single-precision FPU
The rs6000_function_value change is okay for GCC 4.5 with later
backport to GCC 4.4.1.
The rest of the patch is wrong. FPRs should not contain SImode values.
David