]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
GCN: Enable effective-target 'vect_long_long'
authorThomas Schwinge <tschwinge@baylibre.com>
Tue, 16 Apr 2024 12:10:15 +0000 (14:10 +0200)
committerThomas Schwinge <tschwinge@baylibre.com>
Wed, 17 Apr 2024 09:24:05 +0000 (11:24 +0200)
... as made apparent by a number of unexpectedly UNSUPPORTED test cases, which
now all turn into PASS, with just one exception:

    PASS: gcc.dg/vect/vect-early-break_124-pr114403.c (test for excess errors)
    PASS: gcc.dg/vect/vect-early-break_124-pr114403.c execution test
    FAIL: gcc.dg/vect/vect-early-break_124-pr114403.c scan-tree-dump vect "LOOP VECTORIZED"

..., which needs to be looked into, separately.

gcc/testsuite/
* lib/target-supports.exp (check_effective_target_vect_long_long):
Enable for GCN.

gcc/testsuite/lib/target-supports.exp

index edce672c0e21a0e184c8265a4cd1ae3e94397c45..938fff9392cf82bcc2c5bd03657dd93ea7d0a7b9 100644 (file)
@@ -7698,7 +7698,8 @@ proc check_effective_target_vect_long_long { } {
             || ([istarget riscv*-*-*]
                 && [check_effective_target_riscv_v])
             || ([istarget loongarch*-*-*]
-                && [check_effective_target_loongarch_sx])}}]
+                && [check_effective_target_loongarch_sx])
+            || [istarget amdgcn-*-*] }}]
 }