From e48df9d8fd4587c84c6f8c57212e24b18e07d7fb Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 7 Aug 2016 20:04:48 +0100 Subject: [PATCH] TranslateArm: Implement Hint instructions as NOPs --- src/frontend/translate/translate_arm/translate_arm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontend/translate/translate_arm/translate_arm.h b/src/frontend/translate/translate_arm/translate_arm.h index 5ed79b37..814ebe9a 100644 --- a/src/frontend/translate/translate_arm/translate_arm.h +++ b/src/frontend/translate/translate_arm/translate_arm.h @@ -149,11 +149,11 @@ struct ArmTranslatorVisitor final { bool arm_UXTH(Cond cond, Reg d, SignExtendRotation rotate, Reg m); // Hint instructions - bool arm_PLD() { return InterpretThisInstruction(); } - bool arm_SEV() { return InterpretThisInstruction(); } - bool arm_WFE() { return InterpretThisInstruction(); } - bool arm_WFI() { return InterpretThisInstruction(); } - bool arm_YIELD() { return InterpretThisInstruction(); } + bool arm_PLD() { return true; } + bool arm_SEV() { return true; } + bool arm_WFE() { return true; } + bool arm_WFI() { return true; } + bool arm_YIELD() { return true; } // Load/Store instructions bool arm_LDR_imm(Cond cond, bool P, bool U, bool W, Reg n, Reg d, Imm12 imm12);