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 @@ -3833,13 +3833,18 @@ opclass immIorL(immI, immL);
3833
3833
pipeline %{
3834
3834
3835
3835
attributes %{
3836
- // RISC-V instructions are of fixed length
3837
- fixed_size_instructions; // Fixed size instructions TODO does
3838
- max_instructions_per_bundle = 2; // Generic RISC-V 1, Sifive Series 7 2
3839
- // RISC-V instructions come in 32-bit word units
3840
- instruction_unit_size = 4; // An instruction is 4 bytes long
3841
- instruction_fetch_unit_size = 64; // The processor fetches one line
3842
- instruction_fetch_units = 1; // of 64 bytes
3836
+ // RISC-V instructions are of length 2 or 4 bytes.
3837
+ variable_size_instructions;
3838
+ instruction_unit_size = 2;
3839
+
3840
+ // Up to 4 instructions per bundle
3841
+ max_instructions_per_bundle = 4;
3842
+
3843
+ // The RISC-V processor fetches 64 bytes...
3844
+ instruction_fetch_unit_size = 64;
3845
+
3846
+ // ...in one line.
3847
+ instruction_fetch_units = 1;
3843
3848
3844
3849
// List of nop instructions
3845
3850
nops( MachNop );
You can’t perform that action at this time.
0 commit comments