diff options
author | Anton Blanchard <anton@au1.ibm.com> | 2013-08-17 18:33:02 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-10-04 10:36:24 +0930 |
commit | 76a66d510a3737674563133a420f4fd22da42c1b (patch) | |
tree | 1a652faf37d1ad99fb4e59a921200cc188817daf /sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S | |
parent | 6a31fe7f9cce72b69fce8fe499a2c6ad492c2311 (diff) | |
download | glibc-76a66d510a3737674563133a420f4fd22da42c1b.tar glibc-76a66d510a3737674563133a420f4fd22da42c1b.tar.gz glibc-76a66d510a3737674563133a420f4fd22da42c1b.tar.bz2 glibc-76a66d510a3737674563133a420f4fd22da42c1b.zip |
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.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S b/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S index 876707c766..b1a2b8cd65 100644 --- a/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S +++ b/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S @@ -26,8 +26,10 @@ /* float [fp1] nearbyintf(float [fp1]) */ .section ".toc","aw" + .p2align 3 .LC0: /* 2**23 */ - .tc FD_4b000000_0[TC],0x4b00000000000000 + .long 0x4b000000 + .long 0x0 .section ".text" EALIGN (__nearbyintf, 4, 0) |