about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/fpu
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-08-17 18:32:18 +0930
committerAlan Modra <amodra@gmail.com>2013-10-04 10:35:54 +0930
commit6a31fe7f9cce72b69fce8fe499a2c6ad492c2311 (patch)
tree6aa4d32d9295f326632da0fddb773360fe3ee5b1 /sysdeps/powerpc/powerpc32/fpu
parent7b88401f3b25325b1381798a0eccb3efe7751fec (diff)
downloadglibc-6a31fe7f9cce72b69fce8fe499a2c6ad492c2311.tar.gz
glibc-6a31fe7f9cce72b69fce8fe499a2c6ad492c2311.tar.xz
glibc-6a31fe7f9cce72b69fce8fe499a2c6ad492c2311.zip
PowerPC floating point little-endian [13 of 15]
http://sourceware.org/ml/libc-alpha/2013-08/msg00088.html

	* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
	constants to usual value for .cst8 section, and remove redundant
	high address load.
	* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
	constant for 0x1p52.  Load little-endian words of double from
	correct stack offsets.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/fpu')
-rw-r--r--sysdeps/powerpc/powerpc32/fpu/s_roundf.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/fpu/s_roundf.S b/sysdeps/powerpc/powerpc32/fpu/s_roundf.S
index 2ed9ca7b40..8cff1563a0 100644
--- a/sysdeps/powerpc/powerpc32/fpu/s_roundf.S
+++ b/sysdeps/powerpc/powerpc32/fpu/s_roundf.S
@@ -19,7 +19,7 @@
 #include <sysdep.h>
 
 	.section	.rodata.cst8,"aM",@progbits,8
-	.align	2
+	.align	3
 .LC0:	/* 2**23 */
 	.long 0x4b000000
 .LC1:	/* 0.5 */
@@ -60,7 +60,6 @@ ENTRY (__roundf )
 #ifdef SHARED
 	lfs	fp10,.LC1-.LC0(r9)
 #else
-	lis	r9,.LC1@ha
 	lfs	fp10,.LC1@l(r9)
 #endif
 	ble-	cr6,.L4