Revision 1a7ff922
b/exec-all.h | ||
---|---|---|
58 | 58 |
#define OPPARAM_BUF_SIZE (OPC_BUF_SIZE * MAX_OPC_PARAM) |
59 | 59 |
|
60 | 60 |
extern target_ulong gen_opc_pc[OPC_BUF_SIZE]; |
61 |
extern target_ulong gen_opc_npc[OPC_BUF_SIZE]; |
|
62 |
extern uint8_t gen_opc_cc_op[OPC_BUF_SIZE]; |
|
63 | 61 |
extern uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; |
64 | 62 |
extern uint16_t gen_opc_icount[OPC_BUF_SIZE]; |
65 |
extern target_ulong gen_opc_jump_pc[2]; |
|
66 |
extern uint32_t gen_opc_hflags[OPC_BUF_SIZE]; |
|
67 | 63 |
|
68 | 64 |
#include "qemu-log.h" |
69 | 65 |
|
b/target-i386/translate.c | ||
---|---|---|
72 | 72 |
static TCGv_i64 cpu_tmp1_i64; |
73 | 73 |
static TCGv cpu_tmp5; |
74 | 74 |
|
75 |
static uint8_t gen_opc_cc_op[OPC_BUF_SIZE]; |
|
76 |
|
|
75 | 77 |
#include "gen-icount.h" |
76 | 78 |
|
77 | 79 |
#ifdef TARGET_X86_64 |
b/target-mips/translate.c | ||
---|---|---|
442 | 442 |
static TCGv_i32 hflags; |
443 | 443 |
static TCGv_i32 fpu_fcr0, fpu_fcr31; |
444 | 444 |
|
445 |
static uint32_t gen_opc_hflags[OPC_BUF_SIZE]; |
|
446 |
|
|
445 | 447 |
#include "gen-icount.h" |
446 | 448 |
|
447 | 449 |
#define gen_helper_0i(name, arg) do { \ |
b/target-sh4/translate.c | ||
---|---|---|
77 | 77 |
/* internal register indexes */ |
78 | 78 |
static TCGv cpu_flags, cpu_delayed_pc; |
79 | 79 |
|
80 |
static uint32_t gen_opc_hflags[OPC_BUF_SIZE]; |
|
81 |
|
|
80 | 82 |
#include "gen-icount.h" |
81 | 83 |
|
82 | 84 |
static void sh4_translate_init(void) |
b/target-sparc/translate.c | ||
---|---|---|
66 | 66 |
/* Floating point registers */ |
67 | 67 |
static TCGv_i32 cpu_fpr[TARGET_FPREGS]; |
68 | 68 |
|
69 |
static target_ulong gen_opc_npc[OPC_BUF_SIZE]; |
|
70 |
static target_ulong gen_opc_jump_pc[2]; |
|
71 |
|
|
69 | 72 |
#include "gen-icount.h" |
70 | 73 |
|
71 | 74 |
typedef struct DisasContext { |
b/translate-all.c | ||
---|---|---|
40 | 40 |
target_ulong gen_opc_pc[OPC_BUF_SIZE]; |
41 | 41 |
uint16_t gen_opc_icount[OPC_BUF_SIZE]; |
42 | 42 |
uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; |
43 |
#if defined(TARGET_I386) |
|
44 |
uint8_t gen_opc_cc_op[OPC_BUF_SIZE]; |
|
45 |
#elif defined(TARGET_SPARC) |
|
46 |
target_ulong gen_opc_npc[OPC_BUF_SIZE]; |
|
47 |
target_ulong gen_opc_jump_pc[2]; |
|
48 |
#elif defined(TARGET_MIPS) || defined(TARGET_SH4) |
|
49 |
uint32_t gen_opc_hflags[OPC_BUF_SIZE]; |
|
50 |
#endif |
|
51 | 43 |
|
52 | 44 |
/* XXX: suppress that */ |
53 | 45 |
unsigned long code_gen_max_block_size(void) |
Also available in: Unified diff