Home
last modified time | relevance | path

Searched refs:s16 (Results 1 – 25 of 103) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LegalizerInfo.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86LegalizerInfo.cpp50 const LLT s16 = LLT::scalar(16); in X86LegalizerInfo() local
90 return typeInSet(0, {p0, s1, s8, s16, s32, s64})(Query) || in X86LegalizerInfo()
96 return typeInSet(0, {p0, s8, s16, s32})(Query) || in X86LegalizerInfo()
140 if (typeInSet(0, {s8, s16, s32})(Query)) in X86LegalizerInfo()
155 .clampMinNumElements(0, s16, 8) in X86LegalizerInfo()
159 .clampMaxNumElements(0, s16, HasBWI ? 32 : (HasAVX2 ? 16 : 8)) in X86LegalizerInfo()
168 return typePairInSet(0, 1, {{s8, s1}, {s16, s1}, {s32, s1}})(Query) || in X86LegalizerInfo()
179 if (typeInSet(0, {s8, s16, s32})(Query)) in X86LegalizerInfo()
199 .clampMinNumElements(0, s16, 8) in X86LegalizerInfo()
202 .clampMaxNumElements(0, s16, HasBWI ? 32 : (HasAVX2 ? 16 : 8)) in X86LegalizerInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp48 const LLT s16 = LLT::scalar(16); in AArch64LegalizerInfo() local
65 const LLT nxv8s16 = LLT::scalable_vector(8, s16); in AArch64LegalizerInfo()
75 std::initializer_list<LLT> ScalarAndPtrTypesList = {s8, s16, s32, s64, p0}; in AArch64LegalizerInfo()
90 const LLT &MinFPScalar = HasFP16 ? s16 : s32; in AArch64LegalizerInfo()
97 .legalFor({p0, s8, s16, s32, s64}) in AArch64LegalizerInfo()
109 .legalFor({p0, s16, s32, s64}) in AArch64LegalizerInfo()
112 .clampScalar(0, s16, s64) in AArch64LegalizerInfo()
115 .clampMaxNumElements(0, s16, 8) in AArch64LegalizerInfo()
134 .clampMaxNumElements(0, s16, 8) in AArch64LegalizerInfo()
146 0, s16) in AArch64LegalizerInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/GISel/
H A DM68kLegalizerInfo.cpp25 const LLT s16 = LLT::scalar(16); in M68kLegalizerInfo() local
30 .legalFor({s8, s16, s32}) in M68kLegalizerInfo()
42 {s32, p0, s16, 4}, in M68kLegalizerInfo()
44 {s16, p0, s16, 2}, in M68kLegalizerInfo()
/freebsd/tests/sys/sys/
H A Dqmath_test.c92 s16q_t s16; in ATF_TC_BODY() local
94 Q_INI(&s16, QTEST_IV, 0, QTEST_RPSHFT); in ATF_TC_BODY()
95 Q_TOSTR(s16, -1, 10, buf, sizeof(buf)); in ATF_TC_BODY()
97 ATF_CHECK_EQ(sizeof(s16) << 3, Q_NTBITS(s16)); in ATF_TC_BODY()
98 ATF_CHECK_EQ(QTEST_RPSHFT, Q_NFBITS(s16)); in ATF_TC_BODY()
99 ATF_CHECK_EQ(QTEST_INTBITS(s16), Q_NIBITS(s16)); in ATF_TC_BODY()
100 ATF_CHECK_EQ(QTEST_QITRUNC(s16, INT16_MAX), Q_IMAXVAL(s16)); in ATF_TC_BODY()
101 ATF_CHECK_EQ(-Q_IMAXVAL(s16), Q_IMINVAL(s16)); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVLegalizerInfo.cpp65 const LLT s16 = LLT::scalar(16); in SPIRVLegalizerInfo() local
111 p0, p1, p2, p3, p4, p5, p6, s1, s8, s16, in SPIRVLegalizerInfo()
122 s1, s8, s16, s32, s64, v2s1, v2s8, v2s16, v2s32, v2s64, in SPIRVLegalizerInfo()
126 auto allIntScalarsAndVectors = {s8, s16, s32, s64, v2s8, v2s16, in SPIRVLegalizerInfo()
133 auto allIntScalars = {s8, s16, s32, s64}; in SPIRVLegalizerInfo()
135 auto allFloatScalars = {s16, s32, s64}; in SPIRVLegalizerInfo()
138 s16, s32, s64, v2s16, v2s32, v2s64, v3s16, v3s32, v3s64, in SPIRVLegalizerInfo()
141 auto allFloatAndIntScalarsAndPtrs = {s8, s16, s32, s64, p0, p1, in SPIRVLegalizerInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp76 const LLT s16 = LLT::scalar(16); in RISCVLegalizerInfo() local
96 const LLT nxv1s16 = LLT::scalable_vector(1, s16); in RISCVLegalizerInfo()
97 const LLT nxv2s16 = LLT::scalable_vector(2, s16); in RISCVLegalizerInfo()
98 const LLT nxv4s16 = LLT::scalable_vector(4, s16); in RISCVLegalizerInfo()
99 const LLT nxv8s16 = LLT::scalable_vector(8, s16); in RISCVLegalizerInfo()
100 const LLT nxv16s16 = LLT::scalable_vector(16, s16); in RISCVLegalizerInfo()
101 const LLT nxv32s16 = LLT::scalable_vector(32, s16); in RISCVLegalizerInfo()
266 {s32, p0, s16, 16}, in RISCVLegalizerInfo()
271 .legalForTypesWithMemDesc({{s32, p0, s8, 8}, {s32, p0, s16, 16}}); in RISCVLegalizerInfo()
274 {s64, p0, s16, 16}, in RISCVLegalizerInfo()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c1128 int64_t s16; in sc25519_muladd() local
1187 s16 = in sc25519_muladd()
1221 carry16 = (s16 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1223 s16 -= carry16 * ((uint64_t) 1L << 21); in sc25519_muladd()
1256 s16 += carry15; in sc25519_muladd()
1273 s16 -= s23 * 683901; in sc25519_muladd()
1325 carry16 = (s16 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd()
1327 s16 -= carry16 * ((uint64_t) 1L << 21); in sc25519_muladd()
1342 s16 += carry15; in sc25519_muladd()
1352 s4 += s16 * 666643; in sc25519_muladd()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02.h33 s16 temp_offset;
133 s16 coverage_class;
186 s16 coverage_class);
H A Dmt792x.h107 s16 coverage_class;
279 void mt792x_set_coverage_class(struct ieee80211_hw *hw, s16 coverage_class);
/freebsd/sys/contrib/dev/rtw89/
H A Drtw8852b.h
H A Drtw8852a.c1367 enum rtw89_phy_idx phy_idx, s16 ref) in rtw8852a_bb_cal_txpwr_ref()
1372 s16 pwr_s10_3 = 0; in rtw8852a_set_txpwr_ul_tb_offset()
1373 s16 rf_pwr_cw = 0; in rtw8852a_set_txpwr_ul_tb_offset()
1378 pwr_s10_3 = (ref << 1) + (s16)(ofst_int) + (s16)(base_cw_0db << 3); in rtw8852a_set_txpwr_ul_tb_offset()
1381 rf_pwr_cw = clamp_t(s16, rf_pwr_cw, 15, 63); in rtw8852a_set_txpwr_ul_tb_offset()
1384 tssi_ofst_cw = (u32)((s16)tssi_16dbm_cw + (ref << 1) - (16 << 3)); in rtw8852a_set_txpwr_ul_tb_offset()
1424 s16 ref_ofdm = 0; in rtw8852a_set_txpwr_ref()
1425 s16 ref_cck = 0; in rtw8852a_set_txpwr_ref()
1575 void rtw8852a_bb_set_power(struct rtw89_dev *rtwdev, s16 pwr_db in rtw8852a_bb_cfg_tx_path()
[all...]
H A Drtw8852a.h104 void rtw8852a_bb_set_power(struct rtw89_dev *rtwdev, s16 pwr_dbm,
H A Drtw8851b.c1612 enum rtw89_phy_idx phy_idx, s16 ref) in rtw8851b_bb_cal_txpwr_ref()
1617 s16 pwr_s10_3; in rtw8851b_set_txpwr_ref()
1618 s16 rf_pwr_cw; in rtw8851b_set_txpwr_ref()
1623 pwr_s10_3 = (ref << 1) + (s16)(ofst_int) + (s16)(base_cw_0db << 3); in rtw8851b_set_txpwr_ref()
1626 rf_pwr_cw = clamp_t(s16, rf_pwr_cw, 15, 63); in rtw8851b_set_txpwr_ref()
1629 tssi_ofst_cw = (u32)((s16)tssi_16dbm_cw + (ref << 1) - (16 << 3)); in rtw8851b_set_txpwr_ref()
1646 const s16 ref_ofdm = 0; in rtw8851b_set_txpwr_ref()
1647 const s16 ref_cck = 0;
2130 s16 dat in rtw8851b_btc_update_bt_cnt()
[all...]
H A Drtw8852b.c642 s16 data:9; in rtw8852b_read_efuse()
650 s16 data:9; in rtw8852b_read_efuse()
/freebsd/sys/dev/qat/qat_api/qat_direct/include/
H A Dadf_kernel_types.h12 #define s16 int16_t macro
/freebsd/sys/dev/ixl/
H A Dixl_pf.h383 void ixl_add_filter(struct ixl_vsi *, const u8 *, s16 vlan);
384 void ixl_del_filter(struct ixl_vsi *, const u8 *, s16 vlan);
419 ixl_find_filter(struct ixl_ftl_head *, const u8 *, s16);
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLegalizerInfo.cpp39 const LLT s16 = LLT::scalar(16); in ARMLegalizerInfo() local
52 .legalForCartesianProduct({s8, s16, s32}, {s1, s8, s16}); in ARMLegalizerInfo()
117 {s16, p0, s16, 8}, in ARMLegalizerInfo()
/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Dtypes.h47 typedef int16_t s16; typedef
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c4643 int64_t s16 = kBottom21Bits & load_3(s + 42); in x25519_sc_reduce() local
4674 s16 -= s23 * 683901; in x25519_sc_reduce()
4732 carry16 = (s16 + (1 << 20)) >> 21; in x25519_sc_reduce()
4734 s16 -= carry16 * (1 << 21); in x25519_sc_reduce()
4749 s16 += carry15; in x25519_sc_reduce()
4760 s4 += s16 * 666643; in x25519_sc_reduce()
4761 s5 += s16 * 470296; in x25519_sc_reduce()
4762 s6 += s16 * 654183; in x25519_sc_reduce()
4763 s7 -= s16 * 997805; in x25519_sc_reduce()
4764 s8 += s16 * 136657; in x25519_sc_reduce()
[all …]
/freebsd/contrib/ofed/include/
H A Dtypes.h39 typedef int16_t s16; typedef
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dtt.c557 return ((s16)le16_to_cpu(*(__le16 *)a) - in compare_temps()
558 (s16)le16_to_cpu(*(__le16 *)b)); in compare_temps()
573 twd->thresholds[twd->count++] = cpu_to_le16((s16)(trip->temperature / 1000)); in iwl_mvm_send_temp_report_ths_cmd()
601 sort(cmd.thresholds, twd.count, sizeof(s16), compare_temps, NULL); in iwl_mvm_send_temp_report_ths_cmd()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmt7615.h176 s16 coverage_class;
199 s16 last_freq_offset;
268 s16 power;
/freebsd/contrib/wpa/src/utils/
H A Dcommon.h95 typedef INT16 s16; typedef
107 typedef INT16 s16; typedef
124 typedef int16_t s16; typedef
/freebsd/sys/geom/part/
H A Dg_part_gpt.c1432 g_gpt_utf8_to_utf16(const uint8_t *s8, uint16_t *s16, size_t s16len) in g_gpt_utf8_to_utf16() argument
1441 bzero(s16, s16len << 1); in g_gpt_utf8_to_utf16()
1448 s16[s16idx++] = htole16(0xfffd); in g_gpt_utf8_to_utf16()
1482 s16[s16idx++] = in g_gpt_utf8_to_utf16()
1484 s16[s16idx++] = in g_gpt_utf8_to_utf16()
1487 s16[s16idx++] = (utfchar >= 0x10000) ? 0 : in g_gpt_utf8_to_utf16()
1496 s16[s16idx++] = htole16(0xfffd); in g_gpt_utf8_to_utf16()

12345