]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / powerpc / powerpc64 / fpu / multiarch / s_llround.c
index 3559ce4934a8699d84a87ef1a9a6e809caf620c1..c6b466c570bce8b3b70e4f682bd8d3118a9633d5 100644 (file)
@@ -1,5 +1,5 @@
 /* Multiple versions of llround.
-   Copyright (C) 2013 Free Software Foundation, Inc.
+   Copyright (C) 2013-2015 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 extern __typeof (__llround) __llround_ppc64 attribute_hidden;
 extern __typeof (__llround) __llround_power5plus attribute_hidden;
 extern __typeof (__llround) __llround_power6x attribute_hidden;
+extern __typeof (__llround) __llround_power8 attribute_hidden;
 
 libc_ifunc (__llround,
-           (hwcap & PPC_FEATURE_POWER6_EXT)
-           ? __llround_power6x :
-             (hwcap & PPC_FEATURE_POWER5_PLUS)
-             ? __llround_power5plus
+           (hwcap2 & PPC_FEATURE2_ARCH_2_07)
+           ? __llround_power8 :
+             (hwcap & PPC_FEATURE_POWER6_EXT)
+             ? __llround_power6x :
+               (hwcap & PPC_FEATURE_POWER5_PLUS)
+               ? __llround_power5plus
             : __llround_ppc64);
 
 weak_alias (__llround, llround)