about summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu/s_fmin.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/fpu/s_fmin.S')
-rw-r--r--sysdeps/powerpc/fpu/s_fmin.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/powerpc/fpu/s_fmin.S b/sysdeps/powerpc/fpu/s_fmin.S
index 919ceb113b..384995f847 100644
--- a/sysdeps/powerpc/fpu/s_fmin.S
+++ b/sysdeps/powerpc/fpu/s_fmin.S
@@ -21,13 +21,13 @@
 
 ENTRY(__fmin)
 /* double [f1] fmin (double [f1] x, double [f2] y); */
-	fcmpu	0,1,2
-	bgt	0,0f		/* if x > y, neither x nor y can be NaN... */
-	bnulr+	0
+	fcmpu	cr0,f1,f2
+	bgt	cr0,0f		/* if x > y, neither x nor y can be NaN... */
+	bnulr+	cr0
 /* x and y are unordered, so one of x or y must be a NaN... */
-	fcmpu	1,2,2
-	bunlr	1
-0:	fmr	1,2
+	fcmpu	cr1,f2,f2
+	bunlr	cr1
+0:	fmr	f1,f2
 	blr
 END(__fmin)