Re: [PATCH] i386: Add -mveclibabi=aocl [PR56504]

2024-11-13 Thread Filip Kastl
On Wed 2024-11-13 15:18:32, Jan Hubicka wrote: > > - sincos and all functions working with arrays ... Because these > > functions have pointer arguments and that would require a bigger > > rework of ix86_veclibabi_aocl(). Also, I'm not sure if GCC even ever > > generates calls to these funct

Re: [PATCH] i386: Add -mveclibabi=aocl [PR56504]

2024-11-13 Thread Jan Hubicka
> - sincos and all functions working with arrays ... Because these > functions have pointer arguments and that would require a bigger > rework of ix86_veclibabi_aocl(). Also, I'm not sure if GCC even ever > generates calls to these functions. GCC is able to recognize sin and cos calls and tu

Re: [PATCH] i386: Add -mveclibabi=aocl [PR56504]

2024-11-13 Thread Filip Kastl
Hi Honza, Here is the second version of the patch. On Mon 2024-11-11 18:31:47, Jan Hubicka wrote: > > We currently support generating vectorized math calls to the AMD core > > math library (ACML) (-mveclibabi=acml). That library is end-of-life and > > its successor is the math library from AMD O

Re: [PATCH] i386: Add -mveclibabi=aocl [PR56504]

2024-11-12 Thread Richard Biener
On Mon, 11 Nov 2024, Jan Hubicka wrote: > > We currently support generating vectorized math calls to the AMD core > > math library (ACML) (-mveclibabi=acml). That library is end-of-life and > > its successor is the math library from AMD Optimizing CPU Libraries > > (AOCL). > > > > This patch add

Re: [PATCH] i386: Add -mveclibabi=aocl [PR56504]

2024-11-11 Thread Jan Hubicka
> We currently support generating vectorized math calls to the AMD core > math library (ACML) (-mveclibabi=acml). That library is end-of-life and > its successor is the math library from AMD Optimizing CPU Libraries > (AOCL). > > This patch adds support for AOCL (-mveclibabi=aocl). That signific

[PATCH] i386: Add -mveclibabi=aocl [PR56504]

2024-11-11 Thread Filip Kastl
Hi, Bootstrapped and regtested on x86_64 linux. I also tested that all the new calls can be linked with the AOCL LibM library. Ok to push? Thanks, Filip Kastl -- 8< -- We currently support generating vectorized math calls to the AMD core math library (ACML) (-mveclibabi=acml). That library