about summary refs log tree commit diff
path: root/sysdeps/aarch64/fpu/Makefile
diff options
context:
space:
mode:
authorJoe Ramsay <Joe.Ramsay@arm.com>2023-06-28 12:19:37 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2023-06-30 09:04:16 +0100
commit3bb1af20513b8b70b8d404c71fb0956f00f8bf6b (patch)
tree1043f476abc9d2587a2d2ee8f1dabd06b104162a /sysdeps/aarch64/fpu/Makefile
parentaed39a3aa3ea68b14dce3395fb14b1416541e6c6 (diff)
downloadglibc-3bb1af20513b8b70b8d404c71fb0956f00f8bf6b.tar.gz
glibc-3bb1af20513b8b70b8d404c71fb0956f00f8bf6b.tar.xz
glibc-3bb1af20513b8b70b8d404c71fb0956f00f8bf6b.zip
aarch64: Add vector implementations of sin routines
Optimised implementations for single and double precision, Advanced
SIMD and SVE, copied from Arm Optimized Routines.

As previously, data tables are used via a barrier to prevent
overly aggressive constant inlining. Special-case handlers are
marked NOINLINE to avoid incurring the penalty of switching call
standards unnecessarily.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Diffstat (limited to 'sysdeps/aarch64/fpu/Makefile')
-rw-r--r--sysdeps/aarch64/fpu/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/aarch64/fpu/Makefile b/sysdeps/aarch64/fpu/Makefile
index 850cfb9012..9ceea35148 100644
--- a/sysdeps/aarch64/fpu/Makefile
+++ b/sysdeps/aarch64/fpu/Makefile
@@ -1,10 +1,10 @@
-float-advsimd-funcs = cos
+libmvec-supported-funcs = cos \
+                          sin
 
-double-advsimd-funcs = cos
-
-float-sve-funcs = cos
-
-double-sve-funcs = cos
+float-advsimd-funcs = $(libmvec-supported-funcs)
+double-advsimd-funcs = $(libmvec-supported-funcs)
+float-sve-funcs = $(libmvec-supported-funcs)
+double-sve-funcs = $(libmvec-supported-funcs)
 
 ifeq ($(subdir),mathvec)
 libmvec-support = $(addsuffix f_advsimd,$(float-advsimd-funcs)) \