simd inline failed when using both _bzhi_u32
and _mm512_maskz_loadu_epi32
#121960
Labels
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
llvm-fixed-upstream
Issue expected to be fixed by the next major LLVM upgrade, or backported fixes
O-x86_64
Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)
I tried this code:
I expected to see this happen: Both
bzhi
andvmovdqu32
can be inlined.Instead, this happened:
cargo asm
When using
RUSTFLAGS="-C target-cpu=native"
, it works well.Also, when I replace
_mm512_maskz_loadu_epi32
with_mm512_loadu_epi32
, it works well.cargo asm
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: