Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

AVX512: _mm512_sin_ps and similar intrinsics missing #31276

Open Quuxplusone opened 7 years ago

Quuxplusone commented 7 years ago
Bugzilla Link PR32304
Status REOPENED
Importance P normal
Reported by Sven Woop (mail@sven-woop.de)
Reported on 2017-03-16 03:53:35 -0700
Last modified on 2020-09-19 06:57:37 -0700
Version 4.0
Hardware PC All
CC craig.topper@gmail.com, hfinkel@anl.gov, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, richard-llvm@metafoo.co.uk
Fixed by commit(s)
Attachments sin_cos_exp_etc.tar.gz (494 bytes, application/x-gzip)
sin_cos_exp_etc.tar.gz (503 bytes, application/x-gzip)
Blocks
Blocked by
See also
Created attachment 18106
reproducer

AVX512 versions of sin/cos/exp and similar intrinsics are missing. A reproducer
is attached.
Quuxplusone commented 7 years ago

Attached sin_cos_exp_etc.tar.gz (494 bytes, application/x-gzip): reproducer

Quuxplusone commented 7 years ago

Attached sin_cos_exp_etc.tar.gz (503 bytes, application/x-gzip): new reproducer

Quuxplusone commented 7 years ago

These intrinsics don't correspond to single instructions. They are part of Intel's SVML math library which ships with the Intel compiler.

Neither clang or gcc are likely to ever support these as it would require a math library to be created and released with the compiler.

Quuxplusone commented 7 years ago
(In reply to Craig Topper from comment #2)
> These intrinsics don't correspond to single instructions. They are part of
> Intel's SVML math library which ships with the Intel compiler.
>
> Neither clang or gcc are likely to ever support these as it would require a
> math library to be created and released with the compiler.

FYI: Work on this is ongoing. I expect it to happen in the near future. See,
for example, https://reviews.llvm.org/D24951
Quuxplusone commented 7 years ago

Reopening based on Hal's update. Maybe we can consider this down the road.