/external/compiler-rt/lib/ubsan/lit_tests/Integer/ |
shift.cpp | 1 // RUN: %clang -DLSH_OVERFLOW -DOP='<<' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=LSH_OVERFLOW 2 // RUN: %clang -DLSH_OVERFLOW -DOP='<<=' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=LSH_OVERFLOW 3 // RUN: %clang -DTOO_LOW -DOP='<<' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=TOO_LOW 4 // RUN: %clang -DTOO_LOW -DOP='>>' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=TOO_LOW 5 // RUN: %clang -DTOO_LOW -DOP='<<=' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=TOO_LOW 6 // RUN: %clang -DTOO_LOW -DOP='>>=' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=TOO_LOW 7 // RUN: %clang -DTOO_HIGH -DOP='<<' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=TOO_HIGH 8 // RUN: %clang -DTOO_HIGH -DOP='>>' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=TOO_HIGH 9 // RUN: %clang -DTOO_HIGH -DOP='<<=' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=TOO_HIGH 10 // RUN: %clang -DTOO_HIGH -DOP='>>=' -fsanitize=shift %s -o %t && %t 2>&1 | FileCheck %s --check-prefix=TOO_HIG [all...] |
/external/dnsmasq/bld/ |
pkg-wrapper | 4 shift
|
/external/llvm/test/CodeGen/X86/ |
overlap-shift.ll | 1 ;; X's live range extends beyond the shift, so the register allocator 3 ;; emitted before the shift to save the register value before it is 5 ;; allocator turns the shift into an LEA. This also occurs for ADD. 7 ; Check that the shift gets turned into an LEA.
|
/external/llvm/test/ExecutionEngine/ |
test-interp-vec-shift.ll | 5 %shift.upgrd.1 = zext <2 x i8> %shamt to <2 x i32> 6 %t1.s = shl <2 x i32> <i32 1, i32 2>, %shift.upgrd.1 8 %shift.upgrd.2 = zext <2 x i8> %shamt to <2 x i32> 9 %t1 = shl <2 x i32> <i32 1, i32 2>, %shift.upgrd.2 13 %shift.upgrd.5 = zext <2 x i8> %shamt to <2 x i32> 14 %tr1.s = ashr <2 x i32> <i32 1, i32 2>, %shift.upgrd.5 16 %shift.upgrd.6 = zext <2 x i8> %shamt to <2 x i32> 17 %tr1 = lshr <2 x i32> <i32 1, i32 2>, %shift.upgrd.6 20 %shift.upgrd.7 = zext <2 x i8> %shamt to <2 x i64> 21 %tr2.l = ashr <2 x i64> <i64 1, i64 2>, %shift.upgrd. [all...] |
/system/core/libpixelflinger/ |
col32cb16blend_neon.S | 58 vshll.u8 q0, d0, #5 // shift up red and widen 59 vshll.u8 q1, d2, #6 // shift up green and widen 60 vshll.u8 q2, d4, #5 // shift up blue and widen 78 vshr.u16 q8, q10, #11 // shift dst red0 to low 5 bits 80 vshl.u16 q9, q10, #5 // shift dst green0 to top 6 bits 82 vshr.u16 q9, q9, #10 // shift dst green0 to low 6 bits 84 vshl.u16 q12, q11, #5 // shift dst green1 to top 6 bits 86 vshr.u16 q13, q11, #11 // shift dst red1 to low 5 bits 88 vshr.u16 q12, q12, #10 // shift dst green1 to low 6 bits 96 vshr.u16 q8, q8, #8 // shift down red [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
LVC_Mixer_Init.c | 30 /* This function caclulates the "Shift" required to provide the */ 34 /* MaxGain of 2.5, Shift = 2, Current=1.9/4=0.475, Target=2.5/4=0.625 */ 35 /* Therefore integer gain of 4 is provided by Left Shift of 2 and */ 52 LVM_INT16 Shift=0; 59 while(MaxGain>0){ // Update Shift required to provide integer gain 60 Shift++; 63 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target 64 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current 65 pInstance->Shift=Shift; // Update Shif [all...] |
/dalvik/vm/mterp/x86/ |
shop2addr.S | 3 * Generic 32-bit "shift/2addr" operation. 5 /* shift/2addr vA, vB */
|
OP_SHL_LONG_2ADDR.S | 3 * Long integer shift, 2addr version. vA is 64-bit value/result, vB is 4 * 32-bit shift distance. 7 /* ecx gets shift count */
|
OP_SHR_LONG_2ADDR.S | 3 * Long integer shift, 2addr version. vA is 64-bit value/result, vB is 4 * 32-bit shift distance. 7 /* ecx gets shift count */
|
OP_USHR_LONG_2ADDR.S | 3 * Long integer shift, 2addr version. vA is 64-bit value/result, vB is 4 * 32-bit shift distance. 7 /* ecx gets shift count */
|
/external/llvm/test/CodeGen/Generic/ |
shift-int64.ll | 9 %shift.upgrd.1 = zext i8 %Amt to i64 ; <i64> [#uses=1] 10 %Y = ashr i64 %X, %shift.upgrd.1 ; <i64> [#uses=1]
|
/external/llvm/test/Transforms/InstCombine/ |
2006-11-10-ashr-miscompile.ll | 5 %shift.upgrd.1 = zext i8 %amt to i32 ; <i32> [#uses=1] 6 %B = lshr i32 -1, %shift.upgrd.1 ; <i32> [#uses=1]
|
/external/lzma/C/ |
Ppmd.h | 21 #define PPMD_GET_MEAN_SPEC(summ, shift, round) (((summ) + (1 << ((shift) - (round)))) >> (shift))
36 Byte Shift; /* Speed of Freq change; low Shift is for fast change */
37 Byte Count; /* Count to next change of Shift */
40 #define Ppmd_See_Update(p) if ((p)->Shift < PPMD_PERIOD_BITS && --(p)->Count == 0) \
41 { (p)->Summ <<= 1; (p)->Count = (Byte)(3 << (p)->Shift++); }
|
/external/openssh/regress/ |
sshd-log-wrapper.sh | 10 shift 11 shift
|
/external/qemu/target-arm/ |
op_helper.c | 37 int shift; local 41 for (shift = 0; shift < 32; shift += 8) { 42 index = (ireg >> shift) & 0xff; 45 val |= tmp << shift; 47 val |= def & (0xff << shift); 57 #define SHIFT 0 60 #define SHIFT 1 63 #define SHIFT 388 int shift = i & 0xff; local 396 int shift = i & 0xff; local 404 int shift = i & 0xff; local 412 int shift = i & 0xff; local 428 int shift = i & 0xff; local 444 int shift = i & 0xff; local 457 int shift1, shift; local [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...] |
/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...] |
/external/chromium_org/third_party/opus/src/silk/ |
SigProc_FIX.h | 177 /* Compute number of bits to right shift the sum of squares of a vector */ 181 opus_int *shift, /* O Number of bits right shift applied to energy */ 350 const opus_int scale, /* I number of bits to shift */ 472 #define silk_LSHIFT8(a, shift) ((opus_int8)((opus_uint8)(a)<<(shift))) /* shift >= 0, shift < 8 */ 473 #define silk_LSHIFT16(a, shift) ((opus_int16)((opus_uint16)(a)<<(shift))) /* shift >= 0, shift < 16 * [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/dropbear/libtommath/ |
bn_mp_div_2d.c | 18 /* 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);
|
/system/core/libpixelflinger/arch-mips/ |
t32cb16blend.S | 25 * blend one of 2 16bpp RGB pixels held in dreg selected by shift 29 * the the second pixel (shift==16) will be merged into 36 .macro pixel dreg src fb shift 52 ext $t8,\dreg,\shift+6+5,5 # dst[\shift:15..11] 54 ext $t0,\dreg,\shift+5,6 # start green extraction dst[\shift:10..5] 58 ins \fb,$t8,\shift+6+5,5 # dst[\shift:15..11] 62 ext $t0,\dreg,\shift,5 # start blue extraction dst[\shift:4..0 [all...] |
/external/freetype/src/base/ |
fttrigon.c | 118 FT_Int shift; local 124 shift = FT_MSB( FT_ABS( x ) | FT_ABS( y ) ); 126 if ( shift <= FT_TRIG_SAFE_MSB ) 128 shift = FT_TRIG_SAFE_MSB - shift; 129 vec->x = (FT_Pos)( (FT_ULong)x << shift ); 130 vec->y = (FT_Pos)( (FT_ULong)y << shift ); 134 shift -= FT_TRIG_SAFE_MSB; 135 vec->x = x >> shift; 136 vec->y = y >> shift; 365 FT_Int shift; local 402 FT_Int shift; local 438 FT_Int shift; local [all...] |
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Coeffs.h | 40 #define HPF_Fs22050_Gain1_Shift 1 /* Shift value */ 47 #define HPF_Fs22050_Gain2_Shift 1 /* Shift value */ 54 #define HPF_Fs22050_Gain3_Shift 1 /* Shift value */ 61 #define HPF_Fs22050_Gain4_Shift 1 /* Shift value */ 68 #define HPF_Fs22050_Gain5_Shift 1 /* Shift value */ 75 #define HPF_Fs22050_Gain6_Shift 1 /* Shift value */ 82 #define HPF_Fs22050_Gain7_Shift 2 /* Shift value */ 89 #define HPF_Fs22050_Gain8_Shift 2 /* Shift value */ 96 #define HPF_Fs22050_Gain9_Shift 2 /* Shift value */ 103 #define HPF_Fs22050_Gain10_Shift 2 /* Shift value * [all...] |
/art/test/etc/ |
host-run-test-jar | 25 shift 27 shift 31 shift 34 shift 38 shift 40 shift 46 shift 49 shift 52 shift 55 shift [all...] |
/dalvik/vm/mterp/mips/ |
OP_APUT.S | 1 %default { "store":"sw", "shift":"2" } 16 .if $shift 17 EASN(a0, a0, a1, $shift) # a0 <- arrayObj + index*width
|