]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[RISC-V] Fix ordering of pipeline models
authorJeff Law <jlaw@ventanamicro.com>
Sun, 7 Sep 2025 18:11:55 +0000 (12:11 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Sun, 7 Sep 2025 18:11:55 +0000 (12:11 -0600)
I missed that the new ascalon pipeline description was put into the wrong place
during review.  The net is tests which wanted to use generic-ooo explicitly for
stability in the test output ended up getting  a different pipeline model and
different codegen than the test expected.

This tripped a small number of vsetvl failures in the testsuite.

This has spun on riscv64-elf and riscv32-elf in my tester and fixes the
regression.  I'm going to go ahead and push it as I'm likely offline this
afternoon/evening and don't want anyone else to waste their time chasing the
regression down.

gcc/
* config/riscv/riscv-opts.h (riscv_microarchitecture_type): Fix ordering.

gcc/config/riscv/riscv-opts.h

index 54f89781a55e2cda65a7c908449899a1c6d08b0c..4e4e9d8930e22f54d176a009a89b20f6a62b2ca0 100644 (file)
@@ -57,10 +57,10 @@ enum riscv_microarchitecture_type {
   sifive_7,
   sifive_p400,
   sifive_p600,
-  tt_ascalon_d8,
   xiangshan,
   generic_ooo,
   mips_p8700,
+  tt_ascalon_d8,
 };
 extern enum riscv_microarchitecture_type riscv_microarchitecture;