cpu.c (55745005e90a9deabd3d7900e13fc850f26f9d62) | cpu.c (8023d1abcdd42f2f5d171229a2f52c6eb0153f19) |
---|---|
1/* 2 * QEMU RX CPU 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. --- 30 unchanged lines hidden (view full) --- 39 return cpu->env.pc; 40} 41 42static void rx_cpu_synchronize_from_tb(CPUState *cs, 43 const TranslationBlock *tb) 44{ 45 RXCPU *cpu = RX_CPU(cs); 46 | 1/* 2 * QEMU RX CPU 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. --- 30 unchanged lines hidden (view full) --- 39 return cpu->env.pc; 40} 41 42static void rx_cpu_synchronize_from_tb(CPUState *cs, 43 const TranslationBlock *tb) 44{ 45 RXCPU *cpu = RX_CPU(cs); 46 |
47 cpu->env.pc = tb_pc(tb); | 47 tcg_debug_assert(!(cs->tcg_cflags & CF_PCREL)); 48 cpu->env.pc = tb->pc; |
48} 49 50static void rx_restore_state_to_opc(CPUState *cs, 51 const TranslationBlock *tb, 52 const uint64_t *data) 53{ 54 RXCPU *cpu = RX_CPU(cs); 55 --- 211 unchanged lines hidden --- | 49} 50 51static void rx_restore_state_to_opc(CPUState *cs, 52 const TranslationBlock *tb, 53 const uint64_t *data) 54{ 55 RXCPU *cpu = RX_CPU(cs); 56 --- 211 unchanged lines hidden --- |