Revision f840fa99 target-sh4/translate.c

b/target-sh4/translate.c
1864 1864
        CHECK_FPU_ENABLED
1865 1865
        if ((ctx->fpscr & FPSCR_PR) == 0) {
1866 1866
            TCGv m, n;
1867
            m = tcg_const_i32((ctx->opcode >> 16) & 3);
1868
            n = tcg_const_i32((ctx->opcode >> 18) & 3);
1867
            m = tcg_const_i32((ctx->opcode >> 8) & 3);
1868
            n = tcg_const_i32((ctx->opcode >> 10) & 3);
1869 1869
            gen_helper_fipr(m, n);
1870 1870
            tcg_temp_free(m);
1871 1871
            tcg_temp_free(n);
......
1877 1877
        if ((ctx->opcode & 0x0300) == 0x0100 &&
1878 1878
            (ctx->fpscr & FPSCR_PR) == 0) {
1879 1879
            TCGv n;
1880
            n = tcg_const_i32((ctx->opcode >> 18) & 3);
1880
            n = tcg_const_i32((ctx->opcode >> 10) & 3);
1881 1881
            gen_helper_ftrv(n);
1882 1882
            tcg_temp_free(n);
1883 1883
            return;

Also available in: Unified diff