summary refs log tree commit diff
path: root/sysdeps/libm-i387
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387')
-rw-r--r--sysdeps/libm-i387/s_fma.S5
-rw-r--r--sysdeps/libm-i387/s_fmaf.S3
2 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/libm-i387/s_fma.S b/sysdeps/libm-i387/s_fma.S
index b472c70a0d..2affafcbf5 100644
--- a/sysdeps/libm-i387/s_fma.S
+++ b/sysdeps/libm-i387/s_fma.S
@@ -1,5 +1,5 @@
 /* Compute (X * Y) + Z as ternary operation.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -23,8 +23,7 @@
 	.text
 ENTRY(__fma)
 	fldl	4(%esp)		// x
-	fldl	12(%esp)	// x : y
-	fmulp			// x * y
+	fmull	12(%esp)	// x * y
 	fldl	20(%esp)	// z : x * y
 	faddp			// (x * y) + z
 	ret
diff --git a/sysdeps/libm-i387/s_fmaf.S b/sysdeps/libm-i387/s_fmaf.S
index 17939a819c..03c6cc0f9e 100644
--- a/sysdeps/libm-i387/s_fmaf.S
+++ b/sysdeps/libm-i387/s_fmaf.S
@@ -23,8 +23,7 @@
 	.text
 ENTRY(__fmaf)
 	flds	4(%esp)		// x
-	flds	8(%esp)		// x : y
-	fmulp			// x * y
+	fmuls	8(%esp)		// x * y
 	flds	12(%esp)	// z : x * y
 	faddp			// (x * y) + z
 	ret