From 125e39bfea1a39341a60348c93a65cf4894e0f2a Mon Sep 17 00:00:00 2001 From: Kwok Cheung Yeung Date: Fri, 2 Dec 2022 20:00:11 +0000 Subject: 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. --- newlib/configure.host | 1 + 1 file changed, 1 insertion(+) (limited to 'newlib/configure.host') 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*) -- cgit v1.2.3