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 <adam@os.inf.tu-dresden.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Adam Lackorzynski 2010-03-02 01:17:35 +01:00 committed by Aurelien Jarno
parent 932234f64c
commit ea825eeefd
1 changed files with 1 additions and 1 deletions

View File

@ -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))