RISC-V: Fix selection of pipeline model for sifive-7-series
A few of the gcc.target/riscv/mcpu-*.c tests have been failing for a
while now, due to the pipeline model for sifive-7-series not being
selected despite -mtune=sifive-7-series. The root cause is that the
respective RISCV_TUNE entry points to generic instead. Fix this.
Fixes 97d1ed67fc
("RISC-V: Support --target-help for -mcpu/-mtune")
gcc/ChangeLog:
* config/riscv/riscv-cores.def (RISCV_TUNE): Update
sifive-7-series to point to the sifive_7 pipeline description.
This commit is contained in:
parent
203b127fcc
commit
2f6cb9c51a
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
RISCV_TUNE("rocket", generic, rocket_tune_info)
|
||||
RISCV_TUNE("sifive-3-series", generic, rocket_tune_info)
|
||||
RISCV_TUNE("sifive-5-series", generic, rocket_tune_info)
|
||||
RISCV_TUNE("sifive-7-series", generic, sifive_7_tune_info)
|
||||
RISCV_TUNE("sifive-7-series", sifive_7, sifive_7_tune_info)
|
||||
RISCV_TUNE("thead-c906", generic, thead_c906_tune_info)
|
||||
RISCV_TUNE("size", generic, optimize_size_tune_info)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue