| Issue |
179057
|
| Summary |
[22/23 x86 avx512 Regression] miscompilation of `_mm_mask_fixupimm_ss`
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
mr-c
|
Compiler Explorer with reproducible example, and a diff assembly viewer showing the miscompilation: https://godbolt.org/z/hKWxz6cEz
<img width="1891" height="351" alt="Image" src="" />
Clang 22+ gives
```
../test/x86/avx512/fixupimm.c:32: assertion failed: r[1] ~= simde_mm_loadu_ps[1] (17.730000 ~= nan)
../test/x86/avx512/fixupimm.c:32: assertion failed: r[3] ~= simde_mm_loadu_ps[3] (583.280029 ~= 338.170013)
```
clang 21.1.0 (3623fe661ae35c6c80ac221f14d85be76aa870f1) has the expected results
For local testing, note the `-mavx512f -mavx512vl`
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs