llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.65k stars 11.84k forks source link

AVX512: _mm512_sin_ps and similar intrinsics missing #31651

Open svenwoop opened 7 years ago

svenwoop commented 7 years ago
Bugzilla Link 32304
Version 4.0
OS All
Attachments reproducer, new reproducer
CC @topperc,@hfinkel,@RKSimon,@zygoloid

Extended Description

AVX512 versions of sin/cos/exp and similar intrinsics are missing. A reproducer is attached.

topperc commented 7 years ago

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

hfinkel 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.

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

topperc 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.