8367048: RISC-V: Correct pipeline descriptions of the architecture

Reviewed-by: fyang, fjiang, mli
This commit is contained in:
Dingli Zhang 2025-09-09 00:38:15 +00:00 committed by Fei Yang
parent 4ec63e8f5d
commit 0aee7bf24d

View File

@ -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 );