File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -3824,13 +3824,18 @@ opclass immIorL(immI, immL);
38243824pipeline %{
38253825
38263826attributes %{
3827- // RISC-V instructions are of fixed length
3828- fixed_size_instructions; // Fixed size instructions TODO does
3829- max_instructions_per_bundle = 2; // Generic RISC-V 1, Sifive Series 7 2
3830- // RISC-V instructions come in 32-bit word units
3831- instruction_unit_size = 4; // An instruction is 4 bytes long
3832- instruction_fetch_unit_size = 64; // The processor fetches one line
3833- instruction_fetch_units = 1; // of 64 bytes
3827+ // RISC-V instructions are of length 2 or 4 bytes.
3828+ variable_size_instructions;
3829+ instruction_unit_size = 2;
3830+
3831+ // Up to 4 instructions per bundle
3832+ max_instructions_per_bundle = 4;
3833+
3834+ // The RISC-V processor fetches 64 bytes...
3835+ instruction_fetch_unit_size = 64;
3836+
3837+ // ...in one line.
3838+ instruction_fetch_units = 1;
38343839
38353840 // List of nop instructions
38363841 nops( MachNop );
You can’t perform that action at this time.
0 commit comments