Revision cfdcd37a target-ppc/translate.c

b/target-ppc/translate.c
61 61
static TCGv cpu_avrh[32], cpu_avrl[32];
62 62
static TCGv cpu_crf[8];
63 63
static TCGv cpu_nip;
64
static TCGv cpu_ctr;
65
static TCGv cpu_lr;
64 66

  
65 67
/* dyngen register indexes */
66 68
static TCGv cpu_T[3];
......
168 170
    cpu_nip = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
169 171
                                 offsetof(CPUState, nip), "nip");
170 172

  
173
    cpu_ctr = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
174
                                 offsetof(CPUState, ctr), "ctr");
175

  
176
    cpu_lr = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
177
                                offsetof(CPUState, lr), "lr");
178

  
171 179
    /* register helpers */
172 180
#undef DEF_HELPER
173 181
#define DEF_HELPER(ret, name, params) tcg_register_helper(name, #name);

Also available in: Unified diff