aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/loongarch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opcode/loongarch.h b/include/opcode/loongarch.h
index fb6f8be68de..3e8a90a2b27 100644
--- a/include/opcode/loongarch.h
+++ b/include/opcode/loongarch.h
@@ -116,6 +116,7 @@ extern "C"
#define LARCH_RD_RJ_A0 0x084
#define LARCH_GET_RD(insn) (insn & 0x1f)
#define LARCH_GET_RJ(insn) ((insn >> 5) & 0x1f)
+ #define LARCH_GET_RK(insn) ((insn >> 10) & 0x1f)
typedef uint32_t insn_t;