translate.c (b34b42f1b6a33c455dccce6ceb49962dddbb7a8a) translate.c (5439d7a68ce3449d4091e0b4c084579b9467a683)
1/*
2 * RX translation
3 *
4 * Copyright (c) 2019 Yoshinori Sato
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2 or later, as published by the Free Software Foundation.

--- 2357 unchanged lines hidden (view full) ---

2366void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int max_insns,
2367 target_ulong pc, void *host_pc)
2368{
2369 DisasContext dc;
2370
2371 translator_loop(cs, tb, max_insns, pc, host_pc, &rx_tr_ops, &dc.base);
2372}
2373
1/*
2 * RX translation
3 *
4 * Copyright (c) 2019 Yoshinori Sato
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2 or later, as published by the Free Software Foundation.

--- 2357 unchanged lines hidden (view full) ---

2366void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int max_insns,
2367 target_ulong pc, void *host_pc)
2368{
2369 DisasContext dc;
2370
2371 translator_loop(cs, tb, max_insns, pc, host_pc, &rx_tr_ops, &dc.base);
2372}
2373
2374void restore_state_to_opc(CPURXState *env, TranslationBlock *tb,
2375 target_ulong *data)
2376{
2377 env->pc = data[0];
2378}
2379
2380#define ALLOC_REGISTER(sym, name) \
2381 cpu_##sym = tcg_global_mem_new_i32(cpu_env, \
2382 offsetof(CPURXState, sym), name)
2383
2384void rx_translate_init(void)
2385{
2386 static const char * const regnames[NUM_REGS] = {
2387 "R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7",

--- 28 unchanged lines hidden ---
2374#define ALLOC_REGISTER(sym, name) \
2375 cpu_##sym = tcg_global_mem_new_i32(cpu_env, \
2376 offsetof(CPURXState, sym), name)
2377
2378void rx_translate_init(void)
2379{
2380 static const char * const regnames[NUM_REGS] = {
2381 "R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7",

--- 28 unchanged lines hidden ---