/openbmc/qemu/target/arm/ |
H A D | vfp_helper.c | 294 float_status *fpst = fpstp; \ 295 return float16_ ## name(a, b, fpst); \ 299 float_status *fpst = fpstp; \ 300 return float32_ ## name(a, b, fpst); \ 304 float_status *fpst = fpstp; \ 305 return float64_ ## name(a, b, fpst); \ 376 float_status *fpst = fpstp; \ in DO_VFP_cmp() 377 return sign##int32_to_##float##fsz((sign##int32_t)x, fpst); \ in DO_VFP_cmp() 383 float_status *fpst = fpstp; \ 385 float_raise(float_flag_invalid, fpst); \ [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-vfp.c | 433 TCGv_ptr fpst; in trans_VRINT() local 463 fpst = fpstatus_ptr(FPST_FPCR_F16); in trans_VRINT() 465 fpst = fpstatus_ptr(FPST_FPCR); in trans_VRINT() 468 tcg_rmode = gen_set_rmode(rounding, fpst); in trans_VRINT() 476 gen_helper_rintd(tcg_res, tcg_op, fpst); in trans_VRINT() 485 gen_helper_rinth(tcg_res, tcg_op, fpst); in trans_VRINT() 487 gen_helper_rints(tcg_res, tcg_op, fpst); in trans_VRINT() 492 gen_restore_rmode(tcg_rmode, fpst); in trans_VRINT() 500 TCGv_ptr fpst; in trans_VCVT() local 530 fpst = fpstatus_ptr(FPST_FPCR_F16); in trans_VCVT() [all …]
|
H A D | helper-a64.c | 165 float_status *fpst = fpstp; in HELPER() local 167 a = float32_squash_input_denormal(a, fpst); in HELPER() 168 b = float32_squash_input_denormal(b, fpst); in HELPER() 176 return float32_mul(a, b, fpst); in HELPER() 181 float_status *fpst = fpstp; in HELPER() local 183 a = float64_squash_input_denormal(a, fpst); in HELPER() 184 b = float64_squash_input_denormal(b, fpst); in HELPER() 192 return float64_mul(a, b, fpst); in HELPER() 198 float_status *fpst = fpstp; in HELPER() local 199 return -float64_eq_quiet(a, b, fpst); in HELPER() [all …]
|
H A D | vec_helper.c | 882 float_status *fpst = vfpst; local 897 d[H2(i)] = float16_add(e0, e1, fpst); 898 d[H2(i + 1)] = float16_add(e2, e3, fpst); 910 float_status *fpst = vfpst; in HELPER() local 925 d[H4(i)] = float32_add(e0, e1, fpst); in HELPER() 926 d[H4(i + 1)] = float32_add(e2, e3, fpst); in HELPER() 938 float_status *fpst = vfpst; in HELPER() local 953 d[i] = float64_add(e0, e1, fpst); in HELPER() 954 d[i + 1] = float64_add(e2, e3, fpst); in HELPER() 964 float_status *fpst = vfpst; in HELPER() local [all …]
|
H A D | mve_helper.c | 2811 float_status *fpst; \ 2817 fpst = (ESIZE == 2) ? &env->vfp.standard_fp_status_f16 : \ 2821 scratch_fpst = *fpst; \ 2822 fpst = &scratch_fpst; \ 2824 r = FN(n[H##ESIZE(e)], m[H##ESIZE(e)], fpst); \ 2883 float_status *fpst; \ in DO_2OP_FP_ALL() 2891 fpst = (ESIZE == 2) ? &env->vfp.standard_fp_status_f16 : \ in DO_2OP_FP_ALL() 2895 scratch_fpst = *fpst; \ in DO_2OP_FP_ALL() 2896 fpst = &scratch_fpst; \ in DO_2OP_FP_ALL() 2899 r[e] = FN0(n[H##ESIZE(e)], m[H##ESIZE(e + 1)], fpst); \ in DO_2OP_FP_ALL() [all …]
|
H A D | translate-neon.c | 205 TCGv_ptr fpst = fpstatus_ptr(fp_flavour); in do_neon_ddda_fpst() local 211 fpst, opr_sz, opr_sz, data, fn_gvec_ptr); in do_neon_ddda_fpst() 234 TCGv_ptr fpst; in trans_VCADD() local 257 fpst = fpstatus_ptr(a->size == MO_16 ? FPST_STD_F16 : FPST_STD); in trans_VCADD() 263 fpst, opr_sz, opr_sz, a->rot, in trans_VCADD() 982 TCGv_ptr fpst = fpstatus_ptr(FPST); \ 983 tcg_gen_gvec_3_ptr(rd_ofs, rn_ofs, rm_ofs, fpst, \ 1373 TCGv_ptr fpst; in do_fp_2sh() local 1399 fpst = fpstatus_ptr(a->size == MO_16 ? FPST_STD_F16 : FPST_STD); in do_fp_2sh() 1400 tcg_gen_gvec_2_ptr(rd_ofs, rm_ofs, fpst, vec_size, vec_size, a->shift, fn); in do_fp_2sh() [all …]
|
H A D | neon_helper.c | 1221 float_status *fpst = fpstp; in HELPER() local 1222 return -float32_eq_quiet(make_float32(a), make_float32(b), fpst); in HELPER() 1227 float_status *fpst = fpstp; in HELPER() local 1228 return -float32_le(make_float32(b), make_float32(a), fpst); in HELPER() 1233 float_status *fpst = fpstp; in HELPER() local 1234 return -float32_lt(make_float32(b), make_float32(a), fpst); in HELPER() 1239 float_status *fpst = fpstp; in HELPER() local 1242 return -float32_le(f1, f0, fpst); in HELPER() 1247 float_status *fpst = fpstp; in HELPER() local 1250 return -float32_lt(f1, f0, fpst); in HELPER() [all …]
|
H A D | sme_helper.c | 912 float_status fpst; in HELPER() local 919 fpst = *(float_status *)vst; in HELPER() 920 set_default_nan_mode(true, &fpst); in HELPER() 935 *a = float32_muladd(n, *m, *a, 0, &fpst); in HELPER() 955 float_status fpst = *(float_status *)vst; in HELPER() local 957 set_default_nan_mode(true, &fpst); in HELPER() 967 *a = float64_muladd(n, zm[col], *a, 0, &fpst); in HELPER() 1088 float_status fpst, fpst_odd; in HELPER() local 1090 if (is_ebf(env, &fpst, &fpst_odd)) { in HELPER() 1107 *a = bfdotadd_ebf(*a, n, m, &fpst, &fpst_odd); in HELPER() [all …]
|
H A D | vec_internal.h | 235 float32 bfdotadd(float32 sum, uint32_t e1, uint32_t e2, float_status *fpst); 251 float_status *fpst, float_status *fpst_odd);
|
H A D | translate-a64.c | 720 TCGv_ptr fpst = fpstatus_ptr(is_fp16 ? FPST_FPCR_F16 : FPST_FPCR); in gen_gvec_op3_fpst() local 723 vec_full_reg_offset(s, rm), fpst, in gen_gvec_op3_fpst() 762 TCGv_ptr fpst = fpstatus_ptr(is_fp16 ? FPST_FPCR_F16 : FPST_FPCR); in gen_gvec_op4_fpst() local 766 vec_full_reg_offset(s, ra), fpst, in gen_gvec_op4_fpst() 6721 TCGv_ptr fpst; in do_fmadd() local 6741 fpst = fpstatus_ptr(FPST_FPCR); in do_fmadd() 6742 gen_helper_vfp_muladdd(ta, tn, tm, ta, fpst); in do_fmadd() 6759 fpst = fpstatus_ptr(FPST_FPCR); in do_fmadd() 6760 gen_helper_vfp_muladds(ta, tn, tm, ta, fpst); in do_fmadd() 6780 fpst = fpstatus_ptr(FPST_FPCR_F16); in do_fmadd() [all …]
|
H A D | translate-sme.c | 320 TCGv_ptr za, zn, zm, pn, pm, fpst; in do_outprod_fpst() local 331 fpst = fpstatus_ptr(e_fpst); in do_outprod_fpst() 333 fn(za, zn, zm, pn, pm, fpst, tcg_constant_i32(desc)); in do_outprod_fpst()
|
H A D | translate.h | 810 static inline TCGv_i32 gen_set_rmode(ARMFPRounding rmode, TCGv_ptr fpst) in gen_set_rmode() argument 815 gen_helper_set_rmode(old, new, fpst); in gen_set_rmode() 819 static inline void gen_restore_rmode(TCGv_i32 old, TCGv_ptr fpst) in gen_restore_rmode() argument 821 gen_helper_set_rmode(old, old, fpst); in gen_restore_rmode()
|
H A D | sve_helper.c | 4472 static inline float32 sve_f16_to_f32(float16 f, float_status *fpst) 4474 bool save = get_flush_inputs_to_zero(fpst); 4477 set_flush_inputs_to_zero(false, fpst); 4478 ret = float16_to_float32(f, true, fpst); 4479 set_flush_inputs_to_zero(save, fpst); 4483 static inline float64 sve_f16_to_f64(float16 f, float_status *fpst) in sve_f16_to_f64() argument 4485 bool save = get_flush_inputs_to_zero(fpst); in sve_f16_to_f64() 4488 set_flush_inputs_to_zero(false, fpst); in sve_f16_to_f64() 4489 ret = float16_to_float64(f, true, fpst); in sve_f16_to_f64() 4490 set_flush_inputs_to_zero(save, fpst); in sve_f16_to_f64() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | unaligned_64.c | 38 fpst, enumerator
|