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/configure.host | |
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/configure.host')
-rw-r--r-- | newlib/configure.host | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 32d1436ba..7157877ff 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -119,6 +119,7 @@ case "${host_cpu}" in amdgcn*) newlib_cflags="${newlib_cflags} -D__DYNAMIC_REENT__" machine_dir=amdgcn + libm_machine_dir=amdgcn newlib_cv_initfinit_array=yes ;; arc*) |