From 76a66d510a3737674563133a420f4fd22da42c1b Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sat, 17 Aug 2013 18:33:02 +0930 Subject: PowerPC floating point little-endian [14 of 15] http://sourceware.org/ml/libc-alpha/2013-07/msg00205.html These all wrongly specified float constants in a 64-bit word. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants for little-endian. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. --- sysdeps/powerpc/powerpc64/fpu/s_truncf.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysdeps/powerpc/powerpc64/fpu/s_truncf.S') diff --git a/sysdeps/powerpc/powerpc64/fpu/s_truncf.S b/sysdeps/powerpc/powerpc64/fpu/s_truncf.S index 5ea5f3d04a..b8fd050319 100644 --- a/sysdeps/powerpc/powerpc64/fpu/s_truncf.S +++ b/sysdeps/powerpc/powerpc64/fpu/s_truncf.S @@ -19,8 +19,10 @@ #include .section ".toc","aw" + .p2align 3 .LC0: /* 2**23 */ - .tc FD_4b000000_0[TC],0x4b00000000000000 + .long 0x4b000000 + .long 0x0 .section ".text" /* float [fp1] truncf (float x [fp1]) -- cgit v1.2.3