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

1234567891011>>

/external/clang/test/CodeGen/
H A Dmmx-shift-with-immediate.c4 void shift(__m64 a, __m64 b, int c) { function
H A Dattr-target-x86-mmx.c9 void __attribute__((target("sse"))) shift(__m64 a, __m64 b, int c) { function
/external/compiler-rt/test/ubsan/TestCases/Misc/
H A Dcoverage-levels.cc7 // RUN: %clangxx -fsanitize=shift -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=func %s -o %t
12 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=func %s -o %t
14 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=bb %s -o %t
16 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=edge %s -o %t
24 int shift = argc * 32; local
26 shift = 3;
28 if ((argc << shift) == 16) // False.
33 // CHECK_WARN: shift exponent 32 is too large
/external/compiler-rt/lib/builtins/
H A Dfloatsidf.c46 const int shift = significandBits - exponent; local
47 result = (rep_t)(unsigned int)a << shift ^ implicitBit;
H A Dfloatsisf.c43 // Shift a into the significand field, rounding if it is a right-shift
45 const int shift = significandBits - exponent; local
46 result = (rep_t)a << shift ^ implicitBit;
48 const int shift = exponent - significandBits; local
49 result = (rep_t)a >> shift ^ implicitBit;
50 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dfloatunditf.c32 const int shift = significandBits - exponent; local
33 result = (rep_t)a << shift ^ implicitBit;
H A Dfloatunsidf.c36 const int shift = significandBits - exponent; local
37 result = (rep_t)a << shift ^ implicitBit;
H A Dfloatunsisf.c35 // Shift a into the significand field, rounding if it is a right-shift
37 const int shift = significandBits - exponent; local
38 result = (rep_t)a << shift ^ implicitBit;
40 const int shift = exponent - significandBits; local
41 result = (rep_t)a >> shift ^ implicitBit;
42 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dfloatunsitf.c32 const int shift = significandBits - exponent; local
33 result = (rep_t)a << shift ^ implicitBit;
H A Dfloatditf.c40 // Shift a into the significand field, rounding if it is a right-shift
41 const int shift = significandBits - exponent; local
42 result = (rep_t)aAbs << shift ^ implicitBit;
H A Dfloatsitf.c41 const int shift = significandBits - exponent; local
42 result = (rep_t)aAbs << shift ^ implicitBit;
/external/libunwind/src/mi/
H A D_ReadSLEB.c6 unsigned shift = 0; local
13 result |= (byte & 0x7f) << shift;
14 shift += 7;
19 if (shift < 8 * sizeof (unw_word_t) && (byte & 0x40) != 0)
21 result |= ((unw_word_t) -1) << shift;
H A D_ReadULEB.c6 unsigned shift = 0; local
13 result |= (byte & 0x7f) << shift;
16 shift += 7;
/external/openfst/src/include/fst/extensions/ngram/
H A Dnthbit.h26 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/libopus/silk/
H A Dsum_sqr_shift.c34 /* Compute number of bits to right shift the sum of squares of a vector */
38 opus_int *shift, /* O Number of bits right shift applied to energy */
82 *shift = shft;
36 silk_sum_sqr_shift( opus_int32 *energy, opus_int *shift, const opus_int16 *x, opus_int len ) argument
/external/libvpx/libvpx/vpx_ports/
H A Dbitops.h61 const int shift = (1 << i); local
62 const unsigned int x = value >> shift;
65 log += shift;
/external/v8/src/base/
H A Ddivision-by-constant.h19 : multiplier(m), shift(s), add(a) {}
23 unsigned shift; member in struct:v8::base::MagicNumbersForDivision
28 // Calculate the multiplier and shift for signed division via multiplication.
34 // Calculate the multiplier and shift for unsigned division via multiplication,
/external/vixl/src/vixl/
H A Dcompiler-intrinsics.cc104 int shift = 1 << i; local
105 value = ((value >> shift) & kMasks[i]) + (value & kMasks[i]);
/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/deqp/framework/delibs/debase/
H A DdeInt32.c151 int shift = deClz32(a); local
152 deUint32 normalized = (deUint32)a << shift; /* Highest bit is always 1. */
174 *exp = 31 - shift;
/external/fio/lib/
H A Dieee754.c14 int shift; local
32 shift = 0;
35 shift++;
39 shift--;
47 exp = shift + ((1 << (expbits - 1)) - 1); // shift + bias
56 long long shift; local
70 shift = ((i >> significandbits) & ((1LL << expbits) - 1)) - bias;
71 while (shift > 0) {
73 shift
[all...]
/external/icu/icu4c/source/layout/
H A DDeviceTables.cpp33 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); local
34 le_uint16 field = (word >> shift) & fieldMasks[format];
/external/libchrome/base/
H A Dbits.h25 int shift = (1 << i); local
26 uint32_t x = value >> shift;
29 log += shift;
/external/libhevc/decoder/
H A Dihevcd_itrans_recon_dc.c94 WORD32 add, shift; local
102 shift = IT_SHIFT_STAGE_1;
103 add = 1 << (shift - 1);
104 dc_value = CLIP_S16((quant_out * 64 + add) >> shift);
105 shift = IT_SHIFT_STAGE_2;
106 add = 1 << (shift - 1);
107 dc_value = CLIP_S16((dc_value * 64 + add) >> shift);
124 WORD32 add, shift; local
133 shift = IT_SHIFT_STAGE_1;
134 add = 1 << (shift
[all...]
/external/libvncserver/libvncserver/
H A Dtableinitcmtemplate.c52 int shift = colourMap->is16?16:8; local
71 t[i] = ((((r * (1 + out->redMax)) >> shift) << out->redShift) |
72 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) |
73 (((b * (1 + out->blueMax)) >> shift) << out->blueShift));

Completed in 2574 milliseconds

1234567891011>>