summary refs log tree commit diff
path: root/sysdeps/libm-i387/i686/s_fdimf.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/i686/s_fdimf.S')
-rw-r--r--sysdeps/libm-i387/i686/s_fdimf.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/libm-i387/i686/s_fdimf.S b/sysdeps/libm-i387/i686/s_fdimf.S
index 8b5cec6a3b..1bcaf0012e 100644
--- a/sysdeps/libm-i387/i686/s_fdimf.S
+++ b/sysdeps/libm-i387/i686/s_fdimf.S
@@ -28,7 +28,7 @@ ENTRY(__fdimf)
 	fucomi	%st(1), %st
 	jp	1f
 
-	fsubp	%st(1), %st
+	fsubrp	%st, %st(1)
 	fldz
 	fcomi	%st(1), %st
 	fcmovb	%st(1), %st