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