diff options
author | Kwok Cheung Yeung <kcy@codesourcery.com> | 2022-12-02 23:00:11 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2022-12-16 20:18:14 +0300 |
commit | 125e39bfea1a39341a60348c93a65cf4894e0f2a (patch) | |
tree | 1f96cbfd9b4079cd8bec9f9ee837fade1585ab30 /newlib/libm/Makefile.inc | |
parent | 8fdc201ec3a3c32f724d06f2859b700f95dced86 (diff) |
amdgcn: Add vectorized math routines
This implements a set of vectorized math routines to be used by the
compiler auto-vectorizer. Versions for vectors with 2 lanes up to
64 lanes (in powers of 2) are provided.
These routines are based on the scalar versions of the math routines in
libm/common, libm/math and libm/mathfp. They make extensive use of the GCC
C vector extensions and GCN-specific builtins in GCC.
Diffstat (limited to 'newlib/libm/Makefile.inc')
-rw-r--r-- | newlib/libm/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libm/Makefile.inc b/newlib/libm/Makefile.inc index 7fda120e5..9d1469555 100644 --- a/newlib/libm/Makefile.inc +++ b/newlib/libm/Makefile.inc @@ -51,6 +51,9 @@ include %D%/test/Makefile.inc if HAVE_LIBM_MACHINE_AARCH64 include %D%/machine/aarch64/Makefile.inc endif +if HAVE_LIBM_MACHINE_AMDGCN +include %D%/machine/amdgcn/Makefile.inc +endif if HAVE_LIBM_MACHINE_ARM include %D%/machine/arm/Makefile.inc endif |