• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#ifndef PROC_ALIAS
2#define PROC_ALIAS(NAME, RV32, RV64)
3#endif
4
5PROC_ALIAS("generic", "generic-rv32", "generic-rv64")
6PROC_ALIAS("rocket", "rocket-rv32", "rocket-rv64")
7PROC_ALIAS("sifive-7-series", "sifive-7-rv32", "sifive-7-rv64")
8
9#undef PROC_ALIAS
10
11#ifndef PROC
12#define PROC(ENUM, NAME, FEATURES, DEFAULT_MARCH)
13#endif
14
15PROC(INVALID, {"invalid"}, FK_INVALID, {""})
16PROC(GENERIC_RV32, {"generic-rv32"}, FK_NONE, {""})
17PROC(GENERIC_RV64, {"generic-rv64"}, FK_64BIT, {""})
18PROC(ROCKET_RV32, {"rocket-rv32"}, FK_NONE, {""})
19PROC(ROCKET_RV64, {"rocket-rv64"}, FK_64BIT, {""})
20PROC(SIFIVE_732, {"sifive-7-rv32"}, FK_NONE, {""})
21PROC(SIFIVE_764, {"sifive-7-rv64"}, FK_64BIT, {""})
22PROC(SIFIVE_E31, {"sifive-e31"}, FK_NONE, {"rv32imac"})
23PROC(SIFIVE_U54, {"sifive-u54"}, FK_64BIT, {"rv64gc"})
24PROC(SIFIVE_E76, {"sifive-e76"}, FK_NONE, {"rv32imafc"})
25PROC(SIFIVE_U74, {"sifive-u74"}, FK_64BIT, {"rv64gc"})
26
27#undef PROC
28