Commit 7ff4d2180b27b3356379ca66738da10ad8b2f73a
1 parent
e88de099
CF generator for constant operands
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1267 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
7 additions
and
1 deletions
target-arm/op.c
target-arm/translate.c
... | ... | @@ -536,7 +536,8 @@ static void disas_arm_insn(DisasContext *s) |
536 | 536 | if (shift) |
537 | 537 | val = (val >> shift) | (val << (32 - shift)); |
538 | 538 | gen_op_movl_T1_im(val); |
539 | - /* XXX: is CF modified ? */ | |
539 | + if (logic_cc && shift) | |
540 | + gen_op_mov_CF_T1(); | |
540 | 541 | } else { |
541 | 542 | /* register */ |
542 | 543 | rm = (insn) & 0xf; | ... | ... |