TranslateArm: Implement Hint instructions as NOPs

This commit is contained in:
MerryMage 2016-08-07 20:04:48 +01:00
parent 3a465ba4a8
commit e48df9d8fd

View file

@ -149,11 +149,11 @@ struct ArmTranslatorVisitor final {
bool arm_UXTH(Cond cond, Reg d, SignExtendRotation rotate, Reg m); bool arm_UXTH(Cond cond, Reg d, SignExtendRotation rotate, Reg m);
// Hint instructions // Hint instructions
bool arm_PLD() { return InterpretThisInstruction(); } bool arm_PLD() { return true; }
bool arm_SEV() { return InterpretThisInstruction(); } bool arm_SEV() { return true; }
bool arm_WFE() { return InterpretThisInstruction(); } bool arm_WFE() { return true; }
bool arm_WFI() { return InterpretThisInstruction(); } bool arm_WFI() { return true; }
bool arm_YIELD() { return InterpretThisInstruction(); } bool arm_YIELD() { return true; }
// Load/Store instructions // Load/Store instructions
bool arm_LDR_imm(Cond cond, bool P, bool U, bool W, Reg n, Reg d, Imm12 imm12); bool arm_LDR_imm(Cond cond, bool P, bool U, bool W, Reg n, Reg d, Imm12 imm12);