Home
last modified time | relevance | path

Searched refs:float16 (Results 1 – 19 of 19) sorted by relevance

/openbmc/qemu/include/fpu/
H A Dsoftfloat.h113 float16 float16_squash_input_denormal(float16 a, float_status *status);
137 float16 int16_to_float16_scalbn(int16_t a, int, float_status *status);
138 float16 int32_to_float16_scalbn(int32_t a, int, float_status *status);
139 float16 int64_to_float16_scalbn(int64_t a, int, float_status *status);
140 float16 uint16_to_float16_scalbn(uint16_t a, int, float_status *status);
141 float16 uint32_to_float16_scalbn(uint32_t a, int, float_status *status);
142 float16 uint64_to_float16_scalbn(uint64_t a, int, float_status *status);
144 float16 int8_to_float16(int8_t a, float_status *status);
145 float16 int16_to_float16(int16_t a, float_status *status);
146 float16 int32_to_float16(int32_t a, float_status *status);
[all …]
H A Dsoftfloat-types.h87 typedef uint16_t float16; typedef
/openbmc/qemu/target/riscv/
H A Dfpu_helper.c124 float16 frs1 = check_nanbox_h(env, rs1); in do_fmadd_h()
125 float16 frs2 = check_nanbox_h(env, rs2); in do_fmadd_h()
126 float16 frs3 = check_nanbox_h(env, rs3); in do_fmadd_h()
553 float16 frs1 = check_nanbox_h(env, rs1); in helper_fadd_h()
554 float16 frs2 = check_nanbox_h(env, rs2); in helper_fadd_h()
560 float16 frs1 = check_nanbox_h(env, rs1); in helper_fsub_h()
561 float16 frs2 = check_nanbox_h(env, rs2); in helper_fsub_h()
567 float16 frs1 = check_nanbox_h(env, rs1); in helper_fmul_h()
568 float16 frs2 = check_nanbox_h(env, rs2); in helper_fmul_h()
574 float16 frs1 = check_nanbox_h(env, rs1); in helper_fdiv_h()
[all …]
H A Dinternals.h116 static inline uint64_t nanbox_h(CPURISCVState *env, float16 f) in nanbox_h()
126 static inline float16 check_nanbox_h(CPURISCVState *env, uint64_t f) in check_nanbox_h()
H A Dvector_helper.c3797 static float16 frsqrt7_h(float16 f, float_status *s) in frsqrt7_h()
4012 static float16 frec7_h(float16 f, float_status *s) in frec7_h()
4400 float16 f = frs1; in GEN_VEXT_CMP_VF()
/openbmc/qemu/target/arm/tcg/
H A Dvec_helper.c879 float16 *d = vd;
880 float16 *n = vn;
881 float16 *m = vm;
892 float16 e0 = n[H2(i)];
893 float16 e1 = m[H2(i + 1)] ^ neg_imag;
894 float16 e2 = n[H2(i + 1)];
895 float16 e3 = m[H2(i)] ^ neg_real;
963 float16 *d = vd, *n = vn, *m = vm, *a = va; in HELPER()
975 float16 e2 = n[H2(i + flip)]; in HELPER()
976 float16 e1 = m[H2(i + flip)] ^ neg_real; in HELPER()
[all …]
H A Dmve_helper.c2831 DO_2OP_FP(OP##h, 2, float16, float16_##FN) \
2838 static inline float16 float16_abd(float16 a, float16 b, float_status *s) in DO_2OP_FP_ALL()
2852 static inline float16 float16_maxnuma(float16 a, float16 b, float_status *s) in DO_2OP_FP_ALL()
2862 static inline float16 float16_minnuma(float16 a, float16 b, float_status *s) in float16_minnuma()
2910 DO_VCADD_FP(vfcadd90h, 2, float16, float16_sub, float16_add)
2912 DO_VCADD_FP(vfcadd270h, 2, float16, float16_add, float16_sub)
2947 DO_VFMA(vfmah, 2, float16, false)
2949 DO_VFMA(vfmsh, 2, float16, true)
3020 DO_VCMLA(vcmul0h, 2, float16, 0, DO_VCMULH)
3022 DO_VCMLA(vcmul90h, 2, float16, 1, DO_VCMULH)
[all …]
H A Dsve_helper.c755 DO_ZPZZ_PAIR_FP(sve2_faddp_zpzz_h, float16, H1_2, float16_add)
759 DO_ZPZZ_PAIR_FP(sve2_fmaxnmp_zpzz_h, float16, H1_2, float16_maxnum)
763 DO_ZPZZ_PAIR_FP(sve2_fminnmp_zpzz_h, float16, H1_2, float16_minnum)
767 DO_ZPZZ_PAIR_FP(sve2_fmaxp_zpzz_h, float16, H1_2, float16_max)
771 DO_ZPZZ_PAIR_FP(sve2_fminp_zpzz_h, float16, H1_2, float16_min)
4211 DO_REDUCE(sve_faddv_h, float16, H1_2, add, float16_zero) in DO_REDUCE() argument
4216 DO_REDUCE(sve_fminnmv_h, float16, H1_2, minnum, 0x7E00) in DO_REDUCE()
4220 DO_REDUCE(sve_fmaxnmv_h, float16, H1_2, maxnum, 0x7E00) in DO_REDUCE()
4224 DO_REDUCE(sve_fminv_h, float16, H1_2, min, float16_infinity) in DO_REDUCE()
4228 DO_REDUCE(sve_fmaxv_h, float16, H1_2, max, float16_chs(float16_infinity)) in DO_REDUCE()
[all …]
H A Dhelper-a64.c378 float16 nan = a; in HELPER()
545 float16 a1, a2, b1, b2; \ in ADVSIMD_HALFOP()
567 static float16 float16_mulx(float16 a, float16 b, void *fpstp)
598 float16 a1, a2, b1, b2, c1, c2; in HELPER()
644 float16 f0 = float16_abs(a); in HELPER()
645 float16 f1 = float16_abs(b); in HELPER()
654 float16 f0 = float16_abs(a); in HELPER()
655 float16 f1 = float16_abs(b); in HELPER()
669 float16 ret; in HELPER()
/openbmc/qemu/tests/fp/
H A Dwrap.c.inc116 WRAP_SF_TO_SF_IEEE(qemu_f16_to_f32, float16_to_float32, float16, float32)
117 WRAP_SF_TO_SF_IEEE(qemu_f16_to_f64, float16_to_float64, float16, float64)
119 WRAP_SF_TO_SF_IEEE(qemu_f32_to_f16, float32_to_float16, float32, float16)
120 WRAP_SF_TO_SF_IEEE(qemu_f64_to_f16, float64_to_float16, float64, float16)
175 WRAP_SF_TO_INT(qemu_f16_to_ui32, float16_to_uint32, float16, uint_fast32_t)
176 WRAP_SF_TO_INT(qemu_f16_to_ui64, float16_to_uint64, float16, uint_fast64_t)
184 WRAP_SF_TO_INT(qemu_f16_to_i32, float16_to_int32, float16, int_fast32_t)
185 WRAP_SF_TO_INT(qemu_f16_to_i64, float16_to_int64, float16, int_fast64_t)
204 float16_to_uint32_round_to_zero, float16, uint_fast32_t)
206 float16_to_uint64_round_to_zero, float16, uint_fast64_t)
[all …]
/openbmc/qemu/fpu/
H A Dsoftfloat.c603 static void QEMU_FLATTEN float16_unpack_raw(FloatParts64 *p, float16 f) in float16_unpack_raw()
660 static float16 QEMU_FLATTEN float16_pack_raw(const FloatParts64 *p) in float16_pack_raw()
1651 static void float16a_unpack_canonical(FloatParts64 *p, float16 f, in float16a_unpack_canonical()
1658 static void float16_unpack_canonical(FloatParts64 *p, float16 f, in float16_unpack_canonical()
1671 static float16 float16a_round_pack_canonical(FloatParts64 *p, in float16a_round_pack_canonical()
1679 static float16 float16_round_pack_canonical(FloatParts64 *p, in float16_round_pack_canonical()
1868 static float16 QEMU_FLATTEN
1869 float16_addsub(float16 a, float16 b, float_status *status, bool subtract) in float16_addsub()
1880 float16 float16_add(float16 a, float16 b, float_status *status) in float16_add()
1885 float16 float16_sub(float16 a, float16 b, float_status *status) in float16_sub()
[all …]
H A Dsoftfloat-specialize.c.inc263 bool float16_is_quiet_nan(float16 a_, float_status *status)
302 bool float16_is_signaling_nan(float16 a_, float_status *status)
/openbmc/qemu/target/arm/
H A Dvfp_helper.c366 DO_VFP_cmp(h, float16, dh_ctype_f16, fp_status_f16) in DO_VFP_cmp() argument
539 float16 r = float32_to_float16(a, !ahp_mode, fpst); in HELPER()
565 float16 r = float64_to_float16(a, !ahp_mode, fpst); in HELPER()
666 float16 f16 = float16_squash_input_denormal(input, fpst); in HELPER()
674 float16 nan = f16; in HELPER()
867 float16 f16 = float16_squash_input_denormal(input, s); in HELPER()
875 float16 nan = f16; in HELPER()
1062 float16 ret; in HELPER()
/openbmc/qemu/target/ppc/
H A Dinternal.h223 void helper_compute_fprf_float16(CPUPPCState *env, float16 arg);
H A Dfpu_helper.c168 COMPUTE_FPRF(float16)
2676 VSX_CVT_FP_TO_FP_HP(xscvdphp, 1, float64, float16, VsrD(0), VsrH(3), 1)
2677 VSX_CVT_FP_TO_FP_HP(xscvhpdp, 1, float16, float64, VsrH(3), VsrD(0), 1)
2678 VSX_CVT_FP_TO_FP_HP(xvcvsphp, 4, float32, float16, VsrW(i), VsrH(2 * i + 1), 0)
2679 VSX_CVT_FP_TO_FP_HP(xvcvhpsp, 4, float16, float32, VsrH(2 * i + 1), VsrW(i), 0)
3379 typedef float64 extract_f16(float16, float_status *);
3381 static float64 extract_hf16(float16 in, float_status *fp_status) in extract_hf16()
H A Dcpu.h339 float16 f16[8];
/openbmc/qemu/target/tricore/
H A Dfpu_helper.c378 float16 f_arg = make_float16(arg); in helper_hptof()
/openbmc/qemu/target/i386/
H A Dcpu.h1444 float16 _h_ZMMReg[512 / 16];
/openbmc/qemu/target/mips/tcg/
H A Dmsa_helper.c6306 static inline float16 float16_from_float32(int32_t a, bool ieee, in float16_from_float32()
6309 float16 f_val; in float16_from_float32()
6330 f_val = float16_to_float32((float16)a, ieee, status); in float32_from_float16()