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: 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


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