about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/fpu
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/fpu')
-rw-r--r--sysdeps/sparc/sparc64/fpu/s_ceil.S4
-rw-r--r--sysdeps/sparc/sparc64/fpu/s_ceilf.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/sparc/sparc64/fpu/s_ceil.S b/sysdeps/sparc/sparc64/fpu/s_ceil.S
index 85d1a3cbd1..0bda19b613 100644
--- a/sysdeps/sparc/sparc64/fpu/s_ceil.S
+++ b/sysdeps/sparc/sparc64/fpu/s_ceil.S
@@ -71,9 +71,9 @@ ENTRY (__ceil)
 	faddd	%f0, %f16, %f18
 	fsubd	%f18, %f16, %f18
 	fcmpd	%fcc2, %f18, %f0
-	stx	%o3, [%fp + STACK_BIAS + 128]
+	stx	%o3, [%sp + STACK_BIAS + 128]
 
-	ldd	[%fp + STACK_BIAS + 128], %f20
+	ldd	[%sp + STACK_BIAS + 128], %f20
 	fmovduge %fcc2, ZERO, %f20
 	faddd	%f18, %f20, %f0
 	fabsd	%f0, %f0
diff --git a/sysdeps/sparc/sparc64/fpu/s_ceilf.S b/sysdeps/sparc/sparc64/fpu/s_ceilf.S
index dd5c2f0c79..bd5f0fb7e1 100644
--- a/sysdeps/sparc/sparc64/fpu/s_ceilf.S
+++ b/sysdeps/sparc/sparc64/fpu/s_ceilf.S
@@ -69,9 +69,9 @@ ENTRY (__ceilf)
 	fadds	%f1, %f16, %f5
 	fsubs	%f5, %f16, %f5
 	fcmps	%fcc2, %f5, %f1
-	st	%o3, [%fp + STACK_BIAS + 128]
+	st	%o3, [%sp + STACK_BIAS + 128]
 
-	ld	[%fp + STACK_BIAS + 128], %f9
+	ld	[%sp + STACK_BIAS + 128], %f9
 	fmovsuge %fcc2, ZERO, %f9
 	fadds	%f5, %f9, %f0
 	fabss	%f0, %f0