Revision 5b7141a1 target-sh4/translate.c

b/target-sh4/translate.c
1176 1176
	    }
1177 1177
	}
1178 1178
	return;
1179
    case 0xf00e: /* fmac FR0,RM,Rn */
1180
        {
1181
            CHECK_FPU_ENABLED
1182
            if (ctx->fpscr & FPSCR_PR) {
1183
                break; /* illegal instruction */
1184
            } else {
1185
                gen_helper_fmac_FT(cpu_fregs[FREG(B11_8)],
1186
                                   cpu_fregs[FREG(0)], cpu_fregs[FREG(B7_4)], cpu_fregs[FREG(B11_8)]);
1187
                return;
1188
            }
1189
        }
1179 1190
    }
1180 1191

  
1181 1192
    switch (ctx->opcode & 0xff00) {

Also available in: Unified diff