Revision 36081602 target-ppc/translate.c

b/target-ppc/translate.c
118 118
GEN8(gen_op_load_fpscr_T0, gen_op_load_fpscr_T0_fpscr);
119 119
GEN8(gen_op_store_T0_fpscr, gen_op_store_T0_fpscr_fpscr);
120 120
GEN8(gen_op_clear_fpscr, gen_op_clear_fpscr_fpscr);
121
static inline void gen_op_store_T0_fpscri(int n, uint8_t param)
121
static inline void gen_op_store_T0_fpscri (int n, uint8_t param)
122 122
{
123 123
    gen_op_set_T0(param);
124 124
    gen_op_store_T0_fpscr(n);
......
1312 1312
    mb = MB(ctx->opcode) | (mbn << 5);
1313 1313
    gen_rldnm(ctx, mb, 63);
1314 1314
}
1315
GEN_PPC64_R2(rldcl, 0x1E, 0x08)
1315
GEN_PPC64_R2(rldcl, 0x1E, 0x08);
1316 1316
/* rldcr - rldcr. */
1317 1317
static inline void gen_rldcr (DisasContext *ctx, int men)
1318 1318
{
......
1321 1321
    me = MB(ctx->opcode) | (men << 5);
1322 1322
    gen_rldnm(ctx, 0, me);
1323 1323
}
1324
GEN_PPC64_R2(rldcr, 0x1E, 0x09)
1324
GEN_PPC64_R2(rldcr, 0x1E, 0x09);
1325 1325
/* rldimi - rldimi. */
1326 1326
static inline void gen_rldimi (DisasContext *ctx, int mbn, int shn)
1327 1327
{
......
1355 1355
    if (unlikely(Rc(ctx->opcode) != 0))
1356 1356
        gen_set_Rc0(ctx);
1357 1357
}
1358
GEN_PPC64_R4(rldimi, 0x1E, 0x06)
1358
GEN_PPC64_R4(rldimi, 0x1E, 0x06);
1359 1359
#endif
1360 1360

  
1361 1361
/***                             Integer shift                             ***/
......
2601 2601
}
2602 2602

  
2603 2603
/***                                Branch                                 ***/
2604

  
2605
static inline void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest)
2604
static inline void gen_goto_tb (DisasContext *ctx, int n, target_ulong dest)
2606 2605
{
2607 2606
    TranslationBlock *tb;
2608 2607
    tb = ctx->tb;
......
2669 2668
#define BCOND_LR  1
2670 2669
#define BCOND_CTR 2
2671 2670

  
2672
static inline void gen_bcond(DisasContext *ctx, int type)
2671
static inline void gen_bcond (DisasContext *ctx, int type)
2673 2672
{
2674 2673
    target_ulong target = 0;
2675 2674
    target_ulong li;
......
2806 2805
#endif
2807 2806
            gen_op_btest_T1(ctx->nip);
2808 2807
        gen_op_reset_T0();
2809
 no_test:
2808
    no_test:
2810 2809
        if (ctx->singlestep_enabled)
2811 2810
            gen_op_debug();
2812 2811
        gen_op_exit_tb();
......
5585 5584
        (xer_cmp << XER_CMP);
5586 5585
}
5587 5586

  
5588
void cpu_dump_state(CPUState *env, FILE *f,
5589
                    int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
5590
                    int flags)
5587
void cpu_dump_state (CPUState *env, FILE *f,
5588
                     int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
5589
                     int flags)
5591 5590
{
5592 5591
#if defined(TARGET_PPC64) || 1
5593 5592
#define FILL ""

Also available in: Unified diff