about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBert Tenjy <bert.tenjy@gmail.com>2020-02-13 11:55:31 -0600
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2020-02-19 17:29:34 -0300
commit0209f783fe1aff4fb5ab5712c6b5f2cbae0ec217 (patch)
tree1caeb88aefe8f525605dfb27194e5f614d7d8783
parent01d11f7eb989fe95c635fe3fcf76f68985faa9e0 (diff)
downloadglibc-tuliom/libmvec.tar.gz
glibc-tuliom/libmvec.tar.xz
glibc-tuliom/libmvec.zip
PPC64: Attach SIMD attribute to cosf, sin, sinf function declarations. tuliom/libmvec
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>
-rw-r--r--sysdeps/powerpc/bits/math-vector.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/powerpc/bits/math-vector.h b/sysdeps/powerpc/bits/math-vector.h
index ce10dc4bb7..7bcfeaa7ac 100644
--- a/sysdeps/powerpc/bits/math-vector.h
+++ b/sysdeps/powerpc/bits/math-vector.h
@@ -36,6 +36,12 @@
 # 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