/openbmc/qemu/target/mips/tcg/ |
H A D | ldst_helper.c | 40 do_raise_exception(env, EXCP_AdEL, GETPC()); \ 43 GETPC()); \ 45 env->llval = do_cast cpu_##insn##_mmuidx_ra(env, arg, mem_idx, GETPC()); \ 76 cpu_stb_mmuidx_ra(env, arg2, (uint8_t)(arg1 >> 24), mem_idx, GETPC()); in helper_swl() 80 mem_idx, GETPC()); in helper_swl() 85 mem_idx, GETPC()); in helper_swl() 90 mem_idx, GETPC()); in helper_swl() 100 cpu_stb_mmuidx_ra(env, arg2, (uint8_t)arg1, mem_idx, GETPC()); in helper_swr() 104 mem_idx, GETPC()); in helper_swr() 109 mem_idx, GETPC()); in helper_swr() [all …]
|
H A D | fpu_helper.c | 55 do_raise_exception(env, EXCP_RI, GETPC()); in helper_cfc1() 100 do_raise_exception(env, EXCP_RI, GETPC()); in helper_ctc1() 112 do_raise_exception(env, EXCP_RI, GETPC()); in helper_ctc1() 168 do_raise_exception(env, EXCP_RI, GETPC()); in helper_ctc1() 176 do_raise_exception(env, EXCP_FPE, GETPC()); in helper_ctc1() 237 update_fcr31(env, GETPC()); in helper_float_sqrt_d() 244 update_fcr31(env, GETPC()); in helper_float_sqrt_s() 253 update_fcr31(env, GETPC()); in helper_float_cvtd_s() 262 update_fcr31(env, GETPC()); in helper_float_cvtd_w() 271 update_fcr31(env, GETPC()); in helper_float_cvtd_l() [all …]
|
H A D | op_helper.c | 165 do_raise_exception(env, EXCP_THREAD, GETPC()); in helper_yield() 172 do_raise_exception(env, EXCP_THREAD, GETPC()); in helper_yield() 180 do_raise_exception(env, EXCP_THREAD, GETPC()); in helper_yield() 195 check_hwrena(env, 0, GETPC()); in helper_rdhwr_cpunum() 201 check_hwrena(env, 1, GETPC()); in helper_rdhwr_synci_step() 207 check_hwrena(env, 2, GETPC()); in helper_rdhwr_cc() 217 check_hwrena(env, 3, GETPC()); in helper_rdhwr_ccres() 223 check_hwrena(env, 4, GETPC()); in helper_rdhwr_performance() 229 check_hwrena(env, 5, GETPC()); in helper_rdhwr_xnp()
|
/openbmc/qemu/target/hppa/ |
H A D | fpu_helper.c | 99 update_fr0_op(env, GETPC()); in HELPER() 106 update_fr0_op(env, GETPC()); in HELPER() 113 update_fr0_op(env, GETPC()); in HELPER() 120 update_fr0_op(env, GETPC()); in HELPER() 127 update_fr0_op(env, GETPC()); in HELPER() 134 update_fr0_op(env, GETPC()); in HELPER() 141 update_fr0_op(env, GETPC()); in HELPER() 148 update_fr0_op(env, GETPC()); in HELPER() 155 update_fr0_op(env, GETPC()); in HELPER() 162 update_fr0_op(env, GETPC()); in HELPER() [all …]
|
/openbmc/qemu/target/sparc/ |
H A D | fop_helper.c | 91 check_ieee_exceptions(env, GETPC()); in helper_fadds() 98 check_ieee_exceptions(env, GETPC()); in helper_fsubs() 105 check_ieee_exceptions(env, GETPC()); in helper_fmuls() 112 check_ieee_exceptions(env, GETPC()); in helper_fdivs() 119 check_ieee_exceptions(env, GETPC()); in helper_faddd() 126 check_ieee_exceptions(env, GETPC()); in helper_fsubd() 133 check_ieee_exceptions(env, GETPC()); in helper_fmuld() 140 check_ieee_exceptions(env, GETPC()); in helper_fdivd() 147 check_ieee_exceptions(env, GETPC()); in helper_faddq() 154 check_ieee_exceptions(env, GETPC()); in helper_fsubq() [all …]
|
H A D | ldst_helper.c | 589 do_check_align(env, addr, size - 1, GETPC()); in helper_ld_asi() 718 size, GETPC()); in helper_ld_asi() 764 sparc_raise_mmu_fault(cs, addr, false, false, asi, size, GETPC()); in helper_ld_asi() 805 do_check_align(env, addr, size - 1, GETPC()); in helper_st_asi() 877 false, size, GETPC()); in helper_st_asi() 904 false, size, GETPC()); in helper_st_asi() 1079 size, GETPC()); in helper_st_asi() 1128 sparc_raise_mmu_fault(cs, addr, true, false, asi, size, GETPC()); in helper_st_asi() 1149 uintptr_t ra = GETPC(); in helper_ld_code() 1201 cpu_raise_exception_ra(env, TT_PRIV_ACT, GETPC()); in helper_ld_asi() [all …]
|
/openbmc/qemu/target/alpha/ |
H A D | vax_helper.c | 114 fa = f_to_float32(env, GETPC(), a); in helper_addf() 115 fb = f_to_float32(env, GETPC(), b); in helper_addf() 124 fa = f_to_float32(env, GETPC(), a); in helper_subf() 125 fb = f_to_float32(env, GETPC(), b); in helper_subf() 134 fa = f_to_float32(env, GETPC(), a); in helper_mulf() 135 fb = f_to_float32(env, GETPC(), b); in helper_mulf() 144 fa = f_to_float32(env, GETPC(), a); in helper_divf() 145 fb = f_to_float32(env, GETPC(), b); in helper_divf() 154 ft = f_to_float32(env, GETPC(), t); in helper_sqrtf() 241 fa = g_to_float64(env, GETPC(), a); in helper_addg() [all …]
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | fpu_helper.c | 91 update_fcsr0(env, GETPC()); in helper_fadd_s() 100 update_fcsr0(env, GETPC()); in helper_fadd_d() 109 update_fcsr0(env, GETPC()); in helper_fsub_s() 118 update_fcsr0(env, GETPC()); in helper_fsub_d() 127 update_fcsr0(env, GETPC()); in helper_fmul_s() 136 update_fcsr0(env, GETPC()); in helper_fmul_d() 145 update_fcsr0(env, GETPC()); in helper_fdiv_s() 154 update_fcsr0(env, GETPC()); in helper_fdiv_d() 163 update_fcsr0(env, GETPC()); in helper_fmax_s() 172 update_fcsr0(env, GETPC()); in helper_fmax_d() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | op_helper.c | 50 riscv_raise_exception(env, RISCV_EXCP_ILLEGAL_INST, GETPC()); in helper_csrr() 57 riscv_raise_exception(env, ret, GETPC()); in helper_csrr() 68 riscv_raise_exception(env, ret, GETPC()); in helper_csrw() 79 riscv_raise_exception(env, ret, GETPC()); in helper_csrrw() 90 riscv_raise_exception(env, ret, GETPC()); in helper_csrr_i128() 105 riscv_raise_exception(env, ret, GETPC()); in helper_csrw_i128() 119 riscv_raise_exception(env, ret, GETPC()); in helper_csrrw_i128() 159 uintptr_t ra = GETPC(); in helper_cbo_zero() 244 uintptr_t ra = GETPC(); in helper_cbo_clean_flush() 253 uintptr_t ra = GETPC(); in helper_cbo_inval() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | fpu_helper.c | 222 handle_exceptions(env, false, GETPC()); in HELPER() 230 handle_exceptions(env, false, GETPC()); in HELPER() 238 handle_exceptions(env, false, GETPC()); in HELPER() 246 handle_exceptions(env, false, GETPC()); in HELPER() 254 handle_exceptions(env, false, GETPC()); in HELPER() 262 handle_exceptions(env, false, GETPC()); in HELPER() 270 handle_exceptions(env, false, GETPC()); in HELPER() 278 handle_exceptions(env, false, GETPC()); in HELPER() 286 handle_exceptions(env, false, GETPC()); in HELPER() 294 handle_exceptions(env, false, GETPC()); in HELPER() [all …]
|
H A D | int_helper.c | 44 tcg_s390_program_interrupt(env, PGM_FIXPT_DIVIDE, GETPC()); in HELPER() 52 tcg_s390_program_interrupt(env, PGM_FIXPT_DIVIDE, GETPC()); in HELPER() 65 tcg_s390_program_interrupt(env, PGM_FIXPT_DIVIDE, GETPC()); in HELPER() 73 tcg_s390_program_interrupt(env, PGM_FIXPT_DIVIDE, GETPC()); in HELPER() 84 tcg_s390_program_interrupt(env, PGM_FIXPT_DIVIDE, GETPC()); in HELPER() 99 tcg_s390_program_interrupt(env, PGM_FIXPT_DIVIDE, GETPC()); in HELPER() 109 tcg_s390_data_exception(env, 0, GETPC()); in HELPER() 116 tcg_s390_data_exception(env, 0, GETPC()); in HELPER() 130 tcg_s390_program_interrupt(env, PGM_FIXPT_DIVIDE, GETPC()); in HELPER() 142 tcg_s390_data_exception(env, 0, GETPC()); in HELPER() [all …]
|
H A D | misc_helper.c | 109 tcg_s390_program_interrupt(env, -r, GETPC()); in HELPER() 132 handle_diag_308(env, r1, r3, GETPC()); in HELPER() 146 tcg_s390_program_interrupt(env, PGM_SPECIFICATION, GETPC()); in HELPER() 165 tcg_s390_program_interrupt(env, PGM_ADDRESSING, GETPC()); in HELPER() 243 tcg_s390_program_interrupt(env, PGM_SPECIFICATION, GETPC()); in HELPER() 272 const uintptr_t ra = GETPC(); in HELPER() 436 ioinst_handle_xsch(cpu, r1, GETPC()); in HELPER() 444 ioinst_handle_csch(cpu, r1, GETPC()); in HELPER() 452 ioinst_handle_hsch(cpu, r1, GETPC()); in HELPER() 460 ioinst_handle_msch(cpu, r1, inst >> 16, GETPC()); in HELPER() [all …]
|
H A D | vec_helper.c | 49 t0 = cpu_ldq_data_ra(env, addr, GETPC()); in HELPER() 51 t1 = cpu_ldq_data_ra(env, addr, GETPC()); in HELPER() 59 uint8_t byte = cpu_ldub_data_ra(env, addr, GETPC()); in HELPER() 196 probe_write_access(env, addr, MIN(bytes, 16), GETPC()); in HELPER() 199 cpu_stq_data_ra(env, addr, s390_vec_read_element64(v1, 0), GETPC()); in HELPER() 201 cpu_stq_data_ra(env, addr, s390_vec_read_element64(v1, 1), GETPC()); in HELPER() 208 cpu_stb_data_ra(env, addr, byte, GETPC()); in HELPER()
|
H A D | mem_helper.c | 386 return do_helper_nc(env, l, dest, src, GETPC()); in HELPER() 429 return do_helper_xc(env, l, dest, src, GETPC()); in HELPER() 467 return do_helper_oc(env, l, dest, src, GETPC()); in HELPER() 511 do_helper_mvc(env, l, dest, src, GETPC()); in HELPER() 518 const uint64_t ra = GETPC(); in HELPER() 542 uintptr_t ra = GETPC(); in HELPER() 565 uintptr_t ra = GETPC(); in HELPER() 592 uintptr_t ra = GETPC(); in HELPER() 627 uintptr_t ra = GETPC(); in HELPER() 676 return do_helper_clc(env, l, s1, s2, GETPC()); in HELPER() [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | seg_helper.c | 1064 raise_exception_err_ra(env, EXCP06_ILLOP, 0, GETPC()); in helper_sysret() 1068 raise_exception_err_ra(env, EXCP0D_GPF, 0, GETPC()); in helper_sysret() 1262 raise_exception_err_ra(env, EXCP0D_GPF, selector & 0xfffc, GETPC()); in helper_lldt() 1275 raise_exception_err_ra(env, EXCP0D_GPF, selector & 0xfffc, GETPC()); in helper_lldt() 1278 e1 = cpu_ldl_kernel_ra(env, ptr, GETPC()); in helper_lldt() 1279 e2 = cpu_ldl_kernel_ra(env, ptr + 4, GETPC()); in helper_lldt() 1281 raise_exception_err_ra(env, EXCP0D_GPF, selector & 0xfffc, GETPC()); in helper_lldt() 1284 raise_exception_err_ra(env, EXCP0B_NOSEG, selector & 0xfffc, GETPC()); in helper_lldt() 1290 e3 = cpu_ldl_kernel_ra(env, ptr + 8, GETPC()); in helper_lldt() 1317 raise_exception_err_ra(env, EXCP0D_GPF, selector & 0xfffc, GETPC()); in helper_ltr() [all …]
|
H A D | misc_helper.c | 54 cpu_svm_check_intercept_param(env, SVM_EXIT_CPUID, 0, GETPC()); in helper_cpuid() 69 raise_exception_ra(env, EXCP0D_GPF, GETPC()); in helper_rdtsc() 71 cpu_svm_check_intercept_param(env, SVM_EXIT_RDTSC, 0, GETPC()); in helper_rdtsc() 82 raise_exception_ra(env, EXCP0D_GPF, GETPC()); in helper_rdpmc() 84 cpu_svm_check_intercept_param(env, SVM_EXIT_RDPMC, 0, GETPC()); in helper_rdpmc() 107 raise_exception_err_ra(env, EXCP06_ILLOP, 0, GETPC()); in helper_rdpkru() 110 raise_exception_err_ra(env, EXCP0D_GPF, 0, GETPC()); in helper_rdpkru() 121 raise_exception_err_ra(env, EXCP06_ILLOP, 0, GETPC()); in helper_wrpkru() 124 raise_exception_err_ra(env, EXCP0D_GPF, 0, GETPC()); in helper_wrpkru()
|
H A D | mem_helper.c | 34 low = cpu_ldsw_data_ra(env, a0, GETPC()); in helper_boundw() 35 high = cpu_ldsw_data_ra(env, a0 + 2, GETPC()); in helper_boundw() 41 raise_exception_ra(env, EXCP05_BOUND, GETPC()); in helper_boundw() 49 low = cpu_ldl_data_ra(env, a0, GETPC()); in helper_boundl() 50 high = cpu_ldl_data_ra(env, a0 + 4, GETPC()); in helper_boundl() 55 raise_exception_ra(env, EXCP05_BOUND, GETPC()); in helper_boundl()
|
H A D | int_helper.c | 41 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_divb_AL() 45 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_divb_AL() 59 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_idivb_AL() 63 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_idivb_AL() 77 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_divw_AX() 81 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_divw_AX() 96 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_idivw_AX() 100 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_idivw_AX() 116 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_divl_EAX() 121 raise_exception_ra(env, EXCP00_DIVZ, GETPC()); in helper_divl_EAX() [all …]
|
/openbmc/qemu/target/sh4/ |
H A D | op_helper.c | 259 update_fpscr(env, GETPC()); in helper_fadd_FT() 267 update_fpscr(env, GETPC()); in helper_fadd_DT() 277 update_fpscr(env, GETPC()); in helper_fcmp_eq_FT() 287 update_fpscr(env, GETPC()); in helper_fcmp_eq_DT() 297 update_fpscr(env, GETPC()); in helper_fcmp_gt_FT() 307 update_fpscr(env, GETPC()); in helper_fcmp_gt_DT() 316 update_fpscr(env, GETPC()); in helper_fcnvsd_FT_DT() 325 update_fpscr(env, GETPC()); in helper_fcnvds_DT_FT() 333 update_fpscr(env, GETPC()); in helper_fdiv_FT() 341 update_fpscr(env, GETPC()); in helper_fdiv_DT() [all …]
|
/openbmc/qemu/target/rx/ |
H A D | op_helper.c | 146 update_fpsw(env, *(uint32_t *)&ret, GETPC()); \ 159 update_fpsw(env, 0, GETPC()); in FLOATOP() 179 update_fpsw(env, ret, GETPC()); in helper_ftoi() 187 update_fpsw(env, ret, GETPC()); in helper_round() 195 update_fpsw(env, ret, GETPC()); in helper_itof() 207 tmp0 = cpu_ldub_data_ra(env, env->regs[1]++, GETPC()); in helper_scmpu() 208 tmp1 = cpu_ldub_data_ra(env, env->regs[2]++, GETPC()); in helper_scmpu() 241 cpu_stfn[sz](env, env->regs[1], env->regs[2], GETPC()); in helper_sstr() 258 tmp = cpu_ldub_data_ra(env, env->regs[2], GETPC()); in smov() 259 cpu_stb_data_ra(env, env->regs[1], tmp, GETPC()); in smov() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | mem_helper.c | 85 uintptr_t raddr = GETPC(); in helper_lmw() 107 uintptr_t raddr = GETPC(); in helper_stmw() 190 do_lsw(env, addr, nb, reg, GETPC()); in helper_lsw() 208 POWERPC_EXCP_INVAL_LSWX, GETPC()); in helper_lswx() 210 do_lsw(env, addr, xer_bc, reg, GETPC()); in helper_lswx() 218 uintptr_t raddr = GETPC(); in helper_stsw() 308 dcbz_common(env, addr, mmu_idx, env->dcache_line_size, GETPC()); in helper_dcbz() 324 dcbz_common(env, addr, ppc_env_mmu_index(env, false), dcbz_size, GETPC()); in helper_dcbzl() 337 cpu_ldl_data_ra(env, addr, GETPC()); in helper_icbi() 345 cpu_ldl_mmuidx_ra(env, addr, PPC_TLB_EPID_LOAD, GETPC()); in helper_icbiep() [all …]
|
H A D | fpu_helper.c | 441 do_fpscr_check_status(env, GETPC()); in helper_fpscr_check_status() 475 do_float_check_status(env, true, GETPC()); in helper_float_check_status() 562 ret = float_invalid_cvt(env, flags, ret, nanval, 1, GETPC()); \ 587 do_float_check_status(env, true, GETPC()); \ 608 float_invalid_op_vxsnan(env, GETPC()); in do_fri() 613 do_float_check_status(env, true, GETPC()); in do_fri() 675 { return do_fmadd(env, arg1, arg2, arg3, madd_flags, GETPC()); } \ 678 { return do_fmadds(env, arg1, arg2, arg3, madd_flags, GETPC()); } 704 return do_frsp(env, arg, GETPC()); in helper_frsp() 724 float_invalid_op_sqrt(env, flags, 1, GETPC()); \ [all …]
|
/openbmc/qemu/target/microblaze/ |
H A D | op_helper.c | 93 if (!check_divz(env, a, b, GETPC())) { in helper_divs() 101 if (!check_divz(env, a, b, GETPC())) { in helper_divu() 155 update_fpu_flags(env, flags, GETPC()); in helper_fadd() 169 update_fpu_flags(env, flags, GETPC()); in helper_frsub() 183 update_fpu_flags(env, flags, GETPC()); in helper_fmul() 198 update_fpu_flags(env, flags, GETPC()); in helper_fdiv() 213 update_fpu_flags(env, float_flag_invalid, GETPC()); in helper_fcmp_un() 236 update_fpu_flags(env, flags & float_flag_invalid, GETPC()); in helper_fcmp_lt() 252 update_fpu_flags(env, flags & float_flag_invalid, GETPC()); in helper_fcmp_eq() 268 update_fpu_flags(env, flags & float_flag_invalid, GETPC()); in helper_fcmp_le() [all …]
|
/openbmc/qemu/target/i386/tcg/sysemu/ |
H A D | misc_helper.c | 86 cpu_vmexit(env, SVM_EXIT_CR0_SEL_WRITE, 0, GETPC()); in helper_write_crN() 93 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_write_crN() 102 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_write_crN() 106 raise_exception_ra(env, EXCP0D_GPF, GETPC()); in helper_write_crN() 136 cpu_svm_check_intercept_param(env, SVM_EXIT_MSR, 1, GETPC()); in helper_wrmsr() 325 raise_exception_err_ra(env, EXCP0D_GPF, 0, GETPC()); in helper_wrmsr() 333 cpu_svm_check_intercept_param(env, SVM_EXIT_MSR, 0, GETPC()); in helper_rdmsr() 483 raise_exception_err_ra(env, EXCP0D_GPF, 0, GETPC()); in helper_rdmsr() 522 raise_exception_ra(env, EXCP0D_GPF, GETPC()); in helper_monitor() 525 cpu_svm_check_intercept_param(env, SVM_EXIT_MONITOR, 0, GETPC()); in helper_monitor() [all …]
|
H A D | svm_helper.c | 177 raise_exception_err_ra(env, EXCP0D_GPF, 0, GETPC()); in helper_vmrun() 180 cpu_svm_check_intercept_param(env, SVM_EXIT_VMRUN, 0, GETPC()); in helper_vmrun() 276 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_vmrun() 280 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_vmrun() 286 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_vmrun() 289 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_vmrun() 311 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_vmrun() 314 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_vmrun() 319 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_vmrun() 323 cpu_vmexit(env, SVM_EXIT_ERR, 0, GETPC()); in helper_vmrun() [all …]
|