diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-26 23:48:49 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-26 23:48:49 +0000 |
commit | 8bf5a8047549eb589e09b8bb6fab47673d372e03 (patch) | |
tree | 307c81674a4ffb126ab69dca1611566824e7e2ad /target-sh4 | |
parent | 945446c653dba61ba0bd304d14e5d4f9938e2647 (diff) | |
download | qemu-8bf5a8047549eb589e09b8bb6fab47673d372e03.zip qemu-8bf5a8047549eb589e09b8bb6fab47673d372e03.tar.gz qemu-8bf5a8047549eb589e09b8bb6fab47673d372e03.tar.bz2 |
Fix opcode for sts.l fpul/cpscr, by Magnus Damm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2729 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 1c9fe40..d53e28b 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -1003,8 +1003,8 @@ void decode_opc(DisasContext * ctx) LDST(mach, 0x400a, 0x4006, lds, 0x000a, 0x4002, sts,) LDST(macl, 0x401a, 0x4016, lds, 0x001a, 0x4012, sts,) LDST(pr, 0x402a, 0x4026, lds, 0x002a, 0x4022, sts,) - LDST(fpul, 0x405a, 0x4056, lds, 0x005a, 0x0052, sts,) - LDST(fpscr, 0x406a, 0x4066, lds, 0x006a, 0x0062, sts, ctx->flags |= + LDST(fpul, 0x405a, 0x4056, lds, 0x005a, 0x4052, sts,) + LDST(fpscr, 0x406a, 0x4066, lds, 0x006a, 0x4062, sts, ctx->flags |= MODE_CHANGE;) case 0x00c3: /* movca.l R0,@Rm */ gen_op_movl_rN_T0(REG(0)); |