public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3878] RISC-V: Fix selection of pipeline model for sifive-7-series
@ 2022-11-10 13:57 Philipp Tomsich
  0 siblings, 0 replies; only message in thread
From: Philipp Tomsich @ 2022-11-10 13:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2f6cb9c51a933de19cd88f4c9180ac9cf5093522

commit r13-3878-g2f6cb9c51a933de19cd88f4c9180ac9cf5093522
Author: Philipp Tomsich <philipp.tomsich@vrull.eu>
Date:   Thu Nov 10 00:43:05 2022 +0100

    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 97d1ed67fc6 ("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.

Diff:
---
 gcc/config/riscv/riscv-cores.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/riscv/riscv-cores.def b/gcc/config/riscv/riscv-cores.def
index b84ad999ac1..31ad34682c5 100644
--- a/gcc/config/riscv/riscv-cores.def
+++ b/gcc/config/riscv/riscv-cores.def
@@ -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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-10 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 13:57 [gcc r13-3878] RISC-V: Fix selection of pipeline model for sifive-7-series Philipp Tomsich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).