Revision 3d7b417e target-ppc/translate_init.c
b/target-ppc/translate_init.c | ||
---|---|---|
99 | 99 |
/* XER */ |
100 | 100 |
static void spr_read_xer (void *opaque, int sprn) |
101 | 101 |
{ |
102 |
gen_op_load_xer();
|
|
102 |
tcg_gen_mov_tl(cpu_T[0], cpu_xer);
|
|
103 | 103 |
} |
104 | 104 |
|
105 | 105 |
static void spr_write_xer (void *opaque, int sprn) |
106 | 106 |
{ |
107 |
gen_op_store_xer();
|
|
107 |
tcg_gen_mov_tl(cpu_xer, cpu_T[0]);
|
|
108 | 108 |
} |
109 | 109 |
|
110 | 110 |
/* LR */ |
Also available in: Unified diff