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-10-05 17:10:50 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2023-10-23 15:00:45 +0100
commita8e3ab3074d448ff3e58ac8f850d955dfed830ad (patch)
treed5ce7009fed7e726fcf84b4d8b9b32b564aa90b1 /sysdeps/aarch64/fpu/Makefile
parentb39e9db5e305365db0c347fd308b7c0d86e3507b (diff)
downloadglibc-a8e3ab3074d448ff3e58ac8f850d955dfed830ad.tar.gz
glibc-a8e3ab3074d448ff3e58ac8f850d955dfed830ad.tar.xz
glibc-a8e3ab3074d448ff3e58ac8f850d955dfed830ad.zip
aarch64: Add vector implementations of log2 routines
A table is also added, which is shared between AdvSIMD and SVE log2.
Diffstat (limited to 'sysdeps/aarch64/fpu/Makefile')
-rw-r--r--sysdeps/aarch64/fpu/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/aarch64/fpu/Makefile b/sysdeps/aarch64/fpu/Makefile
index 9c7c768301..c3f204ff0d 100644
--- a/sysdeps/aarch64/fpu/Makefile
+++ b/sysdeps/aarch64/fpu/Makefile
@@ -2,6 +2,7 @@ libmvec-supported-funcs = cos \
                           exp \
                           exp2 \
                           log \
+                          log2 \
                           sin \
                           tan
 
@@ -16,7 +17,8 @@ libmvec-support = $(addsuffix f_advsimd,$(float-advsimd-funcs)) \
                   $(addsuffix f_sve,$(float-sve-funcs)) \
                   $(addsuffix _sve,$(double-sve-funcs)) \
                   v_log_data \
-                  v_exp_data
+                  v_exp_data \
+                  v_log2_data
 endif
 
 sve-cflags = -march=armv8-a+sve