Home
last modified time | relevance | path

Searched refs:lshift (Results 1 – 25 of 176) sorted by relevance

12345678

/netbsd-src/external/lgpl3/gmp/dist/mpn/generic/
H A Dget_d.c141 int lshift, nbits; in mpn_get_d() local
177 count_leading_zeros (lshift, mlo); in mpn_get_d()
179 exp -= (lshift - GMP_NAIL_BITS) + 1; in mpn_get_d()
180 mlo <<= lshift; in mpn_get_d()
182 nbits = GMP_LIMB_BITS - lshift; in mpn_get_d()
206 count_leading_zeros (lshift, x); in mpn_get_d()
208 exp -= (lshift - GMP_NAIL_BITS) + 1; in mpn_get_d()
209 x <<= lshift; in mpn_get_d()
212 if (lshift < 11) /* FIXME: never true if NUMB < 20 bits */ in mpn_get_d()
217 nbits = GMP_LIMB_BITS - lshift - 21; in mpn_get_d()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpn/sparc64/
H A Ddive_1.c68 unsigned rshift, lshift; in mpn_divexact_1() local
90 lshift = 64 - rshift; in mpn_divexact_1()
99 lshift = 0; in mpn_divexact_1()
114 ls = (s >> rshift) | ((s_next << lshift) & lshift_mask); in mpn_divexact_1()
141 ls = (s >> rshift) | ((s_next << lshift) & lshift_mask); in mpn_divexact_1()
/netbsd-src/external/lgpl3/gmp/dist/mpn/alpha/
H A Ddive_1.c62 unsigned rshift, lshift; in mpn_divexact_1() local
82 lshift = 64 - rshift; in mpn_divexact_1()
94 s = sr | ((s_next << lshift) & lshift_mask); in mpn_divexact_1()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Headers/ppc_wrappers/
H A Demmintrin.h1467 __v8hu lshift; in _mm_slli_epi16() local
1473 lshift = (__v8hu) vec_splat_s16(__B); in _mm_slli_epi16()
1475 lshift = vec_splats ((unsigned short) __B); in _mm_slli_epi16()
1477 result = vec_sl ((__v8hi) __A, lshift); in _mm_slli_epi16()
1486 __v4su lshift; in _mm_slli_epi32() local
1492 lshift = (__v4su) vec_splat_s32(__B); in _mm_slli_epi32()
1494 lshift = vec_splats ((unsigned int) __B); in _mm_slli_epi32()
1496 result = vec_sl ((__v4si) __A, lshift); in _mm_slli_epi32()
1506 __v2du lshift; in _mm_slli_epi64() local
1512 lshift = (__v2du) vec_splat_s32(__B); in _mm_slli_epi64()
[all …]
/netbsd-src/lib/libc/gdtoa/
H A Dstrtodg.c252 b = lshift(b, -bdif);
684 rvb = lshift(rvb, j);
770 bb = lshift(bb, bb2);
782 bd = lshift(bd, bd2);
787 bs = lshift(bs, bs2);
837 delta = lshift(delta,1);
947 rvb = lshift(rvb, j = nbits - rvbits);
959 ab = lshift(ab, abe);
982 rvb = lshift(rvb, 1);
1039 rvb = lshift(rvb, j);
H A Ddtoa.c607 b = lshift(b, b2);
612 S = lshift(S, s2);
644 mhi = lshift(mhi, m2);
659 mhi = lshift(mhi, Log2P);
712 b = lshift(b, 1);
789 b = lshift(b, 1);
H A Dgdtoa.c605 b = lshift(b, b2);
610 S = lshift(S, s2);
644 mhi = lshift(mhi, m2);
659 mhi = lshift(mhi, 1);
720 b = lshift(b, 1);
788 b = lshift(b, 1);
H A Dg_ddfmt.c121 x = lshift(x, i);
127 y = lshift(y, -i);
H A Dstrtod.c661 bb = lshift(bb, bb2);
671 bd = lshift(bd, bd2);
676 bs = lshift(bs, bs2);
714 delta = lshift(delta,Log2P);
808 delta = lshift(delta,Log2P);
H A Dgdtoaimp.h564 #define lshift __lshift_D2A macro
615 extern Bigint *lshift ANSI((Bigint*, int));
H A DstrtoIg.c121 b1 = lshift(b1, 1);
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dfixed-value.c409 f->data = f->data.lshift (-GET_MODE_FBIT (f->mode), in do_fixed_multiply()
498 r = r.lshift (-GET_MODE_FBIT (f->mode), in do_fixed_multiply()
523 f->data = a->data.lshift (GET_MODE_FBIT (f->mode), in do_fixed_divide()
578 mod = mod.lshift (1); in do_fixed_divide()
585 quo_s = quo_s.lshift (1); in do_fixed_divide()
597 s = s.lshift (1); in do_fixed_divide()
642 f->data = a->data.lshift (left_p ? b->data.low : -b->data.low, in do_fixed_shift()
658 temp_low = a->data.lshift (b->data.low, in do_fixed_shift()
821 temp_low = a->data.lshift (amount, in fixed_convert()
884 temp = a->data.lshift (GET_MODE_FBIT (mode) - GET_MODE_FBIT (a->mode), in fixed_convert()
H A Ddouble-int.h131 double_int lshift (HOST_WIDE_INT count) const;
132 double_int lshift (HOST_WIDE_INT count, unsigned int prec, bool arith) const;
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dfixed-value.cc409 f->data = f->data.lshift (-GET_MODE_FBIT (f->mode), in do_fixed_multiply()
498 r = r.lshift (-GET_MODE_FBIT (f->mode), in do_fixed_multiply()
523 f->data = a->data.lshift (GET_MODE_FBIT (f->mode), in do_fixed_divide()
578 mod = mod.lshift (1); in do_fixed_divide()
585 quo_s = quo_s.lshift (1); in do_fixed_divide()
597 s = s.lshift (1); in do_fixed_divide()
642 f->data = a->data.lshift (left_p ? b->data.low : -b->data.low, in do_fixed_shift()
658 temp_low = a->data.lshift (b->data.low, in do_fixed_shift()
820 temp_low = a->data.lshift (amount, in fixed_convert()
883 temp = a->data.lshift (GET_MODE_FBIT (mode) - GET_MODE_FBIT (a->mode), in fixed_convert()
H A Ddouble-int.h131 double_int lshift (HOST_WIDE_INT count) const;
132 double_int lshift (HOST_WIDE_INT count, unsigned int prec, bool arith) const;
H A Dmatch.pd96 lshift rshift)
369 (trunc_div (convert?@0 @3) (convert2? (lshift integer_onep@1 @2)))
707 (lshift INTEGER_CST@1 @2))
709 (for shift (lshift rshift)
902 (mult:c @0 (convert? (lshift integer_onep@1 @2)))
905 (lshift @0 @2)))
908 (for shift (lshift rshift)
924 (lshift integer_onep@0 (minus@1 INTEGER_CST@2 @3))
929 (rshift (lshift @0 @2) @3)
932 (convert (rshift (lshift (convert:utype @0) @2) @3))))))
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/
H A Dbn_div.c145 int rshift = BN_num_bits_word(d[top - 1]), lshift, i; in bn_left_align() local
147 lshift = BN_BITS2 - rshift; in bn_left_align()
154 d[i] = ((n << lshift) | m) & BN_MASK2; in bn_left_align()
158 return lshift; in bn_left_align()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_div.c145 int rshift = BN_num_bits_word(d[top - 1]), lshift, i; in bn_left_align() local
147 lshift = BN_BITS2 - rshift; in bn_left_align()
154 d[i] = ((n << lshift) | m) & BN_MASK2; in bn_left_align()
158 return lshift; in bn_left_align()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dbntests.pl44 my $lshift = bn($s{'LShift'});
47 return if $lshift == $a->blsft($n);
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dbntests.pl44 my $lshift = bn($s{'LShift'});
47 return if $lshift == $a->blsft($n);
/netbsd-src/external/lgpl3/gmp/dist/
H A DAUTHORS14 Andreas Schwab mpn/m68k/lshift.asm, mpn/m68k/rshift.asm
93 mpn/sparc64/{rshift,lshift,lshiftc}.asm
105 mpn/powerpc64/p6/{lshift,lshiftc,rshift}.asm,
/netbsd-src/bin/csh/
H A Dsem.c123 lshift(t->t_dcom, 2); in execute()
130 lshift(t->t_dcom, 1); in execute()
138 lshift(t->t_dcom, 1); in execute()
145 lshift(t->t_dcom, 1); in execute()
/netbsd-src/external/lgpl3/gmp/dist/mpn/x86/k7/mmx/
H A Dlshift.asm177 C mm6 lshift
252 movd %ecx, %mm6 C new lshift
270 movd %ecx, %mm7 C rshift = 64-lshift
/netbsd-src/external/lgpl3/gmp/dist/mpn/x86/k6/k62mmx/
H A Dlshift.asm227 C Two more limbs: lshift mm2, OR it with rshifted mm0, mm0 becomes
244 C lshift mm2, OR with rshifted mm0, mm1 becomes lshifted mm0
/netbsd-src/external/gpl3/gcc/dist/contrib/vim-gcc-dev/syntax/
H A Dgcc-match.vim35 \ lshift rshift lrotate rrotate

12345678