From 11e55482f80e5bf7df19f845c2d4faf5a9a6010c Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 4 Feb 2019 13:19:10 +0100 Subject: Primitive implementation of cache instruction. When any variant of cache instruction is detected flush and invalidate whole data cache. Signed-off-by: Pavel Pisa --- qtmips_machine/instruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_machine/instruction.cpp') diff --git a/qtmips_machine/instruction.cpp b/qtmips_machine/instruction.cpp index baae4bc..5743c69 100644 --- a/qtmips_machine/instruction.cpp +++ b/qtmips_machine/instruction.cpp @@ -103,7 +103,7 @@ static const struct InstructionMap instruction_map[] = { IM_UNKNOWN, // 44 IM_UNKNOWN, // 45 {"SWR", IT_I, true, .flags = IMF_MEM}, - IM_UNKNOWN, // 47 + {"CACHE", IT_I, true, .flags = IMF_MEM}, // 47 IM_UNKNOWN, // 48 IM_UNKNOWN, // 49 IM_UNKNOWN, // 50 -- cgit v1.2.3