From: Bert Tenjy Date: Thu, 13 Feb 2020 17:55:31 +0000 (-0600) Subject: PPC64: Attach SIMD attribute to cosf, sin, sinf function declarations. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Ftuliom%2Flibmvec;p=thirdparty%2Fglibc.git 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 --- diff --git a/sysdeps/powerpc/bits/math-vector.h b/sysdeps/powerpc/bits/math-vector.h index ce10dc4bb77..7bcfeaa7ac5 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