Commit 18acad92 authored by pbrook's avatar pbrook
Browse files

ARM doubleword post-modify fix (Daniel Jacobowitz).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2424 c046a42c-6fe2-441c-8c8c-71466251a162
parent e5574487
......@@ -391,9 +391,9 @@ static inline void gen_add_datah_offset(DisasContext *s, unsigned int insn,
if (insn & (1 << 22)) {
/* immediate */
val = (insn & 0xf) | ((insn >> 4) & 0xf0);
val += extra;
if (!(insn & (1 << 23)))
val = -val;
val += extra;
if (val != 0)
gen_op_addl_T1_im(val);
} else {
......
Markdown is supported
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