Commit 48abcfb
committed
x86/avx: Workaround for GCC ICE on loongarch64
This works around two similar instances of ICE of GCC 14:
test/x86/avx512/range.cpp: In function ‘int test_simde_mm256_maskz_range_ps()’:
test/x86/avx512/range.cpp:702:1: error: unrecognizable insn:
702 | }
| ^
(insn 191 190 192 2 (set (reg:V8SF 446 [ r_$f32_514 ])
(vec_merge:V8SF (vec_duplicate:V8SF (const_double:SF 0.0 [0x0.0p+0]))
(reg:V8SF 446 [ r_$f32_514 ])
(const_int 1 [0x1]))) "../test/x86/avx512/../../../simde/x86/avx.h":1041:17 -1
(nil))
[...]
The similar workaround is already present in simde_mm256_set_ps.
Link: https://gcc.gnu.org/pipermail/gcc-patches/2026-January/706166.html
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1175751 parent cd7cdf4 commit 48abcfb
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
1031 | 1034 | | |
1032 | 1035 | | |
1033 | 1036 | | |
1034 | 1037 | | |
1035 | 1038 | | |
1036 | 1039 | | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
1040 | 1040 | | |
1041 | 1041 | | |
1042 | 1042 | | |
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1065 | 1068 | | |
1066 | 1069 | | |
1067 | 1070 | | |
| |||
0 commit comments