Commit 8bf5a8047549eb589e09b8bb6fab47673d372e03

Authored by ths
1 parent 945446c6

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
Showing 1 changed file with 2 additions and 2 deletions
target-sh4/translate.c
@@ -1003,8 +1003,8 @@ void decode_opc(DisasContext * ctx) @@ -1003,8 +1003,8 @@ void decode_opc(DisasContext * ctx)
1003 LDST(mach, 0x400a, 0x4006, lds, 0x000a, 0x4002, sts,) 1003 LDST(mach, 0x400a, 0x4006, lds, 0x000a, 0x4002, sts,)
1004 LDST(macl, 0x401a, 0x4016, lds, 0x001a, 0x4012, sts,) 1004 LDST(macl, 0x401a, 0x4016, lds, 0x001a, 0x4012, sts,)
1005 LDST(pr, 0x402a, 0x4026, lds, 0x002a, 0x4022, sts,) 1005 LDST(pr, 0x402a, 0x4026, lds, 0x002a, 0x4022, sts,)
1006 - LDST(fpul, 0x405a, 0x4056, lds, 0x005a, 0x0052, sts,)  
1007 - LDST(fpscr, 0x406a, 0x4066, lds, 0x006a, 0x0062, sts, ctx->flags |= 1006 + LDST(fpul, 0x405a, 0x4056, lds, 0x005a, 0x4052, sts,)
  1007 + LDST(fpscr, 0x406a, 0x4066, lds, 0x006a, 0x4062, sts, ctx->flags |=
1008 MODE_CHANGE;) 1008 MODE_CHANGE;)
1009 case 0x00c3: /* movca.l R0,@Rm */ 1009 case 0x00c3: /* movca.l R0,@Rm */
1010 gen_op_movl_rN_T0(REG(0)); 1010 gen_op_movl_rN_T0(REG(0));