Special-case 64-bit fabs/fabsf inline-function


git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5099 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/crt/math.h b/mingw-w64-headers/crt/math.h
index 0819eb3..7e5a680 100644
--- a/mingw-w64-headers/crt/math.h
+++ b/mingw-w64-headers/crt/math.h
@@ -126,9 +126,13 @@
 #if !defined (__ia64__)
   __CRT_INLINE double __cdecl fabs (double x)
   {
+#ifdef __x86_64__
+    retrun __builtin_fabs (x);
+#else
     double res = 0.0;
     __asm__ __volatile__ ("fabs;" : "=t" (res) : "0" (x));
     return res;
+#endif
   }
 #endif
 #endif
@@ -575,9 +579,13 @@
 #if !defined (__ia64__)
   __CRT_INLINE float __cdecl fabsf (float x)
   {
+#ifdef __x86_64__
+    retrun __builtin_fabsf (x);
+#else
     float res = 0.0F;
     __asm__ __volatile__ ("fabs;" : "=t" (res) : "0" (x));
     return res;
+#endif
   }
 #endif
 #endif