]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/s_fmaf.c
Add support for x86-64 fma instruction.
[thirdparty/glibc.git] / math / s_fmaf.c
index caa7f3afe89e920fb660649fb4a3282742bc82ad..357296d70dfb9b49328354e7688ac578c395421b 100644 (file)
@@ -1,5 +1,5 @@
 /* Compute x * y + z as ternary operation.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -25,4 +25,6 @@ __fmaf (float x, float y, float z)
 {
   return (x * y) + z;
 }
+#ifndef __fmaf
 weak_alias (__fmaf, fmaf)
+#endif