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