Add SiFive cores E20, E21, E24, E34, S21, S54 and S76
gcc: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/riscv/riscv-cores.def#L34
Paths
| Differential D109260
[RISCV] Add SiFive cores E and S series ClosedPublic Authored by apivovarov on Sep 3 2021, 2:20 PM.
Details Summary Add SiFive cores E20, E21, E24, E34, S21, S54 and S76 gcc: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/riscv/riscv-cores.def#L34
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: vkmr, frasercrmck, luismarques and 24 others. · View Herald TranscriptSep 3 2021, 2:20 PM Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 3 2021, 2:20 PM Comment Actions Are you planning to add more CPUs? I think I'd be willing to accept them all as one patch instead of one small patch for each CPU. Comment Actions Another missing combination is:
I can also add several cores which are similar to existing cores:
To match gcc cores definition - https://github.com/gcc-mirror/gcc/blob/master/gcc/config/riscv/riscv-cores.def#L34 apivovarov retitled this revision from [RISCV] Add SiFive core E20 to [RISCV] Add SiFive cores E and S series. Comment ActionsAdded SiFive cores E20, E21, E24, E34, S21, S54 and S76
apivovarov added inline comments.
apivovarov marked an inline comment as done. Comment Actionsmain branch is unstable. pulling the hot fixes again.... This revision is now accepted and ready to land.Sep 8 2021, 10:39 PM Closed by commit rG4bc8dbe0cae3: [RISCV] Add SiFive cores E and S series (authored by apivovarov). · Explain WhySep 8 2021, 11:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 370672 clang/docs/ReleaseNotes.rst
clang/test/Driver/riscv-cpus.c
clang/test/Misc/target-invalid-cpu-note.c
llvm/include/llvm/Support/RISCVTargetParser.def
llvm/lib/Target/RISCV/RISCV.td
|
Why 2 spaces after commas here?