Hello
I have committed the following patches onto the devel/omp/gcc-12
development branch:
863579c4e30 amdgcn: Enable SIMD vectorization of math functions
bd9a6106b95 amdgcn: Add SIMD versions of math routines to libgcc
d3a2a1cc424 amdgcn: Add builtins for vector floor/floorf
a3c04a367a9 amdgcn: Fix expansion of builtin for vector fabs operation
These patches implement a vectorized version of most of the C math
library for AMD GCN. These routines will be used when math functions are
used in auto-vectorized code.
Note that -fno-math-errno must be specified on the command line in most
cases before the compiler will consider using these functions.
Vectors smaller than the native 64 element ones are also supported (by
masking off the unused lanes), which can be useful for SLP vectorized code.
Kwok Yeung