From fa36182bda38159b39905aa93a47563ab20737b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 22 Oct 2011 19:53:33 -0400 Subject: Improve DLA_FMA for FMA4 --- sysdeps/ieee754/dbl-64/dla.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/ieee754/dbl-64/dla.h b/sysdeps/ieee754/dbl-64/dla.h index 9f095f9bf5..0ca87620cb 100644 --- a/sysdeps/ieee754/dbl-64/dla.h +++ b/sysdeps/ieee754/dbl-64/dla.h @@ -40,8 +40,8 @@ # ifdef __FMA4__ # define DLA_FMA(x,y,z) \ ({ double __zz; \ - asm ("vfmaddsd %3, %2, %1, %0" \ - : "=x" (__zz) : "x" (x), "xm" (y), "x" (-z)); \ + asm ("vfmsubsd %3, %2, %1, %0" \ + : "=x" (__zz) : "x" (x), "xm" (y), "x" (z)); \ __zz; }) # endif #endif -- cgit 1.4.1