Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 1309) sorted by relevance

12345678910>>...53

/external/compiler-rt/lib/builtins/ppc/
Ddivtc3.c13 (x).s.hi = crt_copysign(crt_isinf((x).s.hi) ? 1.0 : 0.0, (x).s.hi); \
24 const double logbw = crt_logb(crt_fmax(crt_fabs(cDD.s.hi), crt_fabs(dDD.s.hi) )); in __divtc3()
30 cDD.s.hi = crt_scalbn(cDD.s.hi, -ilogbw); in __divtc3()
32 dDD.s.hi = crt_scalbn(dDD.s.hi, -ilogbw); in __divtc3()
43 real.s.hi = crt_scalbn(real.s.hi, -ilogbw); in __divtc3()
45 imag.s.hi = crt_scalbn(imag.s.hi, -ilogbw); in __divtc3()
48 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) in __divtc3()
54 if ((rDD.s.hi == 0.0) && (!crt_isnan(aDD.s.hi) || in __divtc3()
55 !crt_isnan(bDD.s.hi))) in __divtc3()
57 real.s.hi = crt_copysign(CRT_INFINITY,cDD.s.hi) * aDD.s.hi; in __divtc3()
[all …]
Dmultc3.c9 (x).s.hi = crt_copysign(crt_isinf((x).s.hi) ? 1.0 : 0.0, (x).s.hi); \
14 if (crt_isnan((x).s.hi)) { \
15 (x).s.hi = crt_copysign(0.0, (x).s.hi); \
31 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) in __multc3()
40 if (crt_isinf(aDD.s.hi) || crt_isinf(bDD.s.hi)) in __multc3()
49 if (crt_isinf(cDD.s.hi) || crt_isinf(dDD.s.hi)) in __multc3()
65 if (crt_isinf(acDD.s.hi) || crt_isinf(bdDD.s.hi) || in __multc3()
66 crt_isinf(adDD.s.hi) || crt_isinf(bcDD.s.hi)) in __multc3()
78 real.s.hi = CRT_INFINITY * (aDD.s.hi*cDD.s.hi - bDD.s.hi*dDD.s.hi); in __multc3()
80 imag.s.hi = CRT_INFINITY * (aDD.s.hi*dDD.s.hi + bDD.s.hi*cDD.s.hi); in __multc3()
/external/python/cpython3/Modules/_decimal/libmpdec/literature/
Dmulmod-64.txt21 (1) hi * 2**64 + lo = a * b
29 (3) R(hi, lo) = hi * z - hi + lo
35 a) Set (hi, lo) to the result of a * b.
37 b) Set (hi', lo') to the result of R(hi, lo).
39 c) Repeat step b) until 0 <= hi' * 2**64 + lo' < 2*p.
47 hi * 2**64 + lo == hi * z - hi + lo (mod p)
52 hi * 2**64 + lo = (2**64 - z + 1) * hi + z * hi - hi + lo
54 = p * hi + z * hi - hi + lo
56 == z * hi - hi + lo (mod p)
64 def R(hi, lo, z):
[all …]
Dumodarith.lisp253 (defun dw-reduce (hi lo m base)
254 (let* ((r1 (mod hi m))
260 (< hi base) (< lo base)
262 (natp hi) (natp lo))
263 (equal (dw-reduce hi lo m base)
264 (mod (+ (* hi base) lo) m))))
294 (< hi base) (< lo base)
296 (natp hi) (natp lo)
297 (equal r1 (mod hi m)))
301 ("Subgoal 1''" :cases ((< (+ lo (* base (mod hi m))) (* base m))))
[all …]
/external/protobuf/js/binary/
Darith.js53 jspb.arith.UInt64 = function(lo, hi) { argument
63 this.hi = hi;
74 if (this.hi < other.hi || (this.hi == other.hi && this.lo < other.lo)) {
76 } else if (this.hi == other.hi && this.lo == other.lo) {
89 var hi = this.hi >>> 1;
90 var lo = (this.lo >>> 1) | ((this.hi & 1) << 31);
91 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
101 var hi = (this.hi << 1) | (this.lo >>> 31);
102 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
111 return !!(this.hi & 0x80000000);
[all …]
Darith_test.js60 b.hi = a.hi - 1;
67 a.hi = 0;
70 a.hi = 0x80000000;
84 assertEquals(a.hi, 0);
88 assertEquals(orig.hi, 0);
90 assertEquals(a.hi, 0);
93 assertEquals(a.hi, 0);
98 assertEquals(a.hi, 0);
101 assertEquals(a.hi, 1);
104 assertEquals(a.hi, 2);
[all …]
/external/python/cpython2/Lib/
Dbisect.py3 def insort_right(a, x, lo=0, hi=None): argument
14 if hi is None:
15 hi = len(a)
16 while lo < hi:
17 mid = (lo+hi)//2
18 if x < a[mid]: hi = mid
24 def bisect_right(a, x, lo=0, hi=None): argument
37 if hi is None:
38 hi = len(a)
39 while lo < hi:
[all …]
/external/python/cpython3/Lib/
Dbisect.py3 def insort_right(a, x, lo=0, hi=None): argument
14 if hi is None:
15 hi = len(a)
16 while lo < hi:
17 mid = (lo+hi)//2
18 if x < a[mid]: hi = mid
24 def bisect_right(a, x, lo=0, hi=None): argument
37 if hi is None:
38 hi = len(a)
39 while lo < hi:
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dmct.c238 __m128i lo, hi; in opj_mct_encode_real() local
245 hi = _mm_shuffle_epi32(r, _MM_SHUFFLE(3, 3, 1, 1)); in opj_mct_encode_real()
247 hi = _mm_mul_epi32(hi, ry); in opj_mct_encode_real()
249 hi = _mm_add_epi64(hi, mulround); in opj_mct_encode_real()
251 hi = _mm_slli_epi64(hi, 32 - 13); in opj_mct_encode_real()
252 y = _mm_blend_epi16(lo, hi, 0xCC); in opj_mct_encode_real()
255 hi = _mm_shuffle_epi32(g, _MM_SHUFFLE(3, 3, 1, 1)); in opj_mct_encode_real()
257 hi = _mm_mul_epi32(hi, gy); in opj_mct_encode_real()
259 hi = _mm_add_epi64(hi, mulround); in opj_mct_encode_real()
261 hi = _mm_slli_epi64(hi, 32 - 13); in opj_mct_encode_real()
[all …]
/external/python/cpython2/Modules/
D_bisectmodule.c9 internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi) in internal_bisect_right() argument
18 if (hi == -1) { in internal_bisect_right()
19 hi = PySequence_Size(list); in internal_bisect_right()
20 if (hi < 0) in internal_bisect_right()
23 while (lo < hi) { in internal_bisect_right()
27 mid = ((size_t)lo + hi) / 2; in internal_bisect_right()
36 hi = mid; in internal_bisect_right()
48 Py_ssize_t hi = -1; in bisect_right() local
53 keywords, &list, &item, &lo, &hi)) in bisect_right()
55 index = internal_bisect_right(list, item, lo, hi); in bisect_right()
[all …]
/external/arm-neon-tests/
Dref_dsp.c51 int32_t lo, hi; in exec_dsp() local
319 hi = 0x12345678; in exec_dsp()
321 fprintf(ref_file, "smlalbb(&%#x, &%#x, %#x, %#x) = ", lo, hi, svar1, svar2); in exec_dsp()
322 smlalbb(&lo, &hi, svar1, svar2); in exec_dsp()
323 fprintf(ref_file, "%#x%#x\n", hi, lo); in exec_dsp()
324 hi = 0x12345678; in exec_dsp()
326 fprintf(ref_file, "smlalbt(&%#x, &%#x, %#x, %#x) = ", lo, hi, svar1, svar2); in exec_dsp()
327 smlalbt(&lo, &hi, svar1, svar2); in exec_dsp()
328 fprintf(ref_file, "%#x%#x\n", hi, lo); in exec_dsp()
329 hi = 0x12345678; in exec_dsp()
[all …]
/external/python/cpython3/Modules/
D_bisectmodule.c12 internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi) in internal_bisect_right() argument
22 if (hi == -1) { in internal_bisect_right()
23 hi = PySequence_Size(list); in internal_bisect_right()
24 if (hi < 0) in internal_bisect_right()
27 while (lo < hi) { in internal_bisect_right()
31 mid = ((size_t)lo + hi) / 2; in internal_bisect_right()
40 hi = mid; in internal_bisect_right()
52 Py_ssize_t hi = -1; in bisect_right() local
57 keywords, &list, &item, &lo, &hi)) in bisect_right()
59 index = internal_bisect_right(list, item, lo, hi); in bisect_right()
[all …]
/external/vixl/test/aarch32/
Dtest-assembler-cond-rdlow-operand-imm8-in-it-block-t32.cc107 {{hi, r3, 187}, true, hi, "hi r3 187", "hi_r3_187"},
133 {{hi, r4, 176}, true, hi, "hi r4 176", "hi_r4_176"},
136 {{hi, r0, 145}, true, hi, "hi r0 145", "hi_r0_145"},
138 {{hi, r0, 124}, true, hi, "hi r0 124", "hi_r0_124"},
147 {{hi, r3, 101}, true, hi, "hi r3 101", "hi_r3_101"},
150 {{hi, r7, 32}, true, hi, "hi r7 32", "hi_r7_32"},
210 {{hi, r5, 240}, true, hi, "hi r5 240", "hi_r5_240"},
220 {{hi, r2, 102}, true, hi, "hi r2 102", "hi_r2_102"},
234 {{hi, r7, 3}, true, hi, "hi r7 3", "hi_r7_3"},
242 {{hi, r6, 204}, true, hi, "hi r6 204", "hi_r6_204"},
[all …]
Dtest-assembler-cond-rdlow-rnlow-operand-immediate-imm3-in-it-block-t32.cc117 {{hi, r3, r1, 0}, true, hi, "hi r3 r1 0", "hi_r3_r1_0"},
129 {{hi, r4, r7, 6}, true, hi, "hi r4 r7 6", "hi_r4_r7_6"},
130 {{hi, r1, r2, 5}, true, hi, "hi r1 r2 5", "hi_r1_r2_5"},
140 {{hi, r0, r4, 5}, true, hi, "hi r0 r4 5", "hi_r0_r4_5"},
149 {{hi, r2, r6, 0}, true, hi, "hi r2 r6 0", "hi_r2_r6_0"},
150 {{hi, r1, r4, 0}, true, hi, "hi r1 r4 0", "hi_r1_r4_0"},
153 {{hi, r2, r4, 6}, true, hi, "hi r2 r4 6", "hi_r2_r4_6"},
158 {{hi, r6, r2, 6}, true, hi, "hi r6 r2 6", "hi_r6_r2_6"},
163 {{hi, r4, r5, 2}, true, hi, "hi r4 r5 2", "hi_r4_r5_2"},
177 {{hi, r1, r6, 6}, true, hi, "hi r1 r6 6", "hi_r1_r6_6"},
[all …]
Dtest-assembler-cond-rd-operand-rn-in-it-block-t32.cc1896 {{hi, r0, r0}, true, hi, "hi r0 r0", "hi_r0_r0"},
1897 {{hi, r0, r1}, true, hi, "hi r0 r1", "hi_r0_r1"},
1898 {{hi, r0, r2}, true, hi, "hi r0 r2", "hi_r0_r2"},
1899 {{hi, r0, r3}, true, hi, "hi r0 r3", "hi_r0_r3"},
1900 {{hi, r0, r4}, true, hi, "hi r0 r4", "hi_r0_r4"},
1901 {{hi, r0, r5}, true, hi, "hi r0 r5", "hi_r0_r5"},
1902 {{hi, r0, r6}, true, hi, "hi r0 r6", "hi_r0_r6"},
1903 {{hi, r0, r7}, true, hi, "hi r0 r7", "hi_r0_r7"},
1904 {{hi, r0, r8}, true, hi, "hi r0 r8", "hi_r0_r8"},
1905 {{hi, r0, r9}, true, hi, "hi r0 r9", "hi_r0_r9"},
[all …]
/external/skia/src/core/
DSkBitmapProcState_filter.h32 uint32_t hi = ((a00 >> 8) & mask) * scale; in Filter_32_opaque() local
36 hi += ((a01 >> 8) & mask) * scale; in Filter_32_opaque()
40 hi += ((a10 >> 8) & mask) * scale; in Filter_32_opaque()
43 hi += ((a11 >> 8) & mask) * xy; in Filter_32_opaque()
45 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in Filter_32_opaque()
62 uint32_t hi = ((a00 >> 8) & mask) * scale; in Filter_32_alpha() local
66 hi += ((a01 >> 8) & mask) * scale; in Filter_32_alpha()
70 hi += ((a10 >> 8) & mask) * scale; in Filter_32_alpha()
73 hi += ((a11 >> 8) & mask) * xy; in Filter_32_alpha()
76 hi = ((hi >> 8) & mask) * alphaScale; in Filter_32_alpha()
[all …]
/external/skqp/src/core/
DSkBitmapProcState_filter.h32 uint32_t hi = ((a00 >> 8) & mask) * scale; in Filter_32_opaque() local
36 hi += ((a01 >> 8) & mask) * scale; in Filter_32_opaque()
40 hi += ((a10 >> 8) & mask) * scale; in Filter_32_opaque()
43 hi += ((a11 >> 8) & mask) * xy; in Filter_32_opaque()
45 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in Filter_32_opaque()
62 uint32_t hi = ((a00 >> 8) & mask) * scale; in Filter_32_alpha() local
66 hi += ((a01 >> 8) & mask) * scale; in Filter_32_alpha()
70 hi += ((a10 >> 8) & mask) * scale; in Filter_32_alpha()
73 hi += ((a11 >> 8) & mask) * xy; in Filter_32_alpha()
76 hi = ((hi >> 8) & mask) * alphaScale; in Filter_32_alpha()
[all …]
/external/python/cpython3/Modules/_decimal/libmpdec/
Dumodarith.h102 dw_reduce(mpd_uint_t hi, mpd_uint_t lo, mpd_uint_t m) in dw_reduce() argument
106 _mpd_div_word(&w, &r1, hi, m); in dw_reduce()
118 dw_submod(mpd_uint_t a, mpd_uint_t hi, mpd_uint_t lo, mpd_uint_t m) in dw_submod() argument
122 r = dw_reduce(hi, lo, m); in dw_submod()
153 mpd_uint_t hi, lo, x, y; in x64_mulmod() local
156 _mpd_mul_words(&hi, &lo, a, b); in x64_mulmod()
161 x = y = hi; in x64_mulmod()
162 hi >>= 32; in x64_mulmod()
165 if (x > lo) hi--; in x64_mulmod()
169 if (lo < y) hi++; in x64_mulmod()
[all …]
Dbasearith.h99 _mpd_div_words_r(mpd_uint_t *q, mpd_uint_t *r, mpd_uint_t hi, mpd_uint_t lo) in _mpd_div_words_r() argument
110 _mpd_mul_words(&h, &l, mprime_rdx, hi-n1_neg); in _mpd_div_words_r()
113 t = h + hi; in _mpd_div_words_r()
125 h += hi; in _mpd_div_words_r()
143 _mpd_div_words_r(mpd_uint_t *q, mpd_uint_t *r, mpd_uint_t hi, mpd_uint_t lo) in _mpd_div_words_r() argument
145 _mpd_div_words(q, r, hi, lo, MPD_RADIX); in _mpd_div_words_r()
154 mpd_uint_t hi, lo; in _mpd_singlemul() local
156 _mpd_mul_words(&hi, &lo, u, v); in _mpd_singlemul()
157 _mpd_div_words_r(&w[1], &w[0], hi, lo); in _mpd_singlemul()
164 mpd_uint_t hi, lo; in _mpd_mul_2_le2() local
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dsimd16intrin.h35 __m256 hi; member
40 __m256d hi; member
45 __m256i hi; member
51 #define _simd16_setmask(hi, lo) (((hi) << 8) | (lo)) argument
83 result.hi = intrin();\
94 result.hi = intrin(a.hi);\
105 result.hi = intrin(a.hi, b.hi);\
116 result.hi = intrin(a.hi, b.hi, c.hi);\
129 result.hi = _mm256_set1_ps(a); in SIMD16_EMU_AVX512_0()
139 result.hi = _mm256_set1_epi8(a); in _simd16_set1_epi8()
[all …]
/external/valgrind/none/tests/mips32/
Dvfp.stdout.exp-mips32r2-fpu_64-LE91 ldxc1 $f0, $a3($v0) :: ft lo: 0x4095a266, ft hi: 0x66666666
92 ldxc1 $f0, $a3($v0) :: ft lo: 0xbff00000, ft hi: 0x0
93 ldxc1 $f0, $a3($v0) :: ft lo: 0x3ff00000, ft hi: 0x0
94 ldxc1 $f0, $a3($v0) :: ft lo: 0x252a2e2b, ft hi: 0x262d2d2a
95 ldxc1 $f0, $a3($v0) :: ft lo: 0xffffffff, ft hi: 0xffffffff
96 ldxc1 $f0, $a3($v0) :: ft lo: 0x41d26580, ft hi: 0xb487e5c9
97 ldxc1 $f0, $a3($v0) :: ft lo: 0x42026580, ft hi: 0xb750e388
98 ldxc1 $f0, $a3($v0) :: ft lo: 0x3e45798e, ft hi: 0xe2308c3a
99 ldxc1 $f0, $a3($v0) :: ft lo: 0x3fbf9add, ft hi: 0x3746f65f
100 ldxc1 $f0, $a3($v0) :: ft lo: 0x4095a266, ft hi: 0x66666666
[all …]
Dvfp.stdout.exp-mips32r2-fpu_64-BE91 ldxc1 $f0, $a3($v0) :: ft lo: 0x66666666, ft hi: 0x4095a266
92 ldxc1 $f0, $a3($v0) :: ft lo: 0x0, ft hi: 0xbff00000
93 ldxc1 $f0, $a3($v0) :: ft lo: 0x0, ft hi: 0x3ff00000
94 ldxc1 $f0, $a3($v0) :: ft lo: 0x262d2d2a, ft hi: 0x252a2e2b
95 ldxc1 $f0, $a3($v0) :: ft lo: 0xffffffff, ft hi: 0xffffffff
96 ldxc1 $f0, $a3($v0) :: ft lo: 0xb487e5c9, ft hi: 0x41d26580
97 ldxc1 $f0, $a3($v0) :: ft lo: 0xb750e388, ft hi: 0x42026580
98 ldxc1 $f0, $a3($v0) :: ft lo: 0xe2308c3a, ft hi: 0x3e45798e
99 ldxc1 $f0, $a3($v0) :: ft lo: 0x3746f65f, ft hi: 0x3fbf9add
100 ldxc1 $f0, $a3($v0) :: ft lo: 0x66666666, ft hi: 0x4095a266
[all …]
/external/compiler-rt/test/builtins/Unit/ppc/
Dqsub_test.c109 a.hi = edgeCases[i].xhi; in testEdgeCases()
111 b.hi = edgeCases[i].yhi; in testEdgeCases()
113 r.hi = edgeCases[i].rhi; in testEdgeCases()
122 if (r.hi != r.hi) { in testEdgeCases()
123 if (c.hi == c.hi) in testEdgeCases()
131 else if (r.hi == 0.0) in testEdgeCases()
135 error = ((c.hi != r.hi) || (c.lo != r.lo)); in testEdgeCases()
138 …ror on edge case %a - %a: expected (%a, %a), got (%a, %a).\n", a.hi, b.hi, r.hi, r.lo, c.hi, c.lo); in testEdgeCases()
1820 a.hi = accuracyTests[i].xhi; in testAccuracy()
1822 b.hi = -accuracyTests[i].yhi; in testAccuracy()
[all …]
Dqadd_test.c109 a.hi = edgeCases[i].xhi; in testEdgeCases()
111 b.hi = edgeCases[i].yhi; in testEdgeCases()
113 r.hi = edgeCases[i].rhi; in testEdgeCases()
120 if (r.hi != r.hi) { in testEdgeCases()
121 if (c.hi == c.hi) in testEdgeCases()
129 else if (r.hi == 0.0) in testEdgeCases()
133 error = ((c.hi != r.hi) || (c.lo != r.lo)); in testEdgeCases()
136 …ror on edge case %a + %a: expected (%a, %a), got (%a, %a).\n", a.hi, b.hi, r.hi, r.lo, c.hi, c.lo); in testEdgeCases()
1818 a.hi = accuracyTests[i].xhi; in testAccuracy()
1820 b.hi = accuracyTests[i].yhi; in testAccuracy()
[all …]
Dqdiv_test.c109 a.hi = edgeCases[i].xhi; in testEdgeCases()
111 b.hi = edgeCases[i].yhi; in testEdgeCases()
113 r.hi = edgeCases[i].rhi; in testEdgeCases()
120 if (r.hi != r.hi) { in testEdgeCases()
121 if (c.hi == c.hi) in testEdgeCases()
129 else if (r.hi == 0.0) in testEdgeCases()
133 error = ((c.hi != r.hi) || (c.lo != r.lo)); in testEdgeCases()
136 …ror on edge case %a / %a: expected (%a, %a), got (%a, %a).\n", a.hi, b.hi, r.hi, r.lo, c.hi, c.lo); in testEdgeCases()
741 a.hi = accuracyTests[i].xhi; in testAccuracy()
743 b.hi = accuracyTests[i].yhi; in testAccuracy()
[all …]

12345678910>>...53