arm: make RFE usable with any register
PATCH 1/1 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 <[email protected]>
--- target-arm/translate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
target-arm/translate.c +1 -1
@@ -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))
Signature · 6 lines
1.7.0 Adam -- Adam [email protected] Lackorzynski http://os.inf.tu-dresden.de/~adam/
Aurelien Jarno
AppliedQuoted 4 lines · Adam Lackorzynski
The rfe instruction can be used with any register, not just sp. Adjust the condition check accordingly.
Signed-off-by Adam Lackorzynski <[email protected]>
Thanks, applied.
Quoted 27 lines
--- target-arm/translate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)target-arm/translate.c +1
-1@@ -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))Signature · 6 lines
1.7.0 Adam -- Adam [email protected] Lackorzynski http://os.inf.tu-dresden.de/~adam/
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net