Home
last modified time | relevance | path

Searched refs:UINT16_C (Results 1 – 25 of 131) sorted by relevance

123456

/external/compiler-rt/test/builtins/Unit/
Dtruncsfhf2_test.c38 UINT16_C(0x7e00))) in main()
42 UINT16_C(0x7e00))) in main()
46 UINT16_C(0x7c00))) in main()
49 UINT16_C(0xfc00))) in main()
52 if (test__truncsfhf2(0.0f, UINT16_C(0x0))) in main()
54 if (test__truncsfhf2(-0.0f, UINT16_C(0x8000))) in main()
58 UINT16_C(0x4248))) in main()
61 UINT16_C(0xc248))) in main()
64 UINT16_C(0x7c00))) in main()
67 UINT16_C(0x6e62))) in main()
[all …]
Dtruncdfhf2_test.c38 UINT16_C(0x7e00))) in main()
42 UINT16_C(0x7e00))) in main()
46 UINT16_C(0x7c00))) in main()
49 UINT16_C(0xfc00))) in main()
52 if (test__truncdfhf2(0.0, UINT16_C(0x0))) in main()
54 if (test__truncdfhf2(-0.0, UINT16_C(0x8000))) in main()
58 UINT16_C(0x4248))) in main()
61 UINT16_C(0xc248))) in main()
64 UINT16_C(0x7c00))) in main()
67 UINT16_C(0x6e62))) in main()
[all …]
Dextendhfsf2_test.c37 if (test__extendhfsf2(UINT16_C(0x7e00), in main()
41 if (test__extendhfsf2(UINT16_C(0x7e00), in main()
45 if (test__extendhfsf2(UINT16_C(0x7c00), in main()
48 if (test__extendhfsf2(UINT16_C(0xfc00), in main()
52 if (test__extendhfsf2(UINT16_C(0x0), in main()
55 if (test__extendhfsf2(UINT16_C(0x8000), in main()
59 if (test__extendhfsf2(UINT16_C(0x4248), in main()
62 if (test__extendhfsf2(UINT16_C(0xc248), in main()
65 if (test__extendhfsf2(UINT16_C(0x7c00), in main()
68 if (test__extendhfsf2(UINT16_C(0x6e62), in main()
[all …]
/external/FP16/test/
Dalt-from-fp32-value.cc14 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
15 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
16 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
17 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
18 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
19 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
20 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
21 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
22 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
23 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dieee-from-fp32-value.cc14 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
15 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
16 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
17 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
18 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
19 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
20 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
21 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
22 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
23 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dieee-to-fp32-bits.cc10 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
11 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
12 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
13 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
14 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
15 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
16 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
17 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
18 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
19 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dieee-to-fp32-value.cc11 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
12 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
13 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
14 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
15 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
16 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
17 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
18 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
19 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
20 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dalt-to-fp32-bits.cc10 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
11 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
12 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
13 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
14 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
15 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
16 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
17 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
18 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
19 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
Dalt-to-fp32-value.cc11 const uint16_t min_po2_f16 = UINT16_C(0x0400); in TEST()
12 const uint16_t eighths_f16 = UINT16_C(0x3000); in TEST()
13 const uint16_t quarter_f16 = UINT16_C(0x3400); in TEST()
14 const uint16_t half_f16 = UINT16_C(0x3800); in TEST()
15 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST()
16 const uint16_t two_f16 = UINT16_C(0x4000); in TEST()
17 const uint16_t four_f16 = UINT16_C(0x4400); in TEST()
18 const uint16_t eight_f16 = UINT16_C(0x4800); in TEST()
19 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST()
20 const uint16_t thirtytwo_f16 = UINT16_C(0x5000); in TEST()
[all …]
/external/XNNPACK/eval/
Df16-f32-cvt.cc32 for (uint16_t n = UINT16_C(0x0400); n < UINT16_C(0x7C00); n += kBlockSize) { in TEST()
50 for (uint16_t n = UINT16_C(0x8400); n < UINT16_C(0xFC00); n += kBlockSize) { in TEST()
68 std::fill(inputs.begin(), inputs.end(), UINT16_C(0x0000)); in TEST()
80 std::fill(inputs.begin(), inputs.end(), UINT16_C(0x8000)); in TEST()
92 for (uint16_t n = 0; n < UINT16_C(0x0400); n += kBlockSize) { in TEST()
94 inputs[i] = std::max<uint16_t>(n + i, UINT16_C(0x0001)); in TEST()
110 for (uint16_t n = UINT16_C(0x8000); n < UINT16_C(0x8400); n += kBlockSize) { in TEST()
112 inputs[i] = std::max<uint16_t>(n + i, UINT16_C(0x8001)); in TEST()
128 std::fill(inputs.begin(), inputs.end(), UINT16_C(0x7C00)); in TEST()
140 std::fill(inputs.begin(), inputs.end(), UINT16_C(0xFC00)); in TEST()
[all …]
Df32-f16-cvt.cc110 const uint16_t reference_output = UINT16_C(0x0000); in TEST()
128 const uint16_t reference_output = UINT16_C(0x8000); in TEST()
142 const uint16_t reference_output = UINT16_C(0x0000); in TEST()
154 const uint16_t reference_output = UINT16_C(0x8000); in TEST()
170 const uint16_t reference_output = UINT16_C(0x7C00); in TEST()
188 const uint16_t reference_output = UINT16_C(0xFC00); in TEST()
202 const uint16_t reference_output = UINT16_C(0x7C00); in TEST()
214 const uint16_t reference_output = UINT16_C(0xFC00); in TEST()
230 ASSERT_GT(outputs[i], UINT16_C(0x7C00)) in TEST()
233 ASSERT_LT(outputs[i], UINT16_C(0x8000)) in TEST()
[all …]
Df16-exp-ulp.cc64 const uint16_t min_input = UINT16_C(0xCC55); in ExpError()
66 const uint16_t max_input = UINT16_C(0x498F); in ExpError()
97 x[i] = std::max<uint16_t>(n - i, UINT16_C(0x8000)); in ExpError()
99 std::fill(y.begin(), y.end(), UINT16_C(0x7E00) /* NaN */); in ExpError()
116 std::fill(y.begin(), y.end(), UINT16_C(0x7E00) /* NaN */); in ExpError()
Df16-sigmoid-ulp.cc70 const uint16_t min_input = UINT16_C(0xC8DA); in SigmoidError()
72 const uint16_t max_input = UINT16_C(0x4828); in SigmoidError()
102 x[i] = std::max<uint16_t>(n - i, UINT16_C(0x8000)); in SigmoidError()
104 std::fill(y.begin(), y.end(), UINT16_C(0x7E00) /* NaN */); in SigmoidError()
121 std::fill(y.begin(), y.end(), UINT16_C(0x7E00) /* NaN */); in SigmoidError()
Df16-expm1minus-ulp.cc64 const uint16_t min_input = UINT16_C(0xC828); in ExpM1Error()
95 x[i] = std::max<uint16_t>(n - i, UINT16_C(0x8000)); in ExpM1Error()
97 std::fill(y.begin(), y.end(), UINT16_C(0x7E00) /* NaN */); in ExpM1Error()
Df16-expminus-ulp.cc64 const uint16_t min_input = UINT16_C(0xC8DA); in ExpError()
95 x[i] = std::max<uint16_t>(n - i, UINT16_C(0x8000)); in ExpError()
97 std::fill(y.begin(), y.end(), UINT16_C(0x7E00) /* NaN */); in ExpError()
/external/cpuinfo/src/arm/linux/
Dmidr.c81 .model = UINT16_C(8916),
97 .model = UINT16_C(8939),
113 .model = UINT16_C(8956),
128 .model = UINT16_C(8976),
143 .model = UINT16_C(8992),
158 .model = UINT16_C(8994),
174 .model = UINT16_C(5422),
189 .model = UINT16_C(5430),
205 .model = UINT16_C(5433),
220 .model = UINT16_C(7420),
[all …]
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dquantization_util_test.cc85 UINT16_C(0x3000), // 0.125 in TEST()
86 UINT16_C(0x3400), // 0.25 in TEST()
87 UINT16_C(0x3800), // 0.5 in TEST()
88 UINT16_C(0x3C00), // 1 in TEST()
89 UINT16_C(0x4000), // 2 in TEST()
90 UINT16_C(0x4400) // 4 in TEST()
/external/FP16/bench/
Dieee-element.cc46 uint16_t fp16 = UINT16_C(0x7C00); in fp16_ieee_to_fp32_bits()
57 uint16_t fp16 = UINT16_C(0x7C00); in fp16_ieee_to_fp32_value()
94 uint16_t fp16 = UINT16_C(0x7C00); in TH_halfbits2float()
106 uint16_t fp16 = UINT16_C(0x7C00); in npy_halfbits_to_floatbits()
117 uint16_t fp16 = UINT16_C(0x7C00); in Eigen_half_to_float()
130 uint16_t fp16 = UINT16_C(0x7C00); in Float16Compressor_decompress()
141 uint16_t fp16 = UINT16_C(0x7C00); in half_float_detail_half2float_table()
154 uint16_t fp16 = UINT16_C(0x7C00); in half_float_detail_half2float_branch()
/external/XNNPACK/src/math/
Dcvt-f32-f16-neon.c27 const uint16x8_t vexph_mask = vdupq_n_u16(UINT16_C(0x7C00)); in xnn_math_f32_f16_cvt__neon()
28 const uint16x8_t vmanth_mask = vdupq_n_u16(UINT16_C(0x0FFF)); in xnn_math_f32_f16_cvt__neon()
29 const uint16x8_t vsignh_mask = vdupq_n_u16(UINT16_C(0x8000)); in xnn_math_f32_f16_cvt__neon()
30 const uint16x8_t vnanh = vdupq_n_u16(UINT16_C(0x7E00)); in xnn_math_f32_f16_cvt__neon()
Dcvt-f32-f16-scalar-fabsf.c27 const uint16_t vexph_mask = UINT16_C(0x7C00); in xnn_math_f32_f16_cvt__scalar_fabsf()
28 const uint16_t vmanth_mask = UINT16_C(0x0FFF); in xnn_math_f32_f16_cvt__scalar_fabsf()
29 const uint16_t vnanh = UINT16_C(0x7E00); in xnn_math_f32_f16_cvt__scalar_fabsf()
Dcvt-f32-f16-scalar-bitcast.c28 const uint16_t vexph_mask = UINT16_C(0x7C00); in xnn_math_f32_f16_cvt__scalar_bitcast()
29 const uint16_t vmanth_mask = UINT16_C(0x0FFF); in xnn_math_f32_f16_cvt__scalar_bitcast()
30 const uint16_t vnanh = UINT16_C(0x7E00); in xnn_math_f32_f16_cvt__scalar_bitcast()
/external/XNNPACK/bench/
Df16-velu.cc44 std::fill(y.begin(), y.end(), UINT16_C(0x7E00) /* NaN */); in f16_velu()
48 UINT16_C(0x3C00) /* prescale = 1.0h */, in f16_velu()
49 UINT16_C(0x3C00) /* alpha = 1.0h */, in f16_velu()
50 UINT16_C(0x3C00) /* beta = 1.0h */); in f16_velu()
/external/openscreen/cast/streaming/
Drtp_packet_parser_unittest.cc37 EXPECT_EQ(UINT16_C(0xbeef), result->sequence_number); in TEST()
74 EXPECT_EQ(UINT16_C(0xdead), result->sequence_number); in TEST()
112 EXPECT_EQ(UINT16_C(0xdead), result->sequence_number); in TEST()
150 EXPECT_EQ(UINT16_C(0xdead), result->sequence_number); in TEST()
191 EXPECT_EQ(UINT16_C(0xdead), result->sequence_number); in TEST()
/external/openscreen/util/
Dbig_endian_unittest.cc27 EXPECT_EQ(UINT16_C(0x0001), ReadBigEndian<uint16_t>(kInput)); in TEST()
28 EXPECT_EQ(UINT16_C(0x0102), ReadBigEndian<uint16_t>(kInput + 1)); in TEST()
29 EXPECT_EQ(UINT16_C(0x0203), ReadBigEndian<uint16_t>(kInput + 2)); in TEST()
62 EXPECT_EQ(UINT16_C(0x0102), ReadBigEndian<uint16_t>(scratch)); in TEST()
64 EXPECT_EQ(UINT16_C(0x0304), ReadBigEndian<uint16_t>(scratch + 1)); in TEST()
66 EXPECT_EQ(UINT16_C(0x0506), ReadBigEndian<uint16_t>(scratch + 2)); in TEST()
173 EXPECT_EQ(u16, UINT16_C(0x0304)); in TEST()
355 EXPECT_TRUE(writer.Write<uint16_t>(UINT16_C(0x0304))); in TEST()
/external/XNNPACK/src/f32-f16-vcvt/gen/
Dvcvt-neon-x8.c34 const uint16x8_t vexph_mask = vdupq_n_u16(UINT16_C(0x7C00)); in xnn_f32_f16_vcvt_ukernel__neon_x8()
35 const uint16x8_t vmanth_mask = vdupq_n_u16(UINT16_C(0x0FFF)); in xnn_f32_f16_vcvt_ukernel__neon_x8()
36 const uint16x8_t vsignh_mask = vdupq_n_u16(UINT16_C(0x8000)); in xnn_f32_f16_vcvt_ukernel__neon_x8()
37 const uint16x8_t vnanh = vdupq_n_u16(UINT16_C(0x7E00)); in xnn_f32_f16_vcvt_ukernel__neon_x8()

123456