]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V Regression: Remove scalable compile option
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Mon, 20 Nov 2023 10:39:10 +0000 (18:39 +0800)
committerLehua Ding <lehua.ding@rivai.ai>
Mon, 20 Nov 2023 11:20:39 +0000 (19:20 +0800)
Since we already set scalable vectorization by default, this flag is redundant.

Also, we are start to full coverage testing with different compile option.
E.g --param=riscv-autovec-preference=fixed-vlmax.
To avoid compile option confusion. Remove it.

gcc/testsuite/ChangeLog:

* lib/target-supports.exp: Remove scalable compile option.

gcc/testsuite/lib/target-supports.exp

index 4b647d6a88e1497e19025e3498346f8ff43b8861..f3cd0311e2741d3a559a4c81069bbe4a227ef446 100644 (file)
@@ -11564,7 +11564,6 @@ proc check_vect_support_and_set_flags { } {
         set dg-do-what-default run
     } elseif [istarget riscv64-*-*] {
        if [check_effective_target_riscv_vector_hw] {
-           lappend DEFAULT_VECTCFLAGS "--param" "riscv-autovec-preference=scalable"
            lappend DEFAULT_VECTCFLAGS "--param" "riscv-vector-abi"
            set dg-do-what-default run
        } else {