target: e2k: Remove unneeded regs array in TCG state.
This commit is contained in:
parent
ad6bc687e4
commit
37b4ee19b0
@ -488,13 +488,6 @@ void e2k_tcg_initialize(void) {
|
||||
e2k_cs.tptr = tcg_global_mem_new_ptr(cpu_env,
|
||||
offsetof(CPUE2KState, tptr), "tags_ptr");
|
||||
|
||||
for (i = 0; i < E2K_REG_COUNT; i++) {
|
||||
char name = i < E2K_NR_COUNT ? 'r' : 'g';
|
||||
snprintf(buf, ARRAY_SIZE(buf), "%%%c%d", name, i);
|
||||
e2k_cs.regs[i] = tcg_global_mem_new_i64(e2k_cs.rptr,
|
||||
i * E2K_REG_LEN, buf);
|
||||
}
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
snprintf(buf, ARRAY_SIZE(buf), "%%ctpr%d", i + 1);
|
||||
e2k_cs.ctprs[i] = tcg_global_mem_new_i64(cpu_env,
|
||||
|
@ -41,7 +41,6 @@ typedef struct CPUE2KStateTCG {
|
||||
TCGv_i32 is_bp; /* breakpoint flag */
|
||||
TCGv_i32 wdbl;
|
||||
TCGv_i64 lsr;
|
||||
TCGv_i64 regs[E2K_REG_COUNT];
|
||||
TCGv_ptr rptr; /* pointer to wregs */
|
||||
TCGv_ptr tptr; /* pointer to wtags */
|
||||
TCGv_i32 wd_base; /* holds wbs * 2 */
|
||||
|
Loading…
Reference in New Issue
Block a user