Searched defs:shift (Results 1 - 25 of 311) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A Dmmx-shift-with-immediate.c4 void shift(__m64 a, __m64 b, int c) { function
/external/compiler-rt/lib/
H A Dfloatsidf.c45 const int shift = significandBits - exponent; local
46 result = (rep_t)(unsigned int)a << shift ^ implicitBit;
H A Dfloatsisf.c42 // Shift a into the significand field, rounding if it is a right-shift
44 const int shift = significandBits - exponent; local
45 result = (rep_t)a << shift ^ implicitBit;
47 const int shift = exponent - significandBits; local
48 result = (rep_t)a >> shift ^ implicitBit;
49 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dfloatunsidf.c35 const int shift = significandBits - exponent; local
36 result = (rep_t)a << shift ^ implicitBit;
H A Dfloatunsisf.c34 // Shift a into the significand field, rounding if it is a right-shift
36 const int shift = significandBits - exponent; local
37 result = (rep_t)a << shift ^ implicitBit;
39 const int shift = exponent - significandBits; local
40 result = (rep_t)a >> shift ^ implicitBit;
41 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dmuldf3.c74 // Get the significand of a*b. Before multiplying the significands, shift
77 // zero. Normalizing this result is just a conditional left-shift by one
98 // simplify the shift logic.
99 const unsigned int shift = 1U - (unsigned int)productExponent; local
100 if (shift >= typeWidth) return fromRep(productSign);
102 // Otherwise, shift the significand of the result so that the round
104 wideRightShiftWithSticky(&productHi, &productLo, shift);
H A Dadddf3.c104 // If partial cancellation occured, we need to left-shift the result
107 const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3); local
108 aSignificand <<= shift; local
109 aExponent -= shift;
116 // If the addition carried up, we need to right-shift the result and
130 // need to shift the significand.
131 const int shift = 1 - aExponent; local
132 const bool sticky = aSignificand << (typeWidth - shift);
133 aSignificand = aSignificand >> shift | sticky;
H A Daddsf3.c103 // If partial cancellation occured, we need to left-shift the result
106 const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3); local
107 aSignificand <<= shift; local
108 aExponent -= shift;
115 // If the addition carried up, we need to right-shift the result and
129 // need to shift the significand.
130 const int shift = 1 - aExponent; local
131 const bool sticky = aSignificand << (typeWidth - shift);
132 aSignificand = aSignificand >> shift | sticky;
/external/v8/src/
H A Dmisc-intrinsics.h63 int result, shift; local
65 shift = (value > 0xFFFF) << 4;
66 value >>= shift; local
67 result = shift;
69 shift = (value > 0xFF) << 3;
70 value >>= shift; local
71 result |= shift;
73 shift = (value > 0xF) << 2;
74 value >>= shift; local
75 result |= shift;
78 value >>= shift; local
[all...]
/external/chromium/base/
H A Dbits.h24 int shift = (1 << i); local
25 uint32 x = value >> shift;
28 log += shift;
/external/skia/include/effects/
H A DSkKernel33MaskFilter.h42 SkKernel33MaskFilter(const int coeff[3][3], int shift, int percent256 = 256) argument
45 fShift = shift;
/external/srec/srec/include/
H A Dlog_tabl.h32 int shift; member in struct:__anon13015
40 int log_lookup(log_table_info *logtab, int operand, int shift);
/external/aac/libFDK/src/arm/
H A Dscale_arm.cpp106 /* It performs a fMultDiv2 and increments shift by 1 */
107 int shift = scalefactor + 1; local
110 shift = fixmin_I(shift,(INT)DFRACT_BITS-1);
112 if (shift >= 0)
124 tmp0 <<= shift; local
125 tmp1 <<= shift; local
126 tmp2 <<= shift; local
127 tmp3 <<= shift; local
137 tmp0 <<= shift; local
154 tmp0 >>= shift; local
155 tmp1 >>= shift; local
156 tmp2 >>= shift; local
157 tmp3 >>= shift; local
167 tmp0 >>= shift; local
[all...]
/external/dropbear/libtommath/
H A Dbn_mp_div_2d.c18 /* shift right by a certain bit count (store quotient in c, optional remainder in d) */
26 /* if the shift count is <= 0 then we do no work */
53 /* shift by as many digits in the bit count */
58 /* shift any bit count < DIGIT_BIT */
61 register mp_digit *tmpc, mask, shift; local
66 /* shift for lsb */
67 shift = DIGIT_BIT - D;
78 /* shift the current word and mix in the carry bits from the previous word */
79 *tmpc = (*tmpc >> D) | (r << shift);
H A Dbn_mp_mul_2d.c18 /* shift left by a certain bit count */
37 /* shift by as many digits in the bit count */
44 /* shift any bit count < DIGIT_BIT */
47 register mp_digit *tmpc, shift, mask, r, rr; local
53 /* shift for msbs */
54 shift = DIGIT_BIT - d;
63 rr = (*tmpc >> shift) & mask;
65 /* shift the current word and OR in the carry */
/external/icu4c/layout/
H A DDeviceTables.cpp33 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); local
34 le_uint16 field = (word >> shift) & fieldMasks[format];
/external/kernel-headers/original/linux/
H A Dbitops.h38 * @shift: bits to roll
40 static inline __u32 rol32(__u32 word, unsigned int shift) argument
42 return (word << shift) | (word >> (32 - shift));
49 * @shift: bits to roll
51 static inline __u32 ror32(__u32 word, unsigned int shift) argument
53 return (word >> shift) | (word << (32 - shift));
/external/qemu/distrib/libpng-1.2.19/
H A Dpngwtran.c61 &(png_ptr->shift));
132 int shift, v; local
138 shift = 6;
145 v |= (value << shift);
146 if (shift == 0)
148 shift = 6;
154 shift -= 2;
157 if (shift != 6)
164 int shift, v; local
170 shift
[all...]
/external/skia/src/core/
H A DSkBitmap_scroll.cpp22 int shift; local
27 shift = 0;
31 shift = 1;
34 shift = 2;
97 src -= dx << shift;
100 dst += dx << shift;
110 width <<= shift; // now width is the number of bytes to move per line local
/external/skia/tests/
H A DRegionTest.cpp14 int shift = 32 - bits; local
15 rect->set(rand.nextU() >> shift, rand.nextU() >> shift,
16 rand.nextU() >> shift, rand.nextU() >> shift);
/external/speex/libspeex/
H A Dlpc.c138 int shift, ac_shift; local
143 shift = 8;
144 while (shift && ac0<0x40000000)
146 shift--;
162 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
/external/srec/srec/cfront/
H A Dsh_down.h35 static PINLINE int fixed_point_convert(float xx, int shift);
36 static PINLINE int shift_up_inline(int value, unsigned int shift);
37 static PINLINE int shift_down_inline(int value, unsigned int shift);
42 static PINLINE int shift_up_inline(int value, unsigned int shift) argument
47 ASSERT(shift > 0);
53 retval = temp << shift;
64 static PINLINE int shift_down_inline(int value, unsigned int shift) argument
67 if (shift-- == 0)
70 return (((value >> shift) + 1) >> 1);
72 return (-((((-value) >> shift)
75 fixed_point_convert(float xx, int shift) argument
[all...]
/external/stlport/test/unit/
H A Dtransform_test.cpp34 static char shift( char c ) { function in class:TransformTest
77 transform( s.begin(), s.end(), s.begin(), shift );
/external/iproute2/include/linux/tc_act/
H A Dtc_pedit.h23 __u32 shift; member in struct:tc_pedit_key
/external/iproute2/tc/
H A Df_tcindex.c21 " [ shift SHIFT ]\n");
67 else if (!strcmp(*argv,"shift")) {
68 int shift; local
71 shift = strtoul(*argv,&end,0);
76 addattr_l(n,4096,TCA_TCINDEX_SHIFT,&shift,
77 sizeof(shift));
149 int shift; local
151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
153 shift = *(int *) RTA_DATA(tb[TCA_TCINDEX_SHIFT]);
154 fprintf(f,"shift
[all...]

Completed in 478 milliseconds

1234567891011>>