public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [OG12] [committed] amdgcn: Enable SIMD vectorization of math library functions
@ 2022-11-02  0:50 Kwok Cheung Yeung
  2022-11-08 15:14 ` Kwok Cheung Yeung
  2023-01-20 14:16 ` [og12] Fix 'libgomp.c/simd-math-1.c' configuration (was: [OG12] [committed] amdgcn: Enable SIMD vectorization of math library functions) Thomas Schwinge
  0 siblings, 2 replies; 4+ messages in thread
From: Kwok Cheung Yeung @ 2022-11-02  0:50 UTC (permalink / raw)
  To: gcc-patches; +Cc: Catherine Moore, Andrew Stubbs

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-20 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02  0:50 [OG12] [committed] amdgcn: Enable SIMD vectorization of math library functions Kwok Cheung Yeung
2022-11-08 15:14 ` Kwok Cheung Yeung
2023-01-20 14:16 ` [og12] Fix 'libgomp.c/simd-math-1.c' configuration (was: [OG12] [committed] amdgcn: Enable SIMD vectorization of math library functions) Thomas Schwinge
2023-01-20 16:31   ` [og12] Fix 'libgomp.c/simd-math-1.c' configuration, again (was: [og12] Fix 'libgomp.c/simd-math-1.c' configuration (was: [OG12] [committed] amdgcn: Enable SIMD vectorization of math library functions)) Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).