diff options
author | Bert Tenjy <bert.tenjy@gmail.com> | 2020-02-13 11:55:31 -0600 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2020-02-19 17:29:34 -0300 |
commit | 0209f783fe1aff4fb5ab5712c6b5f2cbae0ec217 (patch) | |
tree | 1caeb88aefe8f525605dfb27194e5f614d7d8783 | |
parent | 01d11f7eb989fe95c635fe3fcf76f68985faa9e0 (diff) | |
download | glibc-0209f783fe1aff4fb5ab5712c6b5f2cbae0ec217.tar.gz glibc-0209f783fe1aff4fb5ab5712c6b5f2cbae0ec217.tar.xz glibc-0209f783fe1aff4fb5ab5712c6b5f2cbae0ec217.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.h | 6 |
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 |