HomeSort by relevance Sort by last modified time
    Searched refs:shift (Results 1 - 25 of 812) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/v8/src/
misc-intrinsics.h 63 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...]
  /dalvik/vm/compiler/template/mips/
TEMPLATE_SHL_LONG.S 2 * Long integer shift. This is different from the generic 32/64-bit
3 * binary operations because vAA/vBB are 64-bit but vCC (the shift
8 sll rRESULT0, rARG0, a2 # rlo<- alo << (shift&31)
9 not rRESULT1, a2 # rhi<- 31-shift (shift is 5b)
11 srl rARG0, rRESULT1 # alo<- alo >> (32-(shift&31))
12 sll rRESULT1, rARG1, a2 # rhi<- ahi << (shift&31)
14 andi a2, 0x20 # shift< shift & 0x20
15 movn rRESULT1, rRESULT0, a2 # rhi<- rlo (if shift&0x20
    [all...]
TEMPLATE_USHR_LONG.S 2 * Long integer shift. This is different from the generic 32/64-bit
3 * binary operations because vAA/vBB are 64-bit but vCC (the shift
8 srl rRESULT1, rARG1, a2 # rhi<- ahi >> (shift&31)
9 srl rRESULT0, rARG0, a2 # rlo<- alo >> (shift&31)
10 not rARG0, a2 # alo<- 31-n (shift is 5b)
12 sll rARG1, rARG0 # ahi<- ahi << (32-(shift&31))
14 andi a2, 0x20 # shift & 0x20
15 movn rRESULT0, rRESULT1, a2 # rlo<- rhi (if shift&0x20)
16 movn rRESULT1, zero, a2 # rhi<- 0 (if shift&0x20)
TEMPLATE_SHR_LONG.S 2 * Long integer shift. This is different from the generic 32/64-bit
3 * binary operations because vAA/vBB are 64-bit but vCC (the shift
8 sra rRESULT1, rARG1, a2 # rhi<- ahi >> (shift&31)
9 srl rRESULT0, rARG0, a2 # rlo<- alo >> (shift&31)
11 not rARG0, a2 # alo<- 31-shift (shift is 5b)
13 sll rARG1, rARG0 # ahi<- ahi << (32-(shift&31))
15 andi a2, 0x20 # shift & 0x20
16 movn rRESULT0, rRESULT1, a2 # rlo<- rhi (if shift&0x20)
17 movn rRESULT1, a3, a2 # rhi<- sign(ahi) (if shift&0x20
    [all...]
  /external/srec/srec/cfront/
sh_down.h 35 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)
44 /* Shift up using bit operations with max limit */
47 ASSERT(shift > 0);
53 retval = temp << shift;
64 static PINLINE int shift_down_inline(int value, unsigned int shift)
65 /* Shift down using bit operations with rounding */
67 if (shift-- == 0
    [all...]
log_tabl.c 61 logtab->shift = (int)(val + 0.5);
84 int log_lookup(log_table_info *logtab, int operand, int shift)
94 shift++;
98 shift++;
102 log_report("tab: %d %d -> %d\n", operand, shift,
103 (int)((shift) *(logtab->shift) + logtab->table[operand]));
105 return ((int)((shift) *(logtab->shift) + logtab->table[operand]));
122 int ii, aa, bb, cc, value, shift; local
    [all...]
  /external/openfst/src/include/fst/extensions/ngram/
nthbit.h 26 uint32 shift = 0; local
30 shift += (32 & mask);
32 c = __builtin_popcount((v >> shift) & 0xffff);
35 shift += (16 & mask);
37 c = __builtin_popcount((v >> shift) & 0xff);
40 shift += (8 & mask);
42 return shift + ((nth_bit_bit_offset[(v >> shift) & 0xff] >>
  /external/aac/libFDK/src/arm/
scale_arm.cpp 106 /* 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/aac/libSBRdec/src/
transcendent.h 128 int shift; local
138 shift = (int)(a_e - b_e);
140 shiftAbs = (shift>0)? shift : -shift;
142 shiftedMantissa = (shift>0)? (FX_SGL2FX_DBL(b_m) >> shiftAbs) : (FX_SGL2FX_DBL(a_m) >> shiftAbs);
143 otherMantissa = (shift>0)? FX_SGL2FX_DBL(a_m) : FX_SGL2FX_DBL(b_m);
144 *ptrSum_e = (shift>0)? a_e : b_e;
147 /* shift by 1 bit to avoid overflow */
166 int shift; local
215 int preShift, postShift, index, shift; local
271 int preShift, postShift, index, shift; local
347 int shift = result_e - *destScale; local
    [all...]
  /external/compiler-rt/lib/
floatunsisf.c 34 // 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);
floatsisf.c 42 // 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);
  /dalvik/vm/mterp/mips/
OP_SHL_LONG_2ADDR.S 3 * Long integer shift, 2addr version. vA is 64-bit value/result, vB is
4 * 32-bit shift distance.
15 sll v0, a0, a2 # rlo<- alo << (shift&31)
16 not v1, a2 # rhi<- 31-shift (shift is 5b)
18 srl a0, v1 # alo<- alo >> (32-(shift&31))
19 sll v1, a1, a2 # rhi<- ahi << (shift&31)
21 andi a2, 0x20 # shift< shift & 0x20
22 movn v1, v0, a2 # rhi<- rlo (if shift&0x20
    [all...]
OP_USHR_LONG_2ADDR.S 3 * Long integer shift, 2addr version. vA is 64-bit value/result, vB is
4 * 32-bit shift distance.
14 srl v1, a1, a2 # rhi<- ahi >> (shift&31)
15 srl v0, a0, a2 # rlo<- alo >> (shift&31)
16 not a0, a2 # alo<- 31-n (shift is 5b)
18 sll a1, a0 # ahi<- ahi << (32-(shift&31))
20 andi a2, 0x20 # shift & 0x20
21 movn v0, v1, a2 # rlo<- rhi (if shift&0x20)
22 movn v1, zero, a2 # rhi<- 0 (if shift&0x20)
  /external/kernel-headers/original/linux/
bitops.h 38 * @shift: bits to roll
40 static inline __u32 rol32(__u32 word, unsigned int shift)
42 return (word << shift) | (word >> (32 - shift));
49 * @shift: bits to roll
51 static inline __u32 ror32(__u32 word, unsigned int shift)
53 return (word >> shift) | (word << (32 - shift));
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/
general1.js 33 var TITLE = 'String:push,unshift,shift';
50 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),123);
55 array1.shift(); //array1 = [dog,-99,mouse]
56 array1.shift(); //array1 = [-99,mouse]
57 array1.shift(); //array1 = [mouse]
58 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),"mouse");
59 testcases[count++] = new TestCase( SECTION, "array1.shift()", "undefined", String(array1.shift()));
    [all...]
  /external/chromium/base/
bits.h 24 int shift = (1 << i); local
25 uint32 x = value >> shift;
28 log += shift;
  /hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/
ExynosVideoDec.h 28 #define OPERATE_BIT(x, mask, shift) ((x & (mask << shift)) >> shift)
  /external/skia/legacy/src/core/
SkEdge.cpp 16 the points into FDot6. This is modulated by the shift parameter, which
20 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6).
23 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift).
29 int shift) {
34 float scale = float(1 << (shift + 6));
40 shift = 10 - shift;
41 x0 = p0.fX >> shift;
42 y0 = p0.fY >> shift;
43 x1 = p1.fX >> shift;
257 int shift = fCurveShift; local
    [all...]
  /external/skia/src/core/
SkEdge.cpp 16 the points into FDot6. This is modulated by the shift parameter, which
20 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6).
23 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift).
28 // away data in value, so just perform a modify up-shift
35 int shift) {
40 float scale = float(1 << (shift + 6));
46 shift = 10 - shift;
47 x0 = p0.fX >> shift;
48 y0 = p0.fY >> shift;
284 int shift = fCurveShift; local
    [all...]
  /external/srec/srec/include/
log_tabl.h 32 int shift; member in struct:__anon15438
40 int log_lookup(log_table_info *logtab, int operand, int shift);
  /frameworks/av/media/libeffects/lvm/lib/Common/src/
Int16LShiftToInt32_16x32.c 31 LVM_INT16 shift )
40 *dst = ( ((LVM_INT32)*src) << shift);
  /packages/apps/Email/src/com/beetstra/jutf7/
ModifiedUTF7Charset.java 45 if (ch == shift())
50 byte shift() { method in class:ModifiedUTF7Charset
  /system/core/include/private/pixelflinger/
ggl_fixed.h 110 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) CONST;
111 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) {
113 if (__builtin_constant_p(shift)) {
118 : "%[x]"(x), [y]"r"(y), [lshift] "I"(32-shift), [rshift] "I"(shift)
126 : "%[x]"(x), [y]"r"(y), [lshift] "r"(32-shift), [rshift] "r"(shift)
133 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) CONST;
134 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) {
136 if (__builtin_constant_p(shift)) {
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
ms_stereo.c 65 Word32 idx, shift; local
77 shift = norm_l(nrgL);
78 nrgL = Div_32(thrL << shift, nrgL << shift);
80 shift = norm_l(nrgR);
81 nrgR = Div_32(thrR << shift, nrgR << shift);
89 shift = norm_l(nrgL);
90 nrgL = Div_32(minThreshold << shift, nrgL << shift);
    [all...]
  /external/speex/libspeex/
fixed_generic.h 45 #define SHR16(a,shift) ((a) >> (shift))
46 #define SHL16(a,shift) ((a) << (shift))
47 #define SHR32(a,shift) ((a) >> (shift))
48 #define SHL32(a,shift) ((a) << (shift))
49 #define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>1)),shift)
    [all...]

Completed in 446 milliseconds

1 2 3 4 5 6 7 8 91011>>