]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/alpha/fpu/s_copysignf.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / alpha / fpu / s_copysignf.c
index 2ccd52e0b8006f6f391aa3a794209c2310335532..5b2e8cb5549a023e9be5e1fdbc5b2a47c294a86a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson.
 
@@ -21,8 +21,7 @@
 float
 __copysignf (float x, float y)
 {
-  __asm ("cpys %1, %2, %0" : "=f" (x) : "f" (y), "f" (x));
-  return x;
+  return __builtin_copysignf (x, y);
 }
 
 weak_alias (__copysignf, copysignf)