From 0bf72f94c49f34fc550c2d5c2fbab7a95ac72628 Mon Sep 17 00:00:00 2001 From: noone Date: Wed, 31 Jul 2024 19:53:51 -0500 Subject: Add intrinsics for some system instructions Except for SYNCI, I didn't have any test cases for these, but they're fairly simple. --- arch/mips/il.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/mips/il.h') diff --git a/arch/mips/il.h b/arch/mips/il.h index abb3d939..c4ffff75 100644 --- a/arch/mips/il.h +++ b/arch/mips/il.h @@ -22,9 +22,11 @@ enum MipsIntrinsic : uint32_t MIPS_INTRIN_DMTC2, MIPS_INTRIN_DMTC_UNIMPLEMENTED, MIPS_INTRIN_SYNC, + MIPS_INTRIN_SYNCI, MIPS_INTRIN_DI, MIPS_INTRIN_EHB, MIPS_INTRIN_EI, + MIPS_INTRIN_PAUSE, MIPS_INTRIN_WAIT, MIPS_INTRIN_HWR0, MIPS_INTRIN_HWR1, @@ -36,6 +38,7 @@ enum MipsIntrinsic : uint32_t MIPS_INTRIN_LLBIT_CHECK, MIPS_INTRIN_PREFETCH, MIPS_INTRIN_CACHE, + MIPS_INTRIN_SDBBP, // there's no clean way to lift LWL/LWR, SWL/SWR, etc when not // a pair of adjacent instructions, since the number and position -- cgit v1.3.1