AVX512 code generated for i32 array sum is worse than code by clang 5 #48287
Labels
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Demo: https://godbolt.org/g/vqB6oj
I tried this code:
Compiled it with
rustc --crate-type=lib -C opt-level=3 -C target-cpu=skylake-avx512 --emit asm test.rs
I expected to see this happen:
Instead, this happened:
Meta
The text was updated successfully, but these errors were encountered: