From b12ac8698b60c00f618bbdf3527570ff91b37f49 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 31 Oct 2026 07:40:06 -0500 Subject: Fix jalr detection for Zicfilp --- rvcontroller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3