Commit ea825eee authored by Adam Lackorzynski's avatar Adam Lackorzynski Committed by Aurelien Jarno
Browse files

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: default avatarAdam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 932234f6
......@@ -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))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment