|
|
5de29b |
# commit 76a66d510a3737674563133a420f4fd22da42c1b
|
|
|
5de29b |
# Author: Anton Blanchard <anton@au1.ibm.com>
|
|
|
5de29b |
# Date: Sat Aug 17 18:33:02 2013 +0930
|
|
|
5de29b |
#
|
|
|
5de29b |
# PowerPC floating point little-endian [14 of 15]
|
|
|
5de29b |
# http://sourceware.org/ml/libc-alpha/2013-07/msg00205.html
|
|
|
5de29b |
#
|
|
|
5de29b |
# These all wrongly specified float constants in a 64-bit word.
|
|
|
5de29b |
#
|
|
|
5de29b |
# * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
|
|
|
5de29b |
# for little-endian.
|
|
|
5de29b |
# * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
|
|
|
5de29b |
# * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
|
|
|
5de29b |
# * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
|
|
|
5de29b |
# * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
|
|
|
5de29b |
# * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
|
|
|
5de29b |
#
|
|
|
12745e |
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S
|
|
|
12745e |
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S 2014-05-27 22:52:12.000000000 -0500
|
|
|
12745e |
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S 2014-05-27 22:52:18.000000000 -0500
|
|
|
5de29b |
@@ -19,8 +19,10 @@
|
|
|
5de29b |
#include <sysdep.h>
|
|
|
5de29b |
|
|
|
5de29b |
.section ".toc","aw"
|
|
|
5de29b |
+ .p2align 3
|
|
|
5de29b |
.LC0: /* 2**23 */
|
|
|
5de29b |
- .tc FD_4b000000_0[TC],0x4b00000000000000
|
|
|
5de29b |
+ .long 0x4b000000
|
|
|
5de29b |
+ .long 0x0
|
|
|
5de29b |
.section ".text"
|
|
|
5de29b |
|
|
|
5de29b |
EALIGN (__ceilf, 4, 0)
|
|
|
12745e |
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_floorf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_floorf.S
|
|
|
12745e |
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_floorf.S 2014-05-27 22:52:12.000000000 -0500
|
|
|
12745e |
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_floorf.S 2014-05-27 22:52:18.000000000 -0500
|
|
|
5de29b |
@@ -19,8 +19,10 @@
|
|
|
5de29b |
#include <sysdep.h>
|
|
|
5de29b |
|
|
|
5de29b |
.section ".toc","aw"
|
|
|
5de29b |
+ .p2align 3
|
|
|
5de29b |
.LC0: /* 2**23 */
|
|
|
5de29b |
- .tc FD_4b000000_0[TC],0x4b00000000000000
|
|
|
5de29b |
+ .long 0x4b000000
|
|
|
5de29b |
+ .long 0x0
|
|
|
5de29b |
.section ".text"
|
|
|
5de29b |
|
|
|
5de29b |
EALIGN (__floorf, 4, 0)
|
|
|
12745e |
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S
|
|
|
12745e |
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S 2014-05-27 22:52:12.000000000 -0500
|
|
|
12745e |
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S 2014-05-27 22:52:18.000000000 -0500
|
|
|
5de29b |
@@ -26,8 +26,10 @@
|
|
|
5de29b |
/* float [fp1] nearbyintf(float [fp1]) */
|
|
|
5de29b |
|
|
|
5de29b |
.section ".toc","aw"
|
|
|
5de29b |
+ .p2align 3
|
|
|
5de29b |
.LC0: /* 2**23 */
|
|
|
5de29b |
- .tc FD_4b000000_0[TC],0x4b00000000000000
|
|
|
5de29b |
+ .long 0x4b000000
|
|
|
5de29b |
+ .long 0x0
|
|
|
5de29b |
.section ".text"
|
|
|
5de29b |
|
|
|
5de29b |
EALIGN (__nearbyintf, 4, 0)
|
|
|
12745e |
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_rintf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_rintf.S
|
|
|
12745e |
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_rintf.S 2014-05-27 22:52:12.000000000 -0500
|
|
|
12745e |
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_rintf.S 2014-05-27 22:52:18.000000000 -0500
|
|
|
5de29b |
@@ -19,8 +19,10 @@
|
|
|
5de29b |
#include <sysdep.h>
|
|
|
5de29b |
|
|
|
5de29b |
.section ".toc","aw"
|
|
|
5de29b |
+ .p2align 3
|
|
|
5de29b |
.LC0: /* 2**23 */
|
|
|
5de29b |
- .tc FD_4b000000_0[TC],0x4b00000000000000
|
|
|
5de29b |
+ .long 0x4b000000
|
|
|
5de29b |
+ .long 0x0
|
|
|
5de29b |
.section ".text"
|
|
|
5de29b |
|
|
|
5de29b |
EALIGN (__rintf, 4, 0)
|
|
|
12745e |
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_roundf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_roundf.S
|
|
|
12745e |
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_roundf.S 2014-05-27 22:52:12.000000000 -0500
|
|
|
12745e |
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_roundf.S 2014-05-27 22:52:18.000000000 -0500
|
|
|
5de29b |
@@ -19,10 +19,12 @@
|
|
|
5de29b |
#include <sysdep.h>
|
|
|
5de29b |
|
|
|
5de29b |
.section ".toc","aw"
|
|
|
5de29b |
+ .p2align 3
|
|
|
5de29b |
.LC0: /* 2**23 */
|
|
|
5de29b |
- .tc FD_4b000000_0[TC],0x4b00000000000000
|
|
|
5de29b |
+ .long 0x4b000000
|
|
|
5de29b |
.LC1: /* 0.5 */
|
|
|
5de29b |
- .tc FD_3f000000_0[TC],0x3f00000000000000
|
|
|
5de29b |
+ .long 0x3f000000
|
|
|
5de29b |
+
|
|
|
5de29b |
.section ".text"
|
|
|
5de29b |
|
|
|
5de29b |
/* float [fp1] roundf (float x [fp1])
|
|
|
12745e |
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_truncf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_truncf.S
|
|
|
12745e |
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_truncf.S 2014-05-27 22:52:12.000000000 -0500
|
|
|
12745e |
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_truncf.S 2014-05-27 22:52:18.000000000 -0500
|
|
|
5de29b |
@@ -19,8 +19,10 @@
|
|
|
5de29b |
#include <sysdep.h>
|
|
|
5de29b |
|
|
|
5de29b |
.section ".toc","aw"
|
|
|
5de29b |
+ .p2align 3
|
|
|
5de29b |
.LC0: /* 2**23 */
|
|
|
5de29b |
- .tc FD_4b000000_0[TC],0x4b00000000000000
|
|
|
5de29b |
+ .long 0x4b000000
|
|
|
5de29b |
+ .long 0x0
|
|
|
5de29b |
.section ".text"
|
|
|
5de29b |
|
|
|
5de29b |
/* float [fp1] truncf (float x [fp1])
|