Skip to content

Commit

Permalink
[processor_check] minor edit
Browse files Browse the repository at this point in the history
give illegal branch instruction a larger branch offset
  • Loading branch information
stnolting committed Oct 31, 2023
1 parent 74f1a5f commit bb8ad6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/example/processor_check/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ int main() {
asm volatile (".word 0x7b200073"); // dret outside of debug mode
asm volatile (".word 0x7b300073"); // illegal system funct12
asm volatile (".word 0xfe000033"); // illegal add funct7
asm volatile (".word 0x00002063"); // illegal branch funct3
asm volatile (".word 0x80002063"); // illegal branch funct3
asm volatile (".word 0x0000200f"); // illegal fence funct3
asm volatile (".word 0xfe002fe3"); // illegal store funct3
asm volatile (".align 4");
Expand Down

0 comments on commit bb8ad6c

Please sign in to comment.