From 0209f783fe1aff4fb5ab5712c6b5f2cbae0ec217 Mon Sep 17 00:00:00 2001 From: Bert Tenjy Date: Thu, 13 Feb 2020 11:55:31 -0600 Subject: PPC64: Attach SIMD attribute to cosf, sin, sinf function declarations. 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 --- sysdeps/powerpc/bits/math-vector.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit 1.4.1