]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
PPC64: Attach SIMD attribute to cosf, sin, sinf function declarations. tuliom/libmvec
authorBert Tenjy <bert.tenjy@gmail.com>
Thu, 13 Feb 2020 17:55:31 +0000 (11:55 -0600)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Wed, 19 Feb 2020 20:29:34 +0000 (17:29 -0300)
These changes were mistakenly left out of the patches that added SIMD
versions of these functions to libmvec.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
sysdeps/powerpc/bits/math-vector.h

index ce10dc4bb778f953d7c79bac2d4cb08cb760e118..7bcfeaa7ac56bb4cb8c54cef6dcfe1c3629bc18c 100644 (file)
 # ifdef __DECL_SIMD_PPC64
 #  undef __DECL_SIMD_cos
 #  define __DECL_SIMD_cos __DECL_SIMD_PPC64
+#  undef __DECL_SIMD_cosf
+#  define __DECL_SIMD_cosf __DECL_SIMD_PPC64
+#  undef __DECL_SIMD_sin
+#  define __DECL_SIMD_sin __DECL_SIMD_PPC64
+#  undef __DECL_SIMD_sinf
+#  define __DECL_SIMD_sinf __DECL_SIMD_PPC64
 #  undef __DECL_SIMD_log
 #  define __DECL_SIMD_log __DECL_SIMD_PPC64
 #  undef __DECL_SIMD_logf