Revision 1ff7854e
b/target-ppc/translate_init.c | ||
---|---|---|
73 | 73 |
gen_load_spr(cpu_gpr[gprn], sprn); |
74 | 74 |
#ifdef PPC_DUMP_SPR_ACCESSES |
75 | 75 |
{ |
76 |
TCGv t0 = tcg_const_i32(sprn); |
|
76 |
TCGv_i32 t0 = tcg_const_i32(sprn);
|
|
77 | 77 |
gen_helper_load_dump_spr(t0); |
78 | 78 |
tcg_temp_free_i32(t0); |
79 | 79 |
} |
... | ... | |
85 | 85 |
gen_store_spr(sprn, cpu_gpr[gprn]); |
86 | 86 |
#ifdef PPC_DUMP_SPR_ACCESSES |
87 | 87 |
{ |
88 |
TCGv t0 = tcg_const_i32(sprn); |
|
88 |
TCGv_i32 t0 = tcg_const_i32(sprn);
|
|
89 | 89 |
gen_helper_store_dump_spr(t0); |
90 | 90 |
tcg_temp_free_i32(t0); |
91 | 91 |
} |
... | ... | |
1367 | 1367 |
|
1368 | 1368 |
static void spr_write_booke206_mmucsr0 (void *opaque, int sprn, int gprn) |
1369 | 1369 |
{ |
1370 |
TCGv t0 = tcg_const_i32(sprn); |
|
1370 |
TCGv_i32 t0 = tcg_const_i32(sprn);
|
|
1371 | 1371 |
gen_helper_booke206_tlbflush(t0); |
1372 |
tcg_temp_free(t0); |
|
1372 |
tcg_temp_free_i32(t0);
|
|
1373 | 1373 |
} |
1374 | 1374 |
|
1375 | 1375 |
static void spr_write_booke_pid (void *opaque, int sprn, int gprn) |
1376 | 1376 |
{ |
1377 |
TCGv t0 = tcg_const_i32(sprn); |
|
1377 |
TCGv_i32 t0 = tcg_const_i32(sprn);
|
|
1378 | 1378 |
gen_helper_booke_setpid(t0, cpu_gpr[gprn]); |
1379 |
tcg_temp_free(t0); |
|
1379 |
tcg_temp_free_i32(t0);
|
|
1380 | 1380 |
} |
1381 | 1381 |
#endif |
1382 | 1382 |
|
Also available in: Unified diff