`_pdep_u64` intrinsic is only available in x86-64 mode
Open
- Dominant language
- C++
- Stars
- 16
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
In GCC source, it is guard by `__BMI2__` and `__x86_64__`, and by design, the 64 bits version PDEP instruction is only available at 64bits mode. So if you build a 32bits library on x86-64 devices (e.g. for Proton), you will get `_pdep_u64` not declared issue.
https://github.com/gcc-mirror/gcc/blob/77d4080e1e5f9d467816e2e2e878edbfbb7ee1c1/gcc/config/i386/bmi2intrin.h#L58-L91
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.