From fbcf802fbc32dc7730520402dd44b0667bef2bbd Mon Sep 17 00:00:00 2001 From: merry Date: Wed, 14 Sep 2022 22:18:15 +0100 Subject: A32/T32/A64: Implement Hint instructions (CSDB, SEV, SEVL, WFE, WFI, YIELD) (#3694) * OpCodeTable: Implement Hint instructions (CSDB, SEV, SEVL, WFE, WFI, YIELD) * A64: Remove catch-all Hint instruction * T16: Handle unallocated hint instructions Some thumb tests execute these assuming that they're nops. * T32: Fill out other Hint instructions * A32: Fill out other hint instructions --- ARMeilleure/Instructions/InstEmitMemoryEx.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ARMeilleure/Instructions/InstEmitMemoryEx.cs') diff --git a/ARMeilleure/Instructions/InstEmitMemoryEx.cs b/ARMeilleure/Instructions/InstEmitMemoryEx.cs index af6adfb9..c7ed01e3 100644 --- a/ARMeilleure/Instructions/InstEmitMemoryEx.cs +++ b/ARMeilleure/Instructions/InstEmitMemoryEx.cs @@ -26,6 +26,11 @@ namespace ARMeilleure.Instructions EmitClearExclusive(context); } + public static void Csdb(ArmEmitterContext context) + { + // Execute as no-op. + } + public static void Dmb(ArmEmitterContext context) => EmitBarrier(context); public static void Dsb(ArmEmitterContext context) => EmitBarrier(context); -- cgit v1.2.3