aboutsummaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-26 23:48:49 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-26 23:48:49 +0000
commit8bf5a8047549eb589e09b8bb6fab47673d372e03 (patch)
tree307c81674a4ffb126ab69dca1611566824e7e2ad /target-sh4
parent945446c653dba61ba0bd304d14e5d4f9938e2647 (diff)
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index 1c9fe40f5f..d53e28bd2d 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));