| /qemu/target/ppc/ |
| A D | cpu_init.c | 66 static void register_745_sprs(CPUPPCState *env) in register_745_sprs() 103 static void register_755_sprs(CPUPPCState *env) in register_755_sprs() 1727 static void init_excp_G2(CPUPPCState *env) in init_excp_G2() 6707 CPUPPCState *env = &cpu->env; in cpu_ppc_set_vhyp() local 6721 CPUPPCState *env = &cpu->env; in cpu_ppc_set_1lpar() local 6741 CPUPPCState *env = &cpu->env; in init_ppc_proc() local 6884 CPUPPCState *env = &cpu->env; in ppc_cpu_realize() local 7195 CPUPPCState *env = &cpu->env; in ppc_cpu_reset_hold() local 7333 CPUPPCState *env = &cpu->env; in ppc_cpu_instance_init() local 7378 CPUPPCState *env = cpu_env(cs); in ppc_disas_set_info() local [all …]
|
| A D | timebase_helper.c | 30 target_ulong helper_load_tbl(CPUPPCState *env) in helper_load_tbl() 35 target_ulong helper_load_tbu(CPUPPCState *env) in helper_load_tbu() 40 target_ulong helper_load_atbl(CPUPPCState *env) in helper_load_atbl() 45 target_ulong helper_load_atbu(CPUPPCState *env) in helper_load_atbu() 50 target_ulong helper_load_vtb(CPUPPCState *env) in helper_load_vtb() 56 target_ulong helper_load_purr(CPUPPCState *env) in helper_load_purr() 121 target_ulong helper_load_decr(CPUPPCState *env) in helper_load_decr() 131 target_ulong helper_load_hdecr(CPUPPCState *env) in helper_load_hdecr() 184 target_ulong helper_load_40x_pit(CPUPPCState *env) in helper_load_40x_pit() 317 static void tb_state_machine_step(CPUPPCState *env) in tb_state_machine_step() [all …]
|
| A D | helper_regs.c | 32 void hreg_swap_gpr_tgpr(CPUPPCState *env) in hreg_swap_gpr_tgpr() 51 static bool hreg_check_bhrb_enable(CPUPPCState *env) in hreg_check_bhrb_enable() 242 void hreg_compute_hflags(CPUPPCState *env) in hreg_compute_hflags() 252 void hreg_update_pmu_hflags(CPUPPCState *env) in hreg_update_pmu_hflags() 436 CPUPPCState *env = &cpu->env; in register_generic_sprs() local 543 void register_non_embedded_sprs(CPUPPCState *env) in register_non_embedded_sprs() 562 void register_sdr1_sprs(CPUPPCState *env) in register_sdr1_sprs() 585 void register_low_BATs(CPUPPCState *env) in register_low_BATs() 657 void register_high_BATs(CPUPPCState *env) in register_high_BATs() 766 void register_thrm_sprs(CPUPPCState *env) in register_thrm_sprs() [all …]
|
| A D | power8-pmu.c | 25 static bool pmc_has_overflow_enabled(CPUPPCState *env, int sprn) in pmc_has_overflow_enabled() 38 static void pmu_update_summaries(CPUPPCState *env) in pmu_update_summaries() 85 static void hreg_bhrb_filter_update(CPUPPCState *env) in hreg_bhrb_filter_update() 116 void pmu_mmcr01a_updated(CPUPPCState *env) in pmu_mmcr01a_updated() 201 static void pmu_update_cycles(CPUPPCState *env) in pmu_update_cycles() 263 static void pmu_update_overflow_timers(CPUPPCState *env) in pmu_update_overflow_timers() 276 static void pmu_delete_timers(CPUPPCState *env) in pmu_delete_timers() 302 void helper_store_mmcr1(CPUPPCState *env, uint64_t value) in helper_store_mmcr1() 336 CPUPPCState *env = &cpu->env; in perfm_alert() local 364 void helper_handle_pmc5_overflow(CPUPPCState *env) in helper_handle_pmc5_overflow() [all …]
|
| A D | cpu.c | 30 target_ulong cpu_read_xer(const CPUPPCState *env) in cpu_read_xer() 42 void cpu_write_xer(CPUPPCState *env, target_ulong xer) in cpu_write_xer() 55 void ppc_store_vscr(CPUPPCState *env, uint32_t vscr) in ppc_store_vscr() 65 uint32_t ppc_get_vscr(CPUPPCState *env) in ppc_get_vscr() 71 void ppc_set_cr(CPUPPCState *env, uint64_t cr) in ppc_set_cr() 79 uint64_t ppc_get_cr(const CPUPPCState *env) in ppc_get_cr() 89 void ppc_store_msr(CPUPPCState *env, target_ulong value) in ppc_store_msr() 98 CPUPPCState *env = &cpu->env; in ppc_store_lpcr() local 108 void ppc_update_ciabr(CPUPPCState *env) in ppc_update_ciabr() 133 void ppc_update_daw0(CPUPPCState *env) in ppc_update_daw0() [all …]
|
| A D | misc_helper.c | 34 void helper_load_dump_spr(CPUPPCState *env, uint32_t sprn) in helper_load_dump_spr() 40 void helper_store_dump_spr(CPUPPCState *env, uint32_t sprn) in helper_store_dump_spr() 63 void helper_spr_write_CTRL(CPUPPCState *env, uint32_t sprn, in helper_spr_write_CTRL() 163 void helper_store_sdr1(CPUPPCState *env, target_ulong val) in helper_store_sdr1() 172 void helper_store_ptcr(CPUPPCState *env, target_ulong val) in helper_store_ptcr() 240 target_ulong helper_load_dpdes(CPUPPCState *env) in helper_load_dpdes() 304 void helper_store_sprc(CPUPPCState *env, target_ulong val) in helper_store_sprc() 314 target_ulong helper_load_sprd(CPUPPCState *env) in helper_load_sprd() 423 void helper_fixup_thrm(CPUPPCState *env) in helper_fixup_thrm() 461 void helper_clrbhrb(CPUPPCState *env) in helper_clrbhrb() [all …]
|
| A D | mmu_helper.c | 123 static void booke206_flush_tlb(CPUPPCState *env, int flags, in booke206_flush_tlb() 249 void ppc_tlb_invalidate_all(CPUPPCState *env) in ppc_tlb_invalidate_all() 385 void helper_tlbia(CPUPPCState *env) in helper_tlbia() 390 void helper_tlbie(CPUPPCState *env, target_ulong addr) in helper_tlbie() 549 void helper_tlbiva(CPUPPCState *env, target_ulong addr) in helper_tlbiva() 582 void helper_6xx_tlbd(CPUPPCState *env, target_ulong EPN) in helper_6xx_tlbd() 977 static ppcmas_tlb_t *booke206_cur_tlb(CPUPPCState *env) in booke206_cur_tlb() 1021 void helper_booke206_tlbwe(CPUPPCState *env) in helper_booke206_tlbwe() 1149 void helper_booke206_tlbre(CPUPPCState *env) in helper_booke206_tlbre() 1349 void helper_check_tlb_flush_local(CPUPPCState *env) in helper_check_tlb_flush_local() [all …]
|
| /qemu/target/sparc/ |
| A D | win_helper.c | 54 target_ulong cpu_get_psr(CPUSPARCState *env) in cpu_get_psr() 135 void helper_rett(CPUSPARCState *env) in helper_rett() 154 void helper_save(CPUSPARCState *env) in helper_save() 165 void helper_restore(CPUSPARCState *env) in helper_restore() 196 void helper_save(CPUSPARCState *env) in helper_save() 218 void helper_restore(CPUSPARCState *env) in helper_restore() 235 void helper_flushw(CPUSPARCState *env) in helper_flushw() 245 void helper_saved(CPUSPARCState *env) in helper_saved() 255 void helper_restored(CPUSPARCState *env) in helper_restored() 432 void helper_done(CPUSPARCState *env) in helper_done() [all …]
|
| A D | fop_helper.c | 191 float32 helper_fitos(CPUSPARCState *env, int32_t src) in helper_fitos() 205 Int128 helper_fitoq(CPUSPARCState *env, int32_t src) in helper_fitoq() 227 Int128 helper_fxtoq(CPUSPARCState *env, int64_t src) in helper_fxtoq() 250 float32 helper_fqtos(CPUSPARCState *env, Int128 src) in helper_fqtos() 257 Int128 helper_fstoq(CPUSPARCState *env, float32 src) in helper_fstoq() 264 float64 helper_fqtod(CPUSPARCState *env, Int128 src) in helper_fqtod() 271 Int128 helper_fdtoq(CPUSPARCState *env, float64 src) in helper_fdtoq() 293 int32_t helper_fqtoi(CPUSPARCState *env, Int128 src) in helper_fqtoi() 316 int64_t helper_fqtox(CPUSPARCState *env, Int128 src) in helper_fqtox() 545 target_ulong cpu_get_fsr(CPUSPARCState *env) in cpu_get_fsr() [all …]
|
| /qemu/target/mips/tcg/sysemu/ |
| A D | cp0_helper.c | 37 CPUMIPSState *env = &c->env; in mips_vpe_is_wfi() local 49 CPUMIPSState *env = &c->env; in mips_vp_is_wfi() local 204 uint32_t cpu_mips_get_random(CPUMIPSState *env) in cpu_mips_get_random() 368 target_ulong helper_mfc0_count(CPUMIPSState *env) in helper_mfc0_count() 402 target_ulong helper_mfc0_maar(CPUMIPSState *env) in helper_mfc0_maar() 1291 #define MTC0_MAAR_MASK(env) \ argument 1486 target_ulong helper_mftdsp(CPUMIPSState *env) in helper_mftdsp() 1571 target_ulong helper_dvpe(CPUMIPSState *env) in helper_dvpe() 1587 target_ulong helper_evpe(CPUMIPSState *env) in helper_evpe() 1607 target_ulong helper_dvp(CPUMIPSState *env) in helper_dvp() [all …]
|
| A D | special_helper.c | 29 target_ulong helper_di(CPUMIPSState *env) in helper_di() 37 target_ulong helper_ei(CPUMIPSState *env) in helper_ei() 45 static void debug_pre_eret(CPUMIPSState *env) in debug_pre_eret() 60 static void debug_post_eret(CPUMIPSState *env) in debug_post_eret() 93 CPUMIPSState *env = cpu_env(cs); in mips_io_recompile_replay_branch() local 104 static inline void exception_return(CPUMIPSState *env) in exception_return() 118 void helper_eret(CPUMIPSState *env) in helper_eret() 125 void helper_eretnc(CPUMIPSState *env) in helper_eretnc() 130 void helper_deret(CPUMIPSState *env) in helper_deret() 142 void helper_cache(CPUMIPSState *env, target_ulong addr, uint32_t op) in helper_cache()
|
| /qemu/target/riscv/ |
| A D | fpu_helper.c | 27 target_ulong riscv_cpu_get_fflags(CPURISCVState *env) in riscv_cpu_get_fflags() 41 void riscv_cpu_set_fflags(CPURISCVState *env, target_ulong hard) in riscv_cpu_set_fflags() 54 void helper_set_rounding_mode(CPURISCVState *env, uint32_t rm) in helper_set_rounding_mode() 280 uint64_t helper_fsqrt_s(CPURISCVState *env, uint64_t rs1) in helper_fsqrt_s() 371 uint64_t helper_fround_s(CPURISCVState *env, uint64_t rs1) in helper_fround_s() 439 uint64_t helper_fcvt_s_d(CPURISCVState *env, uint64_t rs1) in helper_fcvt_s_d() 444 uint64_t helper_fcvt_d_s(CPURISCVState *env, uint64_t rs1) in helper_fcvt_d_s() 450 uint64_t helper_fsqrt_d(CPURISCVState *env, uint64_t frs1) in helper_fsqrt_d() 613 uint64_t helper_fsqrt_h(CPURISCVState *env, uint64_t rs1) in helper_fsqrt_h() 660 uint64_t helper_fround_h(CPURISCVState *env, uint64_t rs1) in helper_fround_h() [all …]
|
| A D | csr.c | 78 static RISCVException fs(CPURISCVState *env, int csrno) in fs() 93 static RISCVException vs(CPURISCVState *env, int csrno) in vs() 106 static RISCVException ctr(CPURISCVState *env, int csrno) in ctr() 162 static RISCVException ctr32(CPURISCVState *env, int csrno) in ctr32() 171 static RISCVException zcmt(CPURISCVState *env, int csrno) in zcmt() 207 static RISCVException mctr(CPURISCVState *env, int csrno) in mctr() 275 static RISCVException any(CPURISCVState *env, int csrno) in any() 280 static RISCVException any32(CPURISCVState *env, int csrno) in any32() 457 static RISCVException sstc(CPURISCVState *env, int csrno) in sstc() 510 static RISCVException satp(CPURISCVState *env, int csrno) in satp() [all …]
|
| A D | debug.c | 166 target_ulong tselect_csr_read(CPURISCVState *env) in tselect_csr_read() 674 itrigger_get_count(CPURISCVState *env, int index) in itrigger_get_count() 701 bool riscv_itrigger_enabled(CPURISCVState *env) in riscv_itrigger_enabled() 721 void helper_itrigger_match(CPURISCVState *env) in helper_itrigger_match() 794 void riscv_itrigger_update_priv(CPURISCVState *env) in riscv_itrigger_update_priv() 921 target_ulong tinfo_csr_read(CPURISCVState *env) in tinfo_csr_read() 931 CPURISCVState *env = &cpu->env; in riscv_cpu_debug_excp_handler() local 947 CPURISCVState *env = &cpu->env; in riscv_cpu_debug_check_breakpoint() local 994 CPURISCVState *env = &cpu->env; in riscv_cpu_debug_check_watchpoint() local 1050 void riscv_trigger_realize(CPURISCVState *env) in riscv_trigger_realize() [all …]
|
| A D | op_helper.c | 42 target_ulong helper_csrr(CPURISCVState *env, int csr) in helper_csrr() 97 void helper_csrw_i128(CPURISCVState *env, int csr, in helper_csrw_i128() 201 static void check_zicbom_access(CPURISCVState *env, in check_zicbom_access() 262 target_ulong helper_sret(CPURISCVState *env) in helper_sret() 324 target_ulong helper_mret(CPURISCVState *env) in helper_mret() 373 void helper_wfi(CPURISCVState *env) in helper_wfi() 393 void helper_wrs_nto(CPURISCVState *env) in helper_wrs_nto() 404 void helper_tlb_flush(CPURISCVState *env) in helper_tlb_flush() 419 void helper_tlb_flush_all(CPURISCVState *env) in helper_tlb_flush_all() 425 void helper_hyp_tlb_flush(CPURISCVState *env) in helper_hyp_tlb_flush() [all …]
|
| /qemu/target/sh4/ |
| A D | op_helper.c | 49 void helper_ldtlb(CPUSH4State *env) in helper_ldtlb() 59 void raise_exception(CPUSH4State *env, int index, in raise_exception() 78 void helper_raise_fpu_disable(CPUSH4State *env) in helper_raise_fpu_disable() 83 void helper_raise_slot_fpu_disable(CPUSH4State *env) in helper_raise_slot_fpu_disable() 88 void helper_sleep(CPUSH4State *env) in helper_sleep() 97 void helper_trapa(CPUSH4State *env, uint32_t tra) in helper_trapa() 103 void helper_exclusive(CPUSH4State *env) in helper_exclusive() 124 void helper_discard_movcal_backup(CPUSH4State *env) in helper_discard_movcal_backup() 138 void helper_ocbi(CPUSH4State *env, uint32_t address) in helper_ocbi() 205 void helper_ld_fpscr(CPUSH4State *env, uint32_t val) in helper_ld_fpscr() [all …]
|
| /qemu/linux-user/xtensa/ |
| A D | cpu_loop.c | 26 static void xtensa_rfw(CPUXtensaState *env) in xtensa_rfw() 32 static void xtensa_rfwu(CPUXtensaState *env) in xtensa_rfwu() 38 static void xtensa_rfwo(CPUXtensaState *env) in xtensa_rfwo() 44 static void xtensa_overflow4(CPUXtensaState *env) in xtensa_overflow4() 53 static void xtensa_underflow4(CPUXtensaState *env) in xtensa_underflow4() 62 static void xtensa_overflow8(CPUXtensaState *env) in xtensa_overflow8() 76 static void xtensa_underflow8(CPUXtensaState *env) in xtensa_underflow8() 90 static void xtensa_overflow12(CPUXtensaState *env) in xtensa_overflow12() 108 static void xtensa_underflow12(CPUXtensaState *env) in xtensa_underflow12() 126 void cpu_loop(CPUXtensaState *env) in cpu_loop() [all …]
|
| /qemu/target/loongarch/tcg/ |
| A D | fpu_helper.c | 29 void restore_fp_status(CPULoongArchState *env) in restore_fp_status() 81 static void update_fcsr0(CPULoongArchState *env, uintptr_t pc) in update_fcsr0() 258 uint64_t helper_fsqrt_s(CPULoongArchState *env, uint64_t fj) in helper_fsqrt_s() 267 uint64_t helper_fsqrt_d(CPULoongArchState *env, uint64_t fj) in helper_fsqrt_d() 276 uint64_t helper_frecip_s(CPULoongArchState *env, uint64_t fj) in helper_frecip_s() 285 uint64_t helper_frecip_d(CPULoongArchState *env, uint64_t fj) in helper_frecip_d() 294 uint64_t helper_frsqrt_s(CPULoongArchState *env, uint64_t fj) in helper_frsqrt_s() 305 uint64_t helper_frsqrt_d(CPULoongArchState *env, uint64_t fj) in helper_frsqrt_d() 315 uint64_t helper_flogb_s(CPULoongArchState *env, uint64_t fj) in helper_flogb_s() 330 uint64_t helper_flogb_d(CPULoongArchState *env, uint64_t fj) in helper_flogb_d() [all …]
|
| /qemu/target/rx/ |
| A D | op_helper.c | 49 void helper_set_psw(CPURXState *env, uint32_t psw) in helper_set_psw() 59 uint32_t helper_pack_psw(CPURXState *env) in helper_pack_psw() 200 void helper_scmpu(CPURXState *env) in helper_scmpu() 237 void helper_sstr(CPURXState *env, uint32_t sz) in helper_sstr() 269 void helper_smovu(CPURXState *env) in helper_smovu() 274 void helper_smovf(CPURXState *env) in helper_smovf() 279 void helper_smovb(CPURXState *env) in helper_smovb() 324 void helper_rmpa(CPURXState *env, uint32_t sz) in helper_rmpa() 382 void helper_satr(CPURXState *env) in helper_satr() 448 G_NORETURN void helper_wait(CPURXState *env) in helper_wait() [all …]
|
| /qemu/target/mips/tcg/ |
| A D | vr54xx_helper.c | 27 static inline uint64_t get_HILO(CPUMIPSState *env) in get_HILO() 47 target_ulong helper_muls(CPUMIPSState *env, target_ulong arg1, in helper_muls() 54 target_ulong helper_mulsu(CPUMIPSState *env, target_ulong arg1, in helper_mulsu() 61 target_ulong helper_macc(CPUMIPSState *env, target_ulong arg1, in helper_macc() 68 target_ulong helper_macchi(CPUMIPSState *env, target_ulong arg1, in helper_macchi() 75 target_ulong helper_maccu(CPUMIPSState *env, target_ulong arg1, in helper_maccu() 82 target_ulong helper_macchiu(CPUMIPSState *env, target_ulong arg1, in helper_macchiu() 89 target_ulong helper_msac(CPUMIPSState *env, target_ulong arg1, in helper_msac() 96 target_ulong helper_msachi(CPUMIPSState *env, target_ulong arg1, in helper_msachi() 103 target_ulong helper_msacu(CPUMIPSState *env, target_ulong arg1, in helper_msacu() [all …]
|
| A D | fpu_helper.c | 1216 uint64_t helper_float_add_d(CPUMIPSState *env, in helper_float_add_d() 1226 uint32_t helper_float_add_s(CPUMIPSState *env, in helper_float_add_s() 1236 uint64_t helper_float_add_ps(CPUMIPSState *env, in helper_float_add_ps() 1252 uint64_t helper_float_sub_d(CPUMIPSState *env, in helper_float_sub_d() 1262 uint32_t helper_float_sub_s(CPUMIPSState *env, in helper_float_sub_s() 1272 uint64_t helper_float_sub_ps(CPUMIPSState *env, in helper_float_sub_ps() 1288 uint64_t helper_float_mul_d(CPUMIPSState *env, in helper_float_mul_d() 1298 uint32_t helper_float_mul_s(CPUMIPSState *env, in helper_float_mul_s() 1308 uint64_t helper_float_mul_ps(CPUMIPSState *env, in helper_float_mul_ps() 1324 uint64_t helper_float_div_d(CPUMIPSState *env, in helper_float_div_d() [all …]
|
| /qemu/target/i386/hvf/ |
| A D | x86_emu.c | 93 target_ulong read_reg(CPUX86State *env, int reg, int size) in read_reg() 173 static bool is_host_reg(CPUX86State *env, target_ulong ptr) in is_host_reg() 377 void exec_movzx(CPUX86State *env, struct x86_decode *decode) in exec_movzx() 675 void simulate_rdmsr(CPUX86State *env) in simulate_rdmsr() 787 void simulate_wrmsr(CPUX86State *env) in simulate_wrmsr() 974 void exec_shl(CPUX86State *env, struct x86_decode *decode) in exec_shl() 1061 void exec_ror(CPUX86State *env, struct x86_decode *decode) in exec_ror() 1139 void exec_rol(CPUX86State *env, struct x86_decode *decode) in exec_rol() 1221 void exec_rcl(CPUX86State *env, struct x86_decode *decode) in exec_rcl() 1461 CPUX86State *env = &cpu->env; in load_regs() local [all …]
|
| /qemu/target/arm/ |
| A D | helper.c | 1442 void pmu_op_start(CPUARMState *env) in pmu_op_start() 1451 void pmu_op_finish(CPUARMState *env) in pmu_op_finish() 2680 CPUARMState *env = &cpu->env; in gt_update_irq() local 8722 CPUARMState *env = &cpu->env; in register_cp_regs_for_features() local 10018 CPUARMState *env = &cpu->env; in add_cpreg_to_hashtable() local 10776 CPUARMState *env = cpu_env(cs); in arm_phys_excp_target_el() local 11184 CPUARMState *env = &cpu->env; in arm_cpu_do_interrupt_aarch32_hyp() local 11263 CPUARMState *env = &cpu->env; in arm_cpu_do_interrupt_aarch32() local 11558 CPUARMState *env = &cpu->env; in arm_cpu_do_interrupt_aarch64() local 11792 CPUARMState *env = &cpu->env; in tcg_handle_semihosting() local [all …]
|
| /qemu/target/mips/sysemu/ |
| A D | cp0_timer.c | 30 static uint32_t cpu_mips_get_count_val(CPUMIPSState *env) in cpu_mips_get_count_val() 38 static void cpu_mips_timer_update(CPUMIPSState *env) in cpu_mips_timer_update() 54 static void cpu_mips_timer_expire(CPUMIPSState *env) in cpu_mips_timer_expire() 63 uint32_t cpu_mips_get_count(CPUMIPSState *env) in cpu_mips_get_count() 81 void cpu_mips_store_count(CPUMIPSState *env, uint32_t count) in cpu_mips_store_count() 99 void cpu_mips_store_compare(CPUMIPSState *env, uint32_t value) in cpu_mips_store_compare() 111 void cpu_mips_start_count(CPUMIPSState *env) in cpu_mips_start_count() 116 void cpu_mips_stop_count(CPUMIPSState *env) in cpu_mips_stop_count() 125 CPUMIPSState *env; in mips_timer_cb() local 138 CPUMIPSState *env = &cpu->env; in cpu_mips_clock_init() local
|
| /qemu/target/i386/tcg/sysemu/ |
| A D | misc_helper.c | 30 void helper_outb(CPUX86State *env, uint32_t port, uint32_t data) in helper_outb() 36 target_ulong helper_inb(CPUX86State *env, uint32_t port) in helper_inb() 42 void helper_outw(CPUX86State *env, uint32_t port, uint32_t data) in helper_outw() 48 target_ulong helper_inw(CPUX86State *env, uint32_t port) in helper_inw() 60 target_ulong helper_inl(CPUX86State *env, uint32_t port) in helper_inl() 66 target_ulong helper_read_cr8(CPUX86State *env) in helper_read_cr8() 131 void helper_wrmsr(CPUX86State *env) in helper_wrmsr() 328 void helper_rdmsr(CPUX86State *env) in helper_rdmsr() 504 void helper_flush_page(CPUX86State *env, target_ulong addr) in helper_flush_page() 509 G_NORETURN void helper_hlt(CPUX86State *env) in helper_hlt() [all …]
|