Home
last modified time | relevance | path

Searched refs:SHIFT (Results 1 – 25 of 134) sorted by relevance

123456

/external/llvm/test/CodeGen/SystemZ/
Datomicrmw-xchg-02.ll4 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT
8 ; - CHECK-SHIFT makes sure that the negated shift count used by the second
10 ; tested in CHECK. CHECK-SHIFT also checks that %r3 is not modified before
27 ; CHECK-SHIFT-LABEL: f1:
28 ; CHECK-SHIFT-NOT: %r3
29 ; CHECK-SHIFT: sll %r2, 3
30 ; CHECK-SHIFT-NOT: %r3
31 ; CHECK-SHIFT: lcr [[NEGSHIFT:%r[1-9]+]], %r2
32 ; CHECK-SHIFT-NOT: %r3
33 ; CHECK-SHIFT: rll
[all …]
Datomicrmw-xchg-01.ll4 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT
8 ; - CHECK-SHIFT makes sure that the negated shift count used by the second
10 ; tested in CHECK. CHECK-SHIFT also checks that %r3 is not modified before
27 ; CHECK-SHIFT-LABEL: f1:
28 ; CHECK-SHIFT-NOT: %r3
29 ; CHECK-SHIFT: sll %r2, 3
30 ; CHECK-SHIFT-NOT: %r3
31 ; CHECK-SHIFT: lcr [[NEGSHIFT:%r[1-9]+]], %r2
32 ; CHECK-SHIFT-NOT: %r3
33 ; CHECK-SHIFT: rll
[all …]
Dcmpxchg-01.ll4 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT
8 ; - CHECK-SHIFT makes sure that the negated shift count used by the second
10 ; tested in CHECK. CHECK-SHIFT also checks that %r3 is not modified before
30 ; CHECK-SHIFT-LABEL: f1:
31 ; CHECK-SHIFT: sll [[SHIFT:%r[1-9]+]], 3
32 ; CHECK-SHIFT: lcr [[NEGSHIFT:%r[1-9]+]], [[SHIFT]]
33 ; CHECK-SHIFT: rll
34 ; CHECK-SHIFT: rll {{%r[0-9]+}}, %r5, -8([[NEGSHIFT]])
49 ; CHECK-SHIFT-LABEL: f2:
50 ; CHECK-SHIFT: lhi [[SWAP:%r[0-9]+]], 88
[all …]
Dcmpxchg-02.ll4 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CHECK-SHIFT
8 ; - CHECK-SHIFT makes sure that the negated shift count used by the second
10 ; tested in CHECK. CHECK-SHIFT also checks that %r3 is not modified before
30 ; CHECK-SHIFT-LABEL: f1:
31 ; CHECK-SHIFT: sll %r3, 3
32 ; CHECK-SHIFT: lcr [[NEGSHIFT:%r[1-9]+]], %r3
33 ; CHECK-SHIFT: rll
34 ; CHECK-SHIFT: rll {{%r[0-9]+}}, %r5, -16([[NEGSHIFT]])
49 ; CHECK-SHIFT-LABEL: f2:
50 ; CHECK-SHIFT: lhi [[SWAP:%r[0-9]+]], 88
[all …]
Datomicrmw-add-01.ll18 ; CHECK: sll [[SHIFT:%r[0-9]+]], 3
21 ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]])
26 ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]])
30 ; CHECK-SHIFT1: sll [[SHIFT:%r[1-9]+]], 3
31 ; CHECK-SHIFT1: lcr [[NEGSHIFT:%r[1-9]+]], [[SHIFT]]
60 ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]])
64 ; CHECK-SHIFT1: sll [[SHIFT:%r[1-9]+]], 3
65 ; CHECK-SHIFT1: lcr [[NEGSHIFT:%r[1-9]+]], [[SHIFT]]
Datomicrmw-add-02.ll30 ; CHECK-SHIFT1: sll [[SHIFT:%r[1-9]+]], 3
31 ; CHECK-SHIFT1: lcr [[NEGSHIFT:%r[1-9]+]], [[SHIFT]]
64 ; CHECK-SHIFT1: sll [[SHIFT:%r[1-9]+]], 3
65 ; CHECK-SHIFT1: lcr [[NEGSHIFT:%r[1-9]+]], [[SHIFT]]
/external/skqp/src/core/
DSkScan_AntiPath.cpp16 #define SHIFT SK_SUPERSAMPLE_SHIFT macro
17 #define SCALE (1 << SHIFT)
93 fSuperLeft = SkLeftShift(left, SHIFT); in BaseSuperBlitter()
97 fCurrY = SkLeftShift(fTop, SHIFT) - 1; in BaseSuperBlitter()
187 aa <<= 8 - 2*SHIFT; in coverage_to_partial_alpha()
195 int alpha = (256 >> SHIFT) * aa; in coverage_to_exact_alpha()
203 int iy = y >> SHIFT; in blitH()
234 int n = (stop >> SHIFT) - (start >> SHIFT) - 1; in blitH()
248 fOffsetX = fRuns.add(x >> SHIFT, coverage_to_partial_alpha(fb), in blitH()
250 (1 << (8 - SHIFT)) - (((y & MASK) + 1) >> SHIFT), in blitH()
[all …]
/external/skia/src/core/
DSkScan_AntiPath.cpp16 #define SHIFT SK_SUPERSAMPLE_SHIFT macro
17 #define SCALE (1 << SHIFT)
93 fSuperLeft = SkLeftShift(left, SHIFT); in BaseSuperBlitter()
97 fCurrY = SkLeftShift(fTop, SHIFT) - 1; in BaseSuperBlitter()
187 aa <<= 8 - 2*SHIFT; in coverage_to_partial_alpha()
195 int alpha = (256 >> SHIFT) * aa; in coverage_to_exact_alpha()
203 int iy = y >> SHIFT; in blitH()
234 int n = (stop >> SHIFT) - (start >> SHIFT) - 1; in blitH()
248 fOffsetX = fRuns.add(x >> SHIFT, coverage_to_partial_alpha(fb), in blitH()
250 (1 << (8 - SHIFT)) - (((y & MASK) + 1) >> SHIFT), in blitH()
[all …]
/external/aac/libFDK/src/
Dautocorr2nd.cpp108 #define SHIFT >> (SHIFT_FACTOR) macro
136 SHIFT); in autoCorr2nd_real()
140 accu1 = fPow2Div2(pReBuf[0]) SHIFT; in autoCorr2nd_real()
141 accu3 = fMultDiv2(pReBuf[0], pReBuf[1]) SHIFT; in autoCorr2nd_real()
145 accu1 += ((fPow2Div2(pReBuf[0]) + fPow2Div2(pReBuf[1])) SHIFT); in autoCorr2nd_real()
148 fMultDiv2(pReBuf[1], pReBuf[2])) SHIFT); in autoCorr2nd_real()
151 fMultDiv2(pReBuf[1], pReBuf[3])) SHIFT); in autoCorr2nd_real()
154 accu2 = (fPow2Div2(realBuf[-2]) SHIFT); in autoCorr2nd_real()
157 accu1 += (fPow2Div2(realBuf[len - 2]) SHIFT); in autoCorr2nd_real()
159 accu4 = (fMultDiv2(realBuf[-1], realBuf[-2]) SHIFT); in autoCorr2nd_real()
[all …]
/external/syslinux/gpxe/src/core/
Dpc_kbd.c36 #define SHIFT 1 macro
51 shift_state |= SHIFT; in get_scancode()
55 shift_state &= ~SHIFT; in get_scancode()
84 if (!key_map[shift_state & SHIFT][cur_scan]) { in kbd_ischar()
97 c = key_map[shift_state & SHIFT][cur_scan]; in kbd_getc()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/
DReduce.g323 | ^(MULT x=INT {$x.int==2}? y=.) -> ^(SHIFT["<<"] $y INT["1"])
24 | ^(SHIFT ^(SHIFT e=. n=INT) m=INT)
25 -> ^(SHIFT["<<"] $e INT[($n.int+$m.int).ToString()])
/external/annotation-tools/scene-lib/src/annotations/util/
DHasher.java19 private static final int SHIFT = 5; field in Hasher
25 hash = ((hash << SHIFT) | (hash >> (32 - SHIFT))) ^ x; in mash()
/external/turbine/java/com/google/turbine/tree/
DTurbineOperatorKind.java37 SHIFT_LEFT("<<", Precedence.SHIFT),
38 SHIFT_RIGHT(">>", Precedence.SHIFT),
39 UNSIGNED_SHIFT_RIGHT(">>>", Precedence.SHIFT),
79 SHIFT(9), enumConstant
/external/llvm/test/CodeGen/AMDGPU/
Dsra.ll66 ; EG: SUB_INT {{\*? *}}[[COMPSH:T[0-9]+\.[XYZW]]], {{literal.[xy]}}, [[SHIFT:T[0-9]+\.[XYZW]]]
68 ; EG-DAG: ADD_INT {{\*? *}}[[BIGSH:T[0-9]+\.[XYZW]]], [[SHIFT]], literal
70 ; EG-DAG: LSHR {{\*? *}}[[LOSMTMP:T[0-9]+\.[XYZW]]], [[OPLO:T[0-9]+\.[XYZW]]], [[SHIFT]]
72 ; EG-DAG: ASHR {{\*? *}}[[HISM:T[0-9]+\.[XYZW]]], [[OPHI]], {{PS|PV.[XYZW]|[[SHIFT]]}}
75 ; EG-DAG: SETGT_UINT {{\*? *}}[[RESC:T[0-9]+\.[XYZW]]], [[SHIFT]], literal
205 ; GCN: s_ashr_i32 s[[SHIFT:[0-9]+]], s[[HI]], 31
207 ; GCN: s_addc_u32 s{{[0-9]+}}, s[[SHIFT]], s{{[0-9]+}}
218 ; GCN: v_ashrrev_i32_e32 v[[SHIFT:[0-9]+]], 31, v[[HI]]
219 ; GCN: {{buffer|flat}}_store_dwordx2 {{.*}}v{{\[}}[[HI]]:[[SHIFT]]{{\]}}
232 ; GCN: s_ashr_i32 s[[SHIFT:[0-9]+]], s[[HI]], 31
[all …]
Dshift-and-i128-ubfe.ll10 ; GCN: v_lshrrev_b32_e32 v[[SHIFT:[0-9]+]], 31, [[VAL]]
12 ; GCN: buffer_store_dwordx4 v{{\[}}[[SHIFT]]:[[ZERO2]]{{\]}}, v{{\[[0-9]+:[0-9]+\]}}, s{{\[[0-9]+:[…
32 ; GCN-DAG: v_lshrrev_b32_e32 v[[SHIFT:[0-9]+]], 31, [[VAL]]
34 ; GCN-DAG: buffer_store_dwordx4 v{{\[}}[[SHIFT]]:[[ZERO2]]{{\]}}, v{{\[[0-9]+:[0-9]+\]}}, s{{\[[0-9…
54 ; GCN-DAG: v_lshrrev_b32_e32 v[[SHIFT:[0-9]+]], 31, [[VAL]]
56 ; GCN-DAG: buffer_store_dwordx4 v{{\[}}[[SHIFT]]:[[ZERO2]]{{\]}}, v{{\[[0-9]+:[0-9]+\]}}, s{{\[[0-9…
76 ; GCN-DAG: v_lshrrev_b32_e32 v[[SHIFT:[0-9]+]], 31, [[VAL]]
78 ; GCN-DAG: buffer_store_dwordx4 v{{\[}}[[SHIFT]]:[[ZERO2]]{{\]}}, v{{\[[0-9]+:[0-9]+\]}}, s{{\[[0-9…
Dsrl.ll66 ; EG: SUB_INT {{\*? *}}[[COMPSH:T[0-9]+\.[XYZW]]], {{literal.[xy]}}, [[SHIFT:T[0-9]+\.[XYZW]]]
68 ; EG-DAG: ADD_INT {{\*? *}}[[BIGSH:T[0-9]+\.[XYZW]]], [[SHIFT]], literal
70 ; EG-DAG: LSHR {{\*? *}}[[LOSMTMP:T[0-9]+\.[XYZW]]], [[OPLO:T[0-9]+\.[XYZW]]], [[SHIFT]]
72 ; EG-DAG: LSHR {{\*? *}}[[HISM:T[0-9]+\.[XYZW]]], [[OPHI]], {{PS|[[SHIFT]]|PV\.[XYZW]}}
73 ; EG-DAG: SETGT_UINT {{\*? *}}[[RESC:T[0-9]+\.[XYZW]]], [[SHIFT]], literal
75 ; EG-DAG: LSHR {{\*? *}}[[LOBIG:T[0-9]+\.[XYZW]]], [[OPHI]], [[SHIFT]]
/external/pdfium/third_party/libtiff/
Dtif_color.c175 #define SHIFT 16 macro
176 #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5))
177 #define ONE_HALF ((int32)(1<<(SHIFT-1)))
196 + (int)((ycbcr->Cb_g_tab[Cb] + ycbcr->Cr_g_tab[Cr]) >> SHIFT); in TIFFYCbCrtoRGB()
283 ycbcr->Cr_r_tab[i] = (int32)((D1*Cr + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()
284 ycbcr->Cb_b_tab[i] = (int32)((D3*Cb + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()
298 #undef SHIFT
/external/python/cpython2/Objects/
Dunicodectype.c47 index = index1[(code>>SHIFT)]; in gettyperecord()
48 index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))]; in gettyperecord()
/external/webrtc/tools/valgrind-webrtc/
Dwebrtc_tests.bat20 :: NB: SHIFT command doesn't modify %*
24 SHIFT
33 SHIFT
/external/gemmlowp/meta/
Dtest_gemm_correctness.cc38 #define SHIFT (7) macro
99 int rounding = (1 << (SHIFT - 1)); in check_row_row()
110 expected = (expected >> SHIFT); in check_row_row()
134 int rounding = (1 << (SHIFT - 1)); in check_row_col()
145 expected = (expected >> SHIFT); in check_row_col()
266 params->fused_kernel.kernel.rounding_offset = (1 << (SHIFT - 1)); in setup_row_row()
267 params->fused_kernel.kernel.shift = -SHIFT; in setup_row_row()
283 params->fused_kernel.kernel.rounding_offset = (1 << (SHIFT - 1)); in setup_row_col()
284 params->fused_kernel.kernel.shift = -SHIFT; in setup_row_col()
/external/python/cpython3/Objects/
Dunicodectype.c54 index = index1[(code>>SHIFT)]; in gettyperecord()
55 index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))]; in gettyperecord()
/external/libyuv/files/tools_libyuv/valgrind/
Dlibyuv_tests.bat20 :: NB: SHIFT command doesn't modify %*
24 SHIFT
32 SHIFT
/external/python/cpython2/Lib/test/
Dtest_long.py19 SHIFT = sys.long_info.bits_per_digit variable
20 BASE = 2 ** SHIFT
34 for i in range(2*SHIFT):
100 nbits_hi = ndigits * SHIFT
101 nbits_lo = nbits_hi - SHIFT + 1
104 r = int(random.random() * (SHIFT * 2)) | 1 # force 1 bits to start
108 self.assertTrue(1 <= bits <= SHIFT)
113 r = int(random.random() * (SHIFT * 2))
125 answer = (answer << SHIFT) | random.randint(0, MASK)
187 bits = [digit * SHIFT for digit in digits]
[all …]
/external/python/cpython2/Modules/cjkcodecs/
DREADME76 - U+005C REVERSE SOLIDUS is mapped to SHIFT-JIS 0x5c.
77 - U+007E TILDE is mapped to SHIFT-JIS 0x7e.
78 - U+FF3C FULL-WIDTH REVERSE SOLIDUS is mapped to SHIFT-JIS 815f.
/external/python/cpython3/Modules/cjkcodecs/
DREADME76 - U+005C REVERSE SOLIDUS is mapped to SHIFT-JIS 0x5c.
77 - U+007E TILDE is mapped to SHIFT-JIS 0x7e.
78 - U+FF3C FULL-WIDTH REVERSE SOLIDUS is mapped to SHIFT-JIS 815f.

123456