summaryrefslogtreecommitdiff
path: root/arch/mips/arch_mips.cpp
diff options
context:
space:
mode:
authornoone <you@example.com>2024-07-31 22:48:31 -0500
committerAlexander Taylor <alex@vector35.com>2024-08-12 15:50:55 -0400
commitc6623fa5f2682f506d2d399d1b12547a195565f7 (patch)
tree3b32dfdadc29fbd870d0f98f472e70e20b7c712a /arch/mips/arch_mips.cpp
parent0b3adba96944076c8b1e4110f1698553bdfc265d (diff)
Add decode, disassembly, IL for TLBINV, TLBINVF
Diffstat (limited to 'arch/mips/arch_mips.cpp')
-rw-r--r--arch/mips/arch_mips.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/mips/arch_mips.cpp b/arch/mips/arch_mips.cpp
index 8d0c70ec..1632b165 100644
--- a/arch/mips/arch_mips.cpp
+++ b/arch/mips/arch_mips.cpp
@@ -979,6 +979,10 @@ public:
return "_readTLB";
case MIPS_INTRIN_TLBSEARCH:
return "_probeTLB";
+ case MIPS_INTRIN_TLBINV:
+ return "_invalidateTLB";
+ case MIPS_INTRIN_TLBINVF:
+ return "_invalidateTLBFlush";
case CNMIPS_INTRIN_SYNCIOBDMA:
return "_synciobdma";
@@ -1043,6 +1047,8 @@ public:
MIPS_INTRIN_TLBSET,
MIPS_INTRIN_TLBGET,
MIPS_INTRIN_TLBSEARCH,
+ MIPS_INTRIN_TLBINV,
+ MIPS_INTRIN_TLBINVF,
CNMIPS_INTRIN_SYNCIOBDMA,
CNMIPS_INTRIN_SYNCS,
@@ -1200,6 +1206,15 @@ public:
return {
NameAndType("match", Type::IntegerType(8, false)),
};
+ case MIPS_INTRIN_TLBINV:
+ return {
+ NameAndType("index", Type::IntegerType(8, false)),
+ NameAndType("match", Type::IntegerType(8, false)),
+ };
+ case MIPS_INTRIN_TLBINVF:
+ return {
+ NameAndType("index", Type::IntegerType(8, false)),
+ };
default:
return vector<NameAndType>();
}