[Bug target/85236] missing _mm256_atan2_ps

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 6 07:49:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85236

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*
          Component|c++                         |target

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
You might want to file this against glibc in case they want to provide
intrinsic headers for libmvec supported functions.  Hopefully _mm256_atan2_ps
isn't in a header provided by GCC ... hmm, ICC seems to have it in immintrin.h:

/suse/matz/bin/2018.1/include/icc/immintrin.h:extern __m256  __ICL_INTRINCC
_mm256_atan2_ps(__m256, __m256);

and also:

/suse/matz/bin/2018.1/include/dvec.h:    friend F32vec8 atan2(const F32vec8 &a,
const F32vec8 &b) { return _mm256_atan2_ps(a, b); }

not sure if we have a way to provide the intrinsic in a reasonable way from
GCC,
doing auto-dispatch to libmvec or alternatively open-coding elementwise?


More information about the Gcc-bugs mailing list