Home
last modified time | relevance | path

Searched refs:bfloat16 (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/include/fpu/
H A Dsoftfloat.h116 bfloat16 bfloat16_squash_input_denormal(bfloat16 a, float_status *status);
367 bfloat16 bfloat16_round_to_int(bfloat16, float_status *status);
368 bfloat16 float32_to_bfloat16(float32, float_status *status);
369 float32 bfloat16_to_float32(bfloat16, float_status *status);
370 bfloat16 float64_to_bfloat16(float64 a, float_status *status);
371 float64 bfloat16_to_float64(bfloat16 a, float_status *status);
373 int8_t bfloat16_to_int8_scalbn(bfloat16, FloatRoundMode,
375 int16_t bfloat16_to_int16_scalbn(bfloat16, FloatRoundMode,
377 int32_t bfloat16_to_int32_scalbn(bfloat16, FloatRoundMode,
379 int64_t bfloat16_to_int64_scalbn(bfloat16, FloatRoundMode,
[all …]
H A Dsoftfloat-types.h120 typedef uint16_t bfloat16; typedef
/openbmc/qemu/fpu/
H A Dsoftfloat.c622 static void QEMU_FLATTEN bfloat16_unpack_raw(FloatParts64 *p, bfloat16 f) in bfloat16_unpack_raw()
679 static bfloat16 QEMU_FLATTEN bfloat16_pack_raw(const FloatParts64 *p) in bfloat16_pack_raw()
1678 static void bfloat16_unpack_canonical(FloatParts64 *p, bfloat16 f, in bfloat16_unpack_canonical()
1699 static bfloat16 bfloat16_round_pack_canonical(FloatParts64 *p, in bfloat16_round_pack_canonical()
2052 static bfloat16 QEMU_FLATTEN
2053 bfloat16_addsub(bfloat16 a, bfloat16 b, float_status *status, bool subtract) in bfloat16_addsub()
2064 bfloat16 bfloat16_add(bfloat16 a, bfloat16 b, float_status *status) in bfloat16_add()
2069 bfloat16 bfloat16_sub(bfloat16 a, bfloat16 b, float_status *status) in bfloat16_sub()
2194 bfloat16 QEMU_FLATTEN
2195 bfloat16_mul(bfloat16 a, bfloat16 b, float_status *status) in bfloat16_mul()
[all …]
H A Dsoftfloat-specialize.c.inc250 | Returns 1 if the bfloat16 value `a' is a quiet
254 bool bfloat16_is_quiet_nan(bfloat16 a_, float_status *status)
288 | Returns 1 if the bfloat16 value `a' is a signaling
292 bool bfloat16_is_signaling_nan(bfloat16 a_, float_status *status)
/openbmc/qemu/target/arm/tcg/
H A Dvec_internal.h339 bfloat16 helper_sme2_ah_fmax_b16(bfloat16 a, bfloat16 b, float_status *fpst);
340 bfloat16 helper_sme2_ah_fmin_b16(bfloat16 a, bfloat16 b, float_status *fpst);
H A Dvec_helper.c1474 DO_3OP(gvec_bfadd, bfloat16_add, bfloat16) in DO_3OP()
1480 DO_3OP(gvec_bfsub, bfloat16_sub, bfloat16) in DO_3OP()
1574 DO_3OP(gvec_fmax_b16, bfloat16_max, bfloat16) in DO_3OP()
1575 DO_3OP(gvec_fmin_b16, bfloat16_min, bfloat16) in DO_3OP()
1576 DO_3OP(gvec_fmaxnum_b16, bfloat16_maxnum, bfloat16) in DO_3OP()
1577 DO_3OP(gvec_fminnum_b16, bfloat16_minnum, bfloat16) in DO_3OP()
1578 DO_3OP(gvec_ah_fmax_b16, helper_sme2_ah_fmax_b16, bfloat16) in DO_3OP()
1579 DO_3OP(gvec_ah_fmin_b16, helper_sme2_ah_fmin_b16, bfloat16) in DO_3OP()
1616 static bfloat16 bfloat16_muladd_f(bfloat16 dest, bfloat16 op1, bfloat16 op2, in bfloat16_muladd_f()
1640 static bfloat16 bfloat16_mulsub_f(bfloat16 dest, bfloat16 op1, bfloat16 op2, in bfloat16_mulsub_f()
[all …]
H A Dhelper-a64.c405 AH_MINMAX_HELPER(sme2_ah_fmax_b16, bfloat16, bfloat16, max) in AH_MINMAX_HELPER()
406 AH_MINMAX_HELPER(sme2_ah_fmin_b16, bfloat16, bfloat16, min) in AH_MINMAX_HELPER()
H A Dsme_helper.c1755 bfloat16 *d = vd;
1914 bfloat16 *d = vd;
1917 bfloat16 d0 = float32_to_bfloat16(s0[H4(i)], fpst);
1918 bfloat16 d1 = float32_to_bfloat16(s1[H4(i)], fpst);
1929 bfloat16 *d = vd; in HELPER()
1932 bfloat16 d0 = sve_f32_to_f16(s0[H4(i)], fpst); in HELPER()
1933 bfloat16 d1 = sve_f32_to_f16(s1[H4(i)], fpst); in HELPER()
2337 FCLAMP(sme2_bfclamp, bfloat16, H2)
H A Dvfp_helper.c405 bfloat16 lo = float32_to_bfloat16(extract64(pair, 0, 32), status); in HELPER()
406 bfloat16 hi = float32_to_bfloat16(extract64(pair, 32, 32), status); in HELPER()
/openbmc/qemu/target/ppc/
H A Dfpu_helper.c3384 static float64 extract_bf16(bfloat16 in, float_status *fp_status) in extract_bf16()