Revision 47e4661c target-ppc/op.c
b/target-ppc/op.c | ||
---|---|---|
26 | 26 |
#include "helper_regs.h" |
27 | 27 |
#include "op_helper.h" |
28 | 28 |
|
29 |
#define REG 0 |
|
30 |
#include "op_template.h" |
|
31 |
|
|
32 |
#define REG 1 |
|
33 |
#include "op_template.h" |
|
34 |
|
|
35 |
#define REG 2 |
|
36 |
#include "op_template.h" |
|
37 |
|
|
38 |
#define REG 3 |
|
39 |
#include "op_template.h" |
|
40 |
|
|
41 |
#define REG 4 |
|
42 |
#include "op_template.h" |
|
43 |
|
|
44 |
#define REG 5 |
|
45 |
#include "op_template.h" |
|
46 |
|
|
47 |
#define REG 6 |
|
48 |
#include "op_template.h" |
|
49 |
|
|
50 |
#define REG 7 |
|
51 |
#include "op_template.h" |
|
52 |
|
|
53 | 29 |
void OPPROTO op_print_mem_EA (void) |
54 | 30 |
{ |
55 | 31 |
do_print_mem_EA(T0); |
... | ... | |
102 | 78 |
RETURN(); |
103 | 79 |
} |
104 | 80 |
|
105 |
void OPPROTO op_load_cro (void) |
|
106 |
{ |
|
107 |
T0 = env->crf[PARAM1]; |
|
108 |
RETURN(); |
|
109 |
} |
|
110 |
|
|
111 |
void OPPROTO op_store_cro (void) |
|
112 |
{ |
|
113 |
env->crf[PARAM1] = T0; |
|
114 |
RETURN(); |
|
115 |
} |
|
116 |
|
|
117 | 81 |
void OPPROTO op_load_xer_cr (void) |
118 | 82 |
{ |
119 | 83 |
T0 = (xer_so << 3) | (xer_ov << 2) | (xer_ca << 1); |
Also available in: Unified diff