]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Add sifive-x280 to -mcpu
authorKito Cheng <kito.cheng@sifive.com>
Mon, 4 Dec 2023 06:17:52 +0000 (14:17 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Mon, 4 Dec 2023 06:38:10 +0000 (14:38 +0800)
commitba94969bad24d57895b02cc2d4663462f8fb5bc5
treeedb660dfc7c9cd5017933984592ac68c0b93c546
parent9e12010b5e724277ea44c300630802f464407d8d
RISC-V: Add sifive-x280 to -mcpu

x280 is one of SiFive core, and it release for a while, also
upstream LLVM already support that.

[1] https://www.sifive.com/cores/intelligence-x280

gcc/ChangeLog:

* config/riscv/riscv-cores.def: Add sifive-x280.
* doc/invoke.texi (RISC-V Options): Add sifive-x280

gcc/testsuite/ChangeLog:

* gcc.target/riscv/mcpu-sifive-x280.c: New test.
gcc/config/riscv/riscv-cores.def
gcc/doc/invoke.texi
gcc/testsuite/gcc.target/riscv/mcpu-sifive-x280.c [new file with mode: 0644]