diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-10-31 07:40:06 -0500 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-10-31 07:40:06 -0500 |
| commit | b12ac8698b60c00f618bbdf3527570ff91b37f49 (patch) | |
| tree | bc4b0fff51b232e1e16604ed972da757fc6de770 | |
| parent | a16b984f06ca52be0785073ee2c21fcae301fff3 (diff) | |
| download | rvcontroller-b12ac8698b60c00f618bbdf3527570ff91b37f49.tar rvcontroller-b12ac8698b60c00f618bbdf3527570ff91b37f49.tar.gz rvcontroller-b12ac8698b60c00f618bbdf3527570ff91b37f49.tar.bz2 rvcontroller-b12ac8698b60c00f618bbdf3527570ff91b37f49.tar.xz rvcontroller-b12ac8698b60c00f618bbdf3527570ff91b37f49.zip | |
Fix jalr detection for Zicfilp
| -rw-r--r-- | rvcontroller.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rvcontroller.lua b/rvcontroller.lua index 1b787da..40978ca 100644 --- a/rvcontroller.lua +++ b/rvcontroller.lua @@ -2782,7 +2782,7 @@ local function checklpe(instruction) return false elseif instruction%4 == 3 then --Uncompressed - local opcode = instruction%0x100 + local opcode = instruction%0x80 local bits = explodebits(instruction,32) if opcode == 0x67 and not (bits[12] or bits[13] or bits[14]) then --jalr |
