From: Adam Lackorzynski Date: Tue, 2 Mar 2010 00:17:35 +0000 (+0100) Subject: target-arm: make RFE usable with any register X-Git-Tag: v0.13.0-rc0~1109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea825eeefdbbceb7eadb61986e3ab9ad17ebeab8;p=thirdparty%2Fqemu.git target-arm: make RFE usable with any register The rfe instruction can be used with any register, not just sp. Adjust the condition check accordingly. Signed-off-by: Adam Lackorzynski Signed-off-by: Aurelien Jarno --- diff --git a/target-arm/translate.c b/target-arm/translate.c index 0c650b27289..cdfe946a6d3 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -6132,7 +6132,7 @@ static void disas_arm_insn(CPUState * env, DisasContext *s) dead_tmp(addr); } return; - } else if ((insn & 0x0e5fffe0) == 0x081d0a00) { + } else if ((insn & 0x0e50ffe0) == 0x08100a00) { /* rfe */ int32_t offset; if (IS_USER(s))