aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/riscv/riscv-opts.h
diff options
context:
space:
mode:
authorMonk Chiang <monk.chiang@sifive.com>2024-02-01 11:01:20 +0800
committerKito Cheng <kito.cheng@sifive.com>2024-02-01 20:39:41 +0800
commitec217f7282cd4284cecda1c65a1e04323e6c8354 (patch)
tree7dcc9e840cb02e30d0392bcf54b9df3fa5ef22c3 /gcc/config/riscv/riscv-opts.h
parent5c18df44fd1387653595869c9145c63fffb8cfac (diff)
downloadgcc-ec217f7282cd4284cecda1c65a1e04323e6c8354.zip
gcc-ec217f7282cd4284cecda1c65a1e04323e6c8354.tar.gz
gcc-ec217f7282cd4284cecda1c65a1e04323e6c8354.tar.bz2
RISC-V: Support scheduling for sifive p600 series
Add sifive p600 series scheduler module. For more information see https://www.sifive.com/cores/performance-p650-670. Add sifive-p650, sifive-p670 for mcpu option will come in separate patches. gcc/ChangeLog: * config/riscv/riscv.md: Add "fcvt_i2f", "fcvt_f2i" type attribute, and include sifive-p600.md. * config/riscv/generic-ooo.md: Update type attribute. * config/riscv/generic.md: Update type attribute. * config/riscv/sifive-7.md: Update type attribute. * config/riscv/sifive-p600.md: New file. * config/riscv/riscv-cores.def (RISCV_TUNE): Add parameter. * config/riscv/riscv-opts.h (enum riscv_microarchitecture_type): Add sifive_p600. * config/riscv/riscv.cc (sifive_p600_tune_info): New. * config/riscv/riscv.h (TARGET_SFB_ALU): Update. * doc/invoke.texi (RISC-V Options): Add sifive-p600-series
Diffstat (limited to 'gcc/config/riscv/riscv-opts.h')
-rw-r--r--gcc/config/riscv/riscv-opts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/riscv/riscv-opts.h b/gcc/config/riscv/riscv-opts.h
index 1500f88..2595166 100644
--- a/gcc/config/riscv/riscv-opts.h
+++ b/gcc/config/riscv/riscv-opts.h
@@ -55,6 +55,7 @@ extern enum riscv_isa_spec_class riscv_isa_spec;
enum riscv_microarchitecture_type {
generic,
sifive_7,
+ sifive_p600,
generic_ooo
};
extern enum riscv_microarchitecture_type riscv_microarchitecture;