mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-03 18:25:30 +00:00
8367048: RISC-V: Correct pipeline descriptions of the architecture
Reviewed-by: fyang, fjiang, mli
This commit is contained in:
parent
4ec63e8f5d
commit
0aee7bf24d
@ -3833,13 +3833,18 @@ opclass immIorL(immI, immL);
|
||||
pipeline %{
|
||||
|
||||
attributes %{
|
||||
// RISC-V instructions are of fixed length
|
||||
fixed_size_instructions; // Fixed size instructions TODO does
|
||||
max_instructions_per_bundle = 2; // Generic RISC-V 1, Sifive Series 7 2
|
||||
// RISC-V instructions come in 32-bit word units
|
||||
instruction_unit_size = 4; // An instruction is 4 bytes long
|
||||
instruction_fetch_unit_size = 64; // The processor fetches one line
|
||||
instruction_fetch_units = 1; // of 64 bytes
|
||||
// RISC-V instructions are of length 2 or 4 bytes.
|
||||
variable_size_instructions;
|
||||
instruction_unit_size = 2;
|
||||
|
||||
// Up to 4 instructions per bundle
|
||||
max_instructions_per_bundle = 4;
|
||||
|
||||
// The RISC-V processor fetches 64 bytes...
|
||||
instruction_fetch_unit_size = 64;
|
||||
|
||||
// ...in one line.
|
||||
instruction_fetch_units = 1;
|
||||
|
||||
// List of nop instructions
|
||||
nops( MachNop );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user