Home
last modified time | relevance | path

Searched refs:INT16_MAX (Results 1 – 24 of 24) sorted by relevance

/openbmc/qemu/tests/tcg/sh4/
H A Dtest-macw.c51 { 0xfffffffffll, INT16_MAX, INT16_MAX, in main()
/openbmc/linux/tools/include/nolibc/
H A Dstdint.h53 #define INT16_MAX (32767) macro
68 #define INT_LEAST16_MAX INT16_MAX
/openbmc/qemu/target/hppa/
H A Dop_helper.c373 fr = MIN(fr, INT16_MAX); in HELPER()
419 fr = MIN(fr, INT16_MAX); in HELPER()
451 fr = MIN(fr, INT16_MAX); in HELPER()
467 fr = MIN(fr, INT16_MAX); in HELPER()
/openbmc/qemu/target/arm/tcg/
H A Dmve_helper.c1191 #define DO_SQADD_H(n, m, s) do_sat_bhw((int64_t)n + m, INT16_MIN, INT16_MAX, s)
1199 #define DO_SQSUB_H(n, m, s) do_sat_bhw((int64_t)n - m, INT16_MIN, INT16_MAX, s)
1213 INT16_MIN, INT16_MAX, s)
1220 INT16_MIN, INT16_MAX, s)
1314 return do_sat_bhw(r, INT16_MIN, INT16_MAX, sat) >> 8;
1355 return do_sat_bhw(r, INT16_MIN, INT16_MAX, sat) >> 8; in do_vqdmlsdh_b()
1529 return do_sat_bhw(r, INT16_MIN, INT16_MAX, sat) >> 8; in DO_2OP_SCALAR_U()
2253 do_sat_bhs((int64_t)(N) >> (M), INT16_MIN, INT16_MAX, SATP)
2267 do_sat_bhs(do_srshr(N, M), INT16_MIN, INT16_MAX, SATP)
2352 do_sat_bhs((int64_t)(N), INT16_MIN, INT16_MAX, SATP)
[all …]
H A Dtranslate.h408 tcg_gen_andi_i32(d, s, INT16_MAX); in gen_vfp_absh()
H A Dvec_helper.c235 ret = (ret < 0 ? INT16_MIN : INT16_MAX); in do_sqrdmlah_h()
1698 DO_SAT(gvec_sqadd_h, int, int16_t, int16_t, +, INT16_MIN, INT16_MAX)
1706 DO_SAT(gvec_sqsub_h, int, int16_t, int16_t, -, INT16_MIN, INT16_MAX)
1714 DO_SAT(gvec_suqadd_h, int, int16_t, uint16_t, +, INT16_MIN, INT16_MAX)
H A Dsve_helper.c529 #define DO_SQADD_H(n, m) do_sat_bhs((int64_t)n + m, INT16_MIN, INT16_MAX)
563 #define DO_SQSUB_H(n, m) do_sat_bhs((int64_t)n - m, INT16_MIN, INT16_MAX) in DO_ZPZZ()
598 do_sat_bhs((int64_t)(int16_t)n + m, INT16_MIN, INT16_MAX) in DO_ZPZZ()
1207 #define DO_SQXTN_S(n) do_sat_bhs(n, INT16_MIN, INT16_MAX)
1801 DO_VPZ(sve_sminv_h, int16_t, int16_t, uint16_t, H1_2, INT16_MAX, DO_MIN)
2193 #define DO_SQSHRN_S(x, sh) do_sat_bhs(x >> sh, INT16_MIN, INT16_MAX)
2205 #define DO_SQRSHRN_S(x, sh) do_sat_bhs(do_srshr(x, sh), INT16_MIN, INT16_MAX)
4661 return INT16_MAX; /* infinity */ in DO_ZPZ_FP()
/openbmc/ipmitool/lib/
H A Dhelper.c305 if (arg_long < INT16_MIN || arg_long > INT16_MAX) in str2short()
/openbmc/qemu/tests/unit/
H A Dtest-visitor-serialization.c860 .value.s16 = INT16_MAX / 2 + 1,
870 .value.s16 = INT16_MAX,
/openbmc/qemu/qapi/
H A Dqapi-visit-core.c293 ok = visit_type_intN(v, &value, name, INT16_MIN, INT16_MAX, "int16_t", in visit_type_int16()
/openbmc/qemu/accel/tcg/
H A Dtcg-runtime-gvec.c1095 if (r > INT16_MAX) { in HELPER()
1096 r = INT16_MAX; in HELPER()
1163 if (r > INT16_MAX) { in HELPER()
1164 r = INT16_MAX; in HELPER()
/openbmc/qemu/target/sparc/
H A Dvis_helper.c576 t = MIN(t, INT16_MAX); in helper_fslas16()
H A Dtranslate.c769 tcg_gen_smin_i32(u, u, tcg_constant_i32(INT16_MAX)); in gen_op_fpadds16s()
787 tcg_gen_smin_i32(u, u, tcg_constant_i32(INT16_MAX)); in gen_op_fpsubs16s()
/openbmc/qemu/fpu/
H A Dsoftfloat-parts.c.inc1369 a_exp = INT16_MAX;
1382 b_exp = INT16_MAX;
H A Dsoftfloat.c3061 return parts_float_to_sint(&p, rmode, scale, INT16_MIN, INT16_MAX, s); in float16_to_int16_scalbn()
3088 return parts_float_to_sint(&p, rmode, scale, INT16_MIN, INT16_MAX, s); in float32_to_int16_scalbn()
3115 return parts_float_to_sint(&p, rmode, scale, INT16_MIN, INT16_MAX, s); in float64_to_int16_scalbn()
3151 return parts_float_to_sint(&p, rmode, scale, INT16_MIN, INT16_MAX, s); in bfloat16_to_int16_scalbn()
/openbmc/qemu/target/riscv/
H A Dvector_helper.c2167 res = a > 0 ? INT16_MAX : INT16_MIN; in sadd16()
2290 res = a >= 0 ? INT16_MAX : INT16_MIN; in ssub16()
2544 if (res > INT16_MAX) { in vsmul16()
2546 return INT16_MAX; in vsmul16()
2753 if (res > INT16_MAX) { in vnclip16()
2755 return INT16_MAX; in vnclip16()
/openbmc/linux/tools/lib/bpf/
H A Dgen_loader.c687 if (btf_fd_idx > INT16_MAX) { in emit_relo_kfunc_btf()
H A Dlibbpf.c7717 if (obj->fd_array_cnt == INT16_MAX) { in bpf_object__resolve_ksym_func_btf_id()
/openbmc/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c967 …CASE_TEST(limit_int16_max); EXPECT_EQ(1, INT16_MAX, (int16_t) 0x7fff); brea… in run_stdlib()
/openbmc/qemu/audio/
H A Daudio.c349 short s = INT16_MAX; in audio_pcm_info_clear_buf()
/openbmc/qemu/qom/
H A Dobject.c1265 for (i = 0; i < INT16_MAX; ++i) { in object_property_try_add()
/openbmc/qemu/target/tricore/
H A Dop_helper.c205 int32_t max_pos = INT16_MAX; in ssov16()
/openbmc/qemu/target/ppc/
H A Dint_helper.c468 SATCVT(sw, sh, int32_t, int16_t, INT16_MIN, INT16_MAX) in SATCVT()
/openbmc/qemu/target/i386/
H A Dops_sse.h1534 #define FSIGNW(d, s) (s <= INT16_MAX ? s ? d : 0 : -(int16_t)d) in SSE_HELPER_W()