Add illegal instruction to cover corner case in decoder (#2307)

This commit is contained in:
Jalali 2024-07-02 15:40:45 +00:00 committed by GitHub
parent 3874c41320
commit 9ebe42f033
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,8 +24,10 @@ main:
#Cover Illegal funct7 corner case
.4byte 0x5ad8f33
#Cover zext.h with instr[24:20] != 0 in RV32 corner case
#Cover illegal instruction similar to zext.h bitmanip instruction instr[24:20] != 0 in RV32 corner case
.4byte 0x08824ab3
#Cover illegal instruction similar to ctz bitmanip instruction with instr[24:20] != 1 in RV32 corner case
.4byte 0x60971C13
#End of test
j test_pass