Revision 5cd8f621
b/target-alpha/translate.c | ||
---|---|---|
140 | 140 |
offsetof(CPUAlphaState, usp), "usp"); |
141 | 141 |
#endif |
142 | 142 |
|
143 |
/* register helpers */ |
|
144 |
#define GEN_HELPER 2 |
|
145 |
#include "helper.h" |
|
146 |
|
|
147 | 143 |
done_init = 1; |
148 | 144 |
} |
149 | 145 |
|
b/target-arm/translate.c | ||
---|---|---|
115 | 115 |
#endif |
116 | 116 |
|
117 | 117 |
a64_translate_init(); |
118 |
|
|
119 |
#define GEN_HELPER 2 |
|
120 |
#include "helper.h" |
|
121 | 118 |
} |
122 | 119 |
|
123 | 120 |
static inline TCGv_i32 load_cpu_offset(int offset) |
b/target-cris/translate.c | ||
---|---|---|
3480 | 3480 |
{ |
3481 | 3481 |
int i; |
3482 | 3482 |
|
3483 |
#define GEN_HELPER 2 |
|
3484 |
#include "helper.h" |
|
3485 |
|
|
3486 | 3483 |
cpu_env = tcg_global_reg_new_ptr(TCG_AREG0, "env"); |
3487 | 3484 |
cc_x = tcg_global_mem_new(TCG_AREG0, |
3488 | 3485 |
offsetof(CPUCRISState, cc_x), "cc_x"); |
b/target-i386/translate.c | ||
---|---|---|
8261 | 8261 |
cpu_regs[R_EDI] = tcg_global_mem_new_i32(TCG_AREG0, |
8262 | 8262 |
offsetof(CPUX86State, regs[R_EDI]), "edi"); |
8263 | 8263 |
#endif |
8264 |
|
|
8265 |
/* register helpers */ |
|
8266 |
#define GEN_HELPER 2 |
|
8267 |
#include "helper.h" |
|
8268 | 8264 |
} |
8269 | 8265 |
|
8270 | 8266 |
/* generate intermediate code in gen_opc_buf and gen_opparam_buf for |
b/target-m68k/translate.c | ||
---|---|---|
108 | 108 |
|
109 | 109 |
NULL_QREG = tcg_global_mem_new(TCG_AREG0, -4, "NULL"); |
110 | 110 |
store_dummy = tcg_global_mem_new(TCG_AREG0, -8, "NULL"); |
111 |
|
|
112 |
#define GEN_HELPER 2 |
|
113 |
#include "helper.h" |
|
114 | 111 |
} |
115 | 112 |
|
116 | 113 |
static inline void qemu_assert(int cond, const char *msg) |
b/target-microblaze/translate.c | ||
---|---|---|
2024 | 2024 |
offsetof(CPUMBState, sregs[i]), |
2025 | 2025 |
special_regnames[i]); |
2026 | 2026 |
} |
2027 |
#define GEN_HELPER 2 |
|
2028 |
#include "helper.h" |
|
2029 | 2027 |
} |
2030 | 2028 |
|
2031 | 2029 |
void restore_state_to_opc(CPUMBState *env, TranslationBlock *tb, int pc_pos) |
b/target-mips/translate.c | ||
---|---|---|
15886 | 15886 |
offsetof(CPUMIPSState, active_fpu.fcr31), |
15887 | 15887 |
"fcr31"); |
15888 | 15888 |
|
15889 |
/* register helpers */ |
|
15890 |
#define GEN_HELPER 2 |
|
15891 |
#include "helper.h" |
|
15892 |
|
|
15893 | 15889 |
inited = 1; |
15894 | 15890 |
} |
15895 | 15891 |
|
b/target-openrisc/translate.c | ||
---|---|---|
110 | 110 |
offsetof(CPUOpenRISCState, gpr[i]), |
111 | 111 |
regnames[i]); |
112 | 112 |
} |
113 |
#define GEN_HELPER 2 |
|
114 |
#include "helper.h" |
|
115 | 113 |
} |
116 | 114 |
|
117 | 115 |
/* Writeback SR_F transaltion-space to execution-space. */ |
b/target-ppc/translate.c | ||
---|---|---|
175 | 175 |
cpu_access_type = tcg_global_mem_new_i32(TCG_AREG0, |
176 | 176 |
offsetof(CPUPPCState, access_type), "access_type"); |
177 | 177 |
|
178 |
/* register helpers */ |
|
179 |
#define GEN_HELPER 2 |
|
180 |
#include "helper.h" |
|
181 |
|
|
182 | 178 |
done_init = 1; |
183 | 179 |
} |
184 | 180 |
|
b/target-s390x/translate.c | ||
---|---|---|
188 | 188 |
offsetof(CPUS390XState, fregs[i].d), |
189 | 189 |
cpu_reg_names[i + 16]); |
190 | 190 |
} |
191 |
|
|
192 |
/* register helpers */ |
|
193 |
#define GEN_HELPER 2 |
|
194 |
#include "helper.h" |
|
195 | 191 |
} |
196 | 192 |
|
197 | 193 |
static TCGv_i64 load_reg(int reg) |
b/target-sh4/translate.c | ||
---|---|---|
143 | 143 |
offsetof(CPUSH4State, fregs[i]), |
144 | 144 |
fregnames[i]); |
145 | 145 |
|
146 |
/* register helpers */ |
|
147 |
#define GEN_HELPER 2 |
|
148 |
#include "helper.h" |
|
149 |
|
|
150 | 146 |
done_init = 1; |
151 | 147 |
} |
152 | 148 |
|
b/target-sparc/translate.c | ||
---|---|---|
5456 | 5456 |
offsetof(CPUSPARCState, fpr[i]), |
5457 | 5457 |
fregnames[i]); |
5458 | 5458 |
} |
5459 |
|
|
5460 |
/* register helpers */ |
|
5461 |
|
|
5462 |
#define GEN_HELPER 2 |
|
5463 |
#include "helper.h" |
|
5464 | 5459 |
} |
5465 | 5460 |
} |
5466 | 5461 |
|
b/target-unicore32/translate.c | ||
---|---|---|
74 | 74 |
cpu_R[i] = tcg_global_mem_new_i32(TCG_AREG0, |
75 | 75 |
offsetof(CPUUniCore32State, regs[i]), regnames[i]); |
76 | 76 |
} |
77 |
|
|
78 |
#define GEN_HELPER 2 |
|
79 |
#include "helper.h" |
|
80 | 77 |
} |
81 | 78 |
|
82 | 79 |
static int num_temps; |
b/target-xtensa/translate.c | ||
---|---|---|
238 | 238 |
uregnames[i].name); |
239 | 239 |
} |
240 | 240 |
} |
241 |
#define GEN_HELPER 2 |
|
242 |
#include "helper.h" |
|
243 | 241 |
} |
244 | 242 |
|
245 | 243 |
static inline bool option_bits_enabled(DisasContext *dc, uint64_t opt) |
b/tcg/tcg.c | ||
---|---|---|
254 | 254 |
s->pool_current = NULL; |
255 | 255 |
} |
256 | 256 |
|
257 |
#include "helper.h" |
|
258 |
|
|
257 | 259 |
void tcg_context_init(TCGContext *s) |
258 | 260 |
{ |
259 | 261 |
int op, total_args, n; |
... | ... | |
284 | 286 |
sorted_args += n; |
285 | 287 |
args_ct += n; |
286 | 288 |
} |
287 |
|
|
289 |
|
|
290 |
/* Register helpers. */ |
|
291 |
#define GEN_HELPER 2 |
|
292 |
#include "helper.h" |
|
293 |
|
|
288 | 294 |
tcg_target_init(s); |
289 | 295 |
} |
290 | 296 |
|
Also available in: Unified diff