GCN: Enable effective-target 'vect_hw_misalign'
... as made apparent by commit4e1fcf44bd
"testsuite: vect: Require vect_hw_misalign in gcc.dg/vect/vect-cost-model-1.c etc. [PR98238]" causing: PASS: gcc.dg/vect/vect-cost-model-1.c (test for excess errors) -PASS: gcc.dg/vect/vect-cost-model-1.c scan-tree-dump vect "LOOP VECTORIZED" PASS: gcc.dg/vect/vect-cost-model-3.c (test for excess errors) -PASS: gcc.dg/vect/vect-cost-model-3.c scan-tree-dump vect "LOOP VECTORIZED" PASS: gcc.dg/vect/vect-cost-model-5.c (test for excess errors) -PASS: gcc.dg/vect/vect-cost-model-5.c scan-tree-dump vect "LOOP VECTORIZED" ..., and similarly commitffd47fb63d
"testsuite: Fix pr113431.c FAIL on sparc* [PR113431]" causing: PASS: gcc.dg/vect/pr113431.c (test for excess errors) PASS: gcc.dg/vect/pr113431.c execution test -PASS: gcc.dg/vect/pr113431.c scan-tree-dump-times slp1 "optimized: basic block part vectorized" 2 ..., which this commit all restores, and also enables a good number of further FAIL -> PASS, UNSUPPORTED -> PASS, etc. progressions. There are also a small number of regressions, mostly in the SLP area apparently: PASS: gcc.dg/vect/bb-slp-layout-12.c (test for excess errors) +XPASS: gcc.dg/vect/bb-slp-layout-12.c scan-tree-dump-not slp1 "duplicating permutation node" +XFAIL: gcc.dg/vect/bb-slp-layout-12.c scan-tree-dump-times slp1 "add new stmt: [^\\n\\r]* = VEC_PERM_EXPR" 3 PASS: gcc.dg/vect/bb-slp-layout-6.c (test for excess errors) +FAIL: gcc.dg/vect/bb-slp-layout-6.c scan-tree-dump slp2 "absorbing input layouts" PASS: gcc.dg/vect/pr97428.c (test for excess errors) PASS: gcc.dg/vect/pr97428.c scan-tree-dump vect "Detected interleaving load of size 8" PASS: gcc.dg/vect/pr97428.c scan-tree-dump vect "Detected interleaving store of size 16" PASS: gcc.dg/vect/pr97428.c scan-tree-dump-not vect "gap of 6 elements" -XFAIL: gcc.dg/vect/pr97428.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 +FAIL: gcc.dg/vect/pr97428.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2 PASS: gcc.dg/vect/vect-33.c (test for excess errors) +FAIL: gcc.dg/vect/vect-33.c scan-tree-dump vect "Vectorizing an unaligned access" PASS: gcc.dg/vect/vect-33.c scan-tree-dump-not optimized "Invalid sum" PASS: gcc.dg/vect/vect-33.c scan-tree-dump-times vect "vectorized 1 loops" 1 ..., so some further conditionalizing etc. seems necessary. These seem to mostly appear next to pre-existing similar FAILs in related test cases. (Overall, way more PASS than FAIL.) gcc/testsuite/ * lib/target-supports.exp (check_effective_target_vect_hw_misalign): Enable for GCN. (check_effective_target_vect_element_align): Adjust.
This commit is contained in:
parent
ec8e3dbdc3
commit
7cc68c4863
1 changed files with 3 additions and 3 deletions
|
@ -8312,7 +8312,8 @@ proc check_effective_target_vect_hw_misalign { } {
|
|||
|| ([istarget s390*-*-*]
|
||||
&& [check_effective_target_s390_vx])
|
||||
|| ([istarget riscv*-*-*])
|
||||
|| ([istarget loongarch*-*-*]) } {
|
||||
|| ([istarget loongarch*-*-*])
|
||||
|| [istarget amdgcn*-*-*] } {
|
||||
return 1
|
||||
}
|
||||
if { [istarget arm*-*-*]
|
||||
|
@ -8876,8 +8877,7 @@ proc check_effective_target_vect_element_align { } {
|
|||
return [check_cached_effective_target_indexed vect_element_align {
|
||||
expr { ([istarget arm*-*-*]
|
||||
&& ![check_effective_target_arm_vect_no_misalign])
|
||||
|| [check_effective_target_vect_hw_misalign]
|
||||
|| [istarget amdgcn-*-*] }}]
|
||||
|| [check_effective_target_vect_hw_misalign] }}]
|
||||
}
|
||||
|
||||
# Return 1 if we expect to see unaligned accesses in at least some
|
||||
|
|
Loading…
Add table
Reference in a new issue