Commit 8a245cd
committed
[RISCV] Add a generic OOO CPU
We add a generic out-of-order CPU model here just like what GCC
has done.
People may use this model to evaluate some optimizations, and more
importantly, people can use this model as a template to customize
their own CPU model.
The design (units, cycles, ...) of this model is random so don't
take it seriously.1 parent f035351 commit 8a245cd
File tree
6 files changed
+2091
-1
lines changed- llvm
- lib/Target/RISCV
- test/tools/llvm-mca/RISCV/GenericOOO
6 files changed
+2091
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments