/openbmc/qemu/tests/tcg/sh4/ |
H A D | test-macw.c | 51 { 0xfffffffffll, INT16_MAX, INT16_MAX, in main()
|
/openbmc/linux/tools/include/nolibc/ |
H A D | stdint.h | 53 #define INT16_MAX (32767) macro 68 #define INT_LEAST16_MAX INT16_MAX
|
/openbmc/qemu/target/hppa/ |
H A D | op_helper.c | 373 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 D | mve_helper.c | 1191 #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 D | translate.h | 408 tcg_gen_andi_i32(d, s, INT16_MAX); in gen_vfp_absh()
|
H A D | vec_helper.c | 235 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 D | sve_helper.c | 529 #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 D | helper.c | 305 if (arg_long < INT16_MIN || arg_long > INT16_MAX) in str2short()
|
/openbmc/qemu/tests/unit/ |
H A D | test-visitor-serialization.c | 860 .value.s16 = INT16_MAX / 2 + 1, 870 .value.s16 = INT16_MAX,
|
/openbmc/qemu/qapi/ |
H A D | qapi-visit-core.c | 293 ok = visit_type_intN(v, &value, name, INT16_MIN, INT16_MAX, "int16_t", in visit_type_int16()
|
/openbmc/qemu/accel/tcg/ |
H A D | tcg-runtime-gvec.c | 1095 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 D | vis_helper.c | 576 t = MIN(t, INT16_MAX); in helper_fslas16()
|
H A D | translate.c | 769 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 D | softfloat-parts.c.inc | 1369 a_exp = INT16_MAX; 1382 b_exp = INT16_MAX;
|
H A D | softfloat.c | 3061 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 D | vector_helper.c | 2167 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 D | gen_loader.c | 687 if (btf_fd_idx > INT16_MAX) { in emit_relo_kfunc_btf()
|
H A D | libbpf.c | 7717 if (obj->fd_array_cnt == INT16_MAX) { in bpf_object__resolve_ksym_func_btf_id()
|
/openbmc/linux/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 967 …CASE_TEST(limit_int16_max); EXPECT_EQ(1, INT16_MAX, (int16_t) 0x7fff); brea… in run_stdlib()
|
/openbmc/qemu/audio/ |
H A D | audio.c | 349 short s = INT16_MAX; in audio_pcm_info_clear_buf()
|
/openbmc/qemu/qom/ |
H A D | object.c | 1265 for (i = 0; i < INT16_MAX; ++i) { in object_property_try_add()
|
/openbmc/qemu/target/tricore/ |
H A D | op_helper.c | 205 int32_t max_pos = INT16_MAX; in ssov16()
|
/openbmc/qemu/target/ppc/ |
H A D | int_helper.c | 468 SATCVT(sw, sh, int32_t, int16_t, INT16_MIN, INT16_MAX) in SATCVT()
|
/openbmc/qemu/target/i386/ |
H A D | ops_sse.h | 1534 #define FSIGNW(d, s) (s <= INT16_MAX ? s ? d : 0 : -(int16_t)d) in SSE_HELPER_W()
|