glibc/sysdeps/aarch64/fpu
Joe Ramsay cd94326a13 Enable libmvec support for AArch64
This patch enables libmvec on AArch64. The proposed change is mainly
implementing build infrastructure to add the new routines to ABI,
tests and benchmarks. I have demonstrated how this all fits together
by adding implementations for vector cos, in both single and double
precision, targeting both Advanced SIMD and SVE.

The implementations of the routines themselves are just loops over the
scalar routine from libm for now, as we are more concerned with
getting the plumbing right at this point. We plan to contribute vector
routines from the Arm Optimized Routines repo that are compliant with
requirements described in the libmvec wiki.

Building libmvec requires minimum GCC 10 for SVE ACLE. To avoid raising
the minimum GCC by such a big jump, we allow users to disable libmvec
if their compiler is too old.

Note that at this point users have to manually call the vector math
functions. This seems to be acceptable to some downstream users.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
2023-05-03 12:09:49 +01:00
..
bits Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
scripts Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
advsimd_utils.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
bench-libmvec-arch.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
cos_advsimd.c Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
cos_sve.c Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
cosf_advsimd.c Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
cosf_sve.c Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
fclrexcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fedisblxcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
feenablxcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fegetenv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fegetexcept.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fegetmode.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fegetround.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
feholdexcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fenv_private.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fesetenv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fesetexcept.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fesetmode.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fesetround.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
feupdateenv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fgetexcptflg.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fpu_control.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fraiseexcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fsetexcptflg.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ftestexcept.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
get-rounding-mode.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Makefile Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
math_private.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
math-barriers.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
math-tests-arch.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
math-use-builtins-ceil.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-floor.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-fma.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-fmax.h aarch64: Add math-use-builtins-f{max,min}.h 2021-12-13 10:08:46 -03:00
math-use-builtins-fmin.h aarch64: Add math-use-builtins-f{max,min}.h 2021-12-13 10:08:46 -03:00
math-use-builtins-nearbyint.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-rint.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-round.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-sqrt.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-trunc.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
s_llrint.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_llrintf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_llround.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_llroundf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_lrint.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_lrintf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_lround.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_lroundf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_roundeven.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_roundevenf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sve_utils.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-double-advsimd-wrappers.c Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-double-advsimd.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-double-sve-wrappers.c Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-double-sve.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-float-advsimd-wrappers.c Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-float-advsimd.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-float-sve-wrappers.c Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-float-sve.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
test-vpcs-vector-wrapper.h Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00
Versions Enable libmvec support for AArch64 2023-05-03 12:09:49 +01:00