Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 1017) sorted by relevance

12345678910>>...41

/art/test/003-omnibus-opcodes/src/
DGoto.java21 static int filler(int i) { in filler() argument
22 return i+1; in filler()
28 int i = 0; in smallGoto() local
31 i += filler(i); in smallGoto()
33 i -= filler(i); in smallGoto()
36 return i; in smallGoto()
42 int i = 0; in mediumGoto() local
45 i += filler(i); in mediumGoto()
47 i -= filler(i); i -= filler(i); i -= filler(i); i -= filler(i); in mediumGoto()
48 i -= filler(i); i -= filler(i); i -= filler(i); i -= filler(i); in mediumGoto()
[all …]
/art/test/640-checker-simd/src/
DSimdByte.java37 for (int i = 0; i < 128; i++) in add()
38 a[i] += x; in add()
50 for (int i = 0; i < 128; i++) in sub()
51 a[i] -= x; in sub()
63 for (int i = 0; i < 128; i++) in mul()
64 a[i] *= x; in mul()
76 for (int i = 0; i < 128; i++) in div()
77 a[i] /= x; in div()
89 for (int i = 0; i < 128; i++) in neg()
90 a[i] = (byte) -a[i]; in neg()
[all …]
DSimdChar.java37 for (int i = 0; i < 128; i++) in add()
38 a[i] += x; in add()
50 for (int i = 0; i < 128; i++) in sub()
51 a[i] -= x; in sub()
63 for (int i = 0; i < 128; i++) in mul()
64 a[i] *= x; in mul()
77 for (int i = 0; i < 128; i++) in div()
78 a[i] /= x; in div()
90 for (int i = 0; i < 128; i++) in neg()
91 a[i] = (char) -a[i]; in neg()
[all …]
DSimdShort.java37 for (int i = 0; i < 128; i++) in add()
38 a[i] += x; in add()
50 for (int i = 0; i < 128; i++) in sub()
51 a[i] -= x; in sub()
63 for (int i = 0; i < 128; i++) in mul()
64 a[i] *= x; in mul()
77 for (int i = 0; i < 128; i++) in div()
78 a[i] /= x; in div()
90 for (int i = 0; i < 128; i++) in neg()
91 a[i] = (short) -a[i]; in neg()
[all …]
DSimdLong.java37 for (int i = 0; i < 128; i++) in add()
38 a[i] += x; in add()
50 for (int i = 0; i < 128; i++) in sub()
51 a[i] -= x; in sub()
63 for (int i = 0; i < 128; i++) in mul()
64 a[i] *= x; in mul()
77 for (int i = 0; i < 128; i++) in div()
78 a[i] /= x; in div()
90 for (int i = 0; i < 128; i++) in neg()
91 a[i] = -a[i]; in neg()
[all …]
DSimdInt.java37 for (int i = 0; i < 128; i++) in add()
38 a[i] += x; in add()
50 for (int i = 0; i < 128; i++) in sub()
51 a[i] -= x; in sub()
63 for (int i = 0; i < 128; i++) in mul()
64 a[i] *= x; in mul()
77 for (int i = 0; i < 128; i++) in div()
78 a[i] /= x; in div()
90 for (int i = 0; i < 128; i++) in neg()
91 a[i] = -a[i]; in neg()
[all …]
DSimdFloat.java38 for (int i = 0; i < 128; i++) in add()
39 a[i] += x; in add()
51 for (int i = 0; i < 128; i++) in sub()
52 a[i] -= x; in sub()
64 for (int i = 0; i < 128; i++) in mul()
65 a[i] *= x; in mul()
77 for (int i = 0; i < 128; i++) in div()
78 a[i] /= x; in div()
90 for (int i = 0; i < 128; i++) in neg()
91 a[i] = -a[i]; in neg()
[all …]
DSimdDouble.java38 for (int i = 0; i < 128; i++) in add()
39 a[i] += x; in add()
51 for (int i = 0; i < 128; i++) in sub()
52 a[i] -= x; in sub()
64 for (int i = 0; i < 128; i++) in mul()
65 a[i] *= x; in mul()
77 for (int i = 0; i < 128; i++) in div()
78 a[i] /= x; in div()
90 for (int i = 0; i < 128; i++) in neg()
91 a[i] = -a[i]; in neg()
[all …]
/art/test/525-checker-arrays-fields1/src/
DMain.java67 for (int i = 0; i < sArrZ.length; i++) { in InvLoopZ()
68 sArrZ[i] = sZ; in InvLoopZ()
81 for (int i = 0; i < sArrB.length; i++) { in InvLoopB()
82 sArrB[i] = sB; in InvLoopB()
95 for (int i = 0; i < sArrC.length; i++) { in InvLoopC()
96 sArrC[i] = sC; in InvLoopC()
109 for (int i = 0; i < sArrS.length; i++) { in InvLoopS()
110 sArrS[i] = sS; in InvLoopS()
123 for (int i = 0; i < sArrI.length; i++) { in InvLoopI()
124 sArrI[i] = sI; in InvLoopI()
[all …]
/art/test/525-checker-arrays-fields2/src/
DMain.java67 for (int i = 0; i < mArrZ.length; i++) { in InvLoopZ()
68 mArrZ[i] = mZ; in InvLoopZ()
81 for (int i = 0; i < mArrB.length; i++) { in InvLoopB()
82 mArrB[i] = mB; in InvLoopB()
95 for (int i = 0; i < mArrC.length; i++) { in InvLoopC()
96 mArrC[i] = mC; in InvLoopC()
109 for (int i = 0; i < mArrS.length; i++) { in InvLoopS()
110 mArrS[i] = mS; in InvLoopS()
123 for (int i = 0; i < mArrI.length; i++) { in InvLoopI()
124 mArrI[i] = mI; in InvLoopI()
[all …]
/art/test/640-checker-boolean-simd/src/
DMain.java37 for (int i = 0; i < 128; i++) in and()
38 a[i] &= x; // NOTE: bitwise and, not the common && in and()
50 for (int i = 0; i < 128; i++) in or()
51 a[i] |= x; // NOTE: bitwise or, not the common || in or()
63 for (int i = 0; i < 128; i++) in xor()
64 a[i] ^= x; // NOTE: bitwise xor in xor()
76 for (int i = 0; i < 128; i++) in not()
77 a[i] = !a[i]; in not()
87 for (int i = 0; i < 128; i++) { in main()
88 a[i] = (i & 1) == 0; in main()
[all …]
/art/test/530-checker-loops4/src/
DMain.java37 for (int i = 0; i < 10; i++) { in geo1()
58 for (int i = 0; i < 10; i++) { in geo2()
79 for (int i = 0; i < 10; i++) { in geo3()
98 for (int i = 0; i < 10; i++) { in geo4()
120 for (int i = 0; i < 10; i++) { in geo5()
144 for (int i = 0; i < 3; i++) { in geo1BCE()
169 for (int i = 0; i < 5; i++) { in geo2BCE()
189 for (int i = 0; i < 100; i++) { // a converges to 0 in geo3BCE()
209 for (int i = 0; i < 100; i++) { // a converges to 0 in geo4BCE()
228 for (int i = 0; i < 100; i++) { in geoMulBlackHole()
[all …]
/art/test/618-checker-induction/src/
DMain.java32 for (int i = 0; i < 4; i++) { in deadSingleLoop()
42 for (int i = 0; i < n; i++) { in deadSingleLoopN()
52 for (int i = 0; i <= n; i++) { // loops forever when n = MAX_INT in potentialInfiniteLoop()
63 for (int i = 0; i < 4; i++) { in deadNestedLoops()
81 for (int i = 0; i < 4; i++) { in deadNestedAndFollowingLoops()
93 for (int i = 0; i < 4; i++) { in deadNestedAndFollowingLoops()
105 for (int i = 0; i < n; i++) { in deadConditional()
106 if (i == 3) in deadConditional()
107 k = i; in deadConditional()
109 m = i; in deadConditional()
[all …]
/art/test/530-checker-loops3/src/
DMain.java39 for (int i = 0; i < a.length; i++) { in oneConstantIndex()
40 a[i] = b[1]; in oneConstantIndex()
59 for (int i = 0; i < a.length; i++) { in multipleConstantIndices()
60 a[i] = b[0] + b[1] + b[2]; in multipleConstantIndices()
77 for (int i = 0; i < a.length; i++) { in oneInvariantIndex()
78 a[i] = b[c]; in oneInvariantIndex()
98 for (int i = 0; i < a.length; i++) { in multipleInvariantIndices()
99 a[i] = b[c-1] + b[c] + b[c+1]; in multipleInvariantIndices()
117 for (int i = 0; i < a.length; i++) { in oneUnitStride()
118 a[i] = b[i]; in oneUnitStride()
[all …]
/art/test/623-checker-loop-regressions/src/
DMain.java33 for (int i = 0; i < 10; i++) { in earlyExitFirst()
34 if (i == m) { in earlyExitFirst()
51 for (int i = 0; i < 10; i++) { in earlyExitLast()
53 if (i == m) { in earlyExitLast()
74 for (int i = 0; i < 2; i++) { in earlyExitNested()
80 if (i == 1) { in earlyExitNested()
105 for (int i = 0; i < 10; i++) { in transferNarrowWrap()
126 for (short i = 0; i < 10; i++) { in polynomialShort()
127 x = x - i; // polynomial on narrowing linear in polynomialShort()
145 for (long i = 0; i < 10; i++) { in polynomialIntFromLong()
[all …]
/art/test/646-checker-simd-hadd/src/
DHaddShort.java50 for (int i = 0; i < min_length; i++) { in halving_add_signed()
51 bo[i] = (short) ((b1[i] + b2[i]) >> 1); in halving_add_signed()
76 for (int i = 0; i < min_length; i++) { in halving_add_signed_alt()
78 bo[i] = (short) (((b1[i] + 10) + (b2[i] - 10)) >> 1); in halving_add_signed_alt()
112 for (int i = 0; i < min_length; i++) { in halving_add_unsigned()
113 int v1 = b1[i] & 0xffff; in halving_add_unsigned()
114 int v2 = b2[i] & 0xffff; in halving_add_unsigned()
115 bo[i] = (short) ((v1 + v2) >> 1); in halving_add_unsigned()
137 for (int i = 0; i < min_length; i++) { in rounding_halving_add_signed()
138 bo[i] = (short) ((b1[i] + b2[i] + 1) >> 1); in rounding_halving_add_signed()
[all …]
DHaddAltShort.java49 for (int i = 0; i < min_length; i++) { in halving_add_signed()
50 bo[i] = (short) ((b1[i] + b2[i]) >>> 1); in halving_add_signed()
84 for (int i = 0; i < min_length; i++) { in halving_add_unsigned()
85 int v1 = b1[i] & 0xffff; in halving_add_unsigned()
86 int v2 = b2[i] & 0xffff; in halving_add_unsigned()
87 bo[i] = (short) ((v1 + v2) >>> 1); in halving_add_unsigned()
109 for (int i = 0; i < min_length; i++) { in rounding_halving_add_signed()
110 bo[i] = (short) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed()
146 for (int i = 0; i < min_length; i++) { in rounding_halving_add_unsigned()
147 int v1 = b1[i] & 0xffff; in rounding_halving_add_unsigned()
[all …]
DHaddChar.java52 for (int i = 0; i < min_length; i++) { in halving_add_unsigned()
53 bo[i] = (char) ((b1[i] + b2[i]) >> 1); in halving_add_unsigned()
96 for (int i = 0; i < min_length; i++) { in halving_add_also_unsigned()
97 bo[i] = (char) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >> 1); in halving_add_also_unsigned()
125 for (int i = 0; i < min_length; i++) { in rounding_halving_add_unsigned()
126 bo[i] = (char) ((b1[i] + b2[i] + 1) >> 1); in rounding_halving_add_unsigned()
171 for (int i = 0; i < min_length; i++) { in rounding_halving_add_also_unsigned()
172 bo[i] = (char) (((b1[i] & 0xffff) + (b2[i] & 0xffff) + 1) >> 1); in rounding_halving_add_also_unsigned()
200 for (int i = 0; i < min_length; i++) { in halving_add_unsigned_constant()
201 bo[i] = (char) ((b1[i] + 0xffff) >> 1); in halving_add_unsigned_constant()
[all …]
DHaddAltChar.java49 for (int i = 0; i < min_length; i++) { in halving_add_unsigned()
50 bo[i] = (char) ((b1[i] + b2[i]) >>> 1); in halving_add_unsigned()
88 for (int i = 0; i < min_length; i++) { in halving_add_also_unsigned()
89 bo[i] = (char) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >>> 1); in halving_add_also_unsigned()
111 for (int i = 0; i < min_length; i++) { in rounding_halving_add_unsigned()
112 bo[i] = (char) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_unsigned()
151 for (int i = 0; i < min_length; i++) { in rounding_halving_add_also_unsigned()
152 bo[i] = (char) (((b1[i] & 0xffff) + (b2[i] & 0xffff) + 1) >>> 1); in rounding_halving_add_also_unsigned()
174 for (int i = 0; i < min_length; i++) { in halving_add_unsigned_constant()
175 bo[i] = (char) ((b1[i] + 0xffff) >>> 1); in halving_add_unsigned_constant()
[all …]
/art/test/656-checker-simd-opt/src/
DMain.java46 for (int i = 0; i < 100; i++) { in unroll()
47 x[i] = y[i] * 2.5f; in unroll()
64 for (int i = 1; i < n - 1; i++) { in stencil()
65 a[i] = b[i - 1] + b[i] + b[i + 1]; in stencil()
119 for (long i = 0; i < 10; i++) { in longInductionReduction()
145 for (int i = 0; i < 100; i++) { in intVectorLongInvariant()
146 x[i] = (int) y[0]; in intVectorLongInvariant()
174 for (int i = 0; i < 100; i++) { in longCanBeDoneWithInt()
175 x[i] = (int) (y[i] + 1L); in longCanBeDoneWithInt()
182 for (int i = 0; i < 100; i++) { in testUnroll()
[all …]
/art/test/594-checker-array-alias/src/
DMain.java42 for (int i = 0; i < a.length; i++) { in CrossOverLoop1()
43 a[i] = b[20] - 7; in CrossOverLoop1()
58 for (int i = 0; i < a.length; i++) { in CrossOverLoop2()
59 a[i] = b[20] - 7; in CrossOverLoop2()
74 for (int i = 0; i < a.length; i++) { in CrossOverLoop3()
75 a[i] = b[20] - 7; in CrossOverLoop3()
90 for (int i = 0; i < a.length; i++) { in CrossOverLoop4()
91 a[i] = b[20] - 7; in CrossOverLoop4()
113 for (int i = 0; i < a.length; i++) { in FalseCrossOverLoop1()
114 a[i] = (int) b[20] - 7; in FalseCrossOverLoop1()
[all …]
/art/test/530-checker-loops1/src/
DMain.java36 for (int i = 0; i < x.length; i++) { in linear()
37 result += x[i]; in linear()
50 for (int i = x.length - 1; i >= 0; i--) { in linearDown()
51 result += x[i]; in linearDown()
64 for (int i = x.length - 1; i >= 0; i--) { in linearObscure()
65 int k = i + 5; in linearObscure()
79 for (int i = 0; i < x.length; i++) { in linearVeryObscure()
80 int k = (-i) + (i << 5) + i - (32 * i) + 5 + (int) i; in linearVeryObscure()
94 for (int i = 1; i <= 1; i++) { in hiddenStride()
96 for (int j = 0; j < a.length; j += i) { in hiddenStride()
[all …]
/art/test/665-checker-simd-zero/src/
DMain.java33 for (int i = 0; i < x.length; i++) { in zeroz()
34 x[i] = false; in zeroz()
49 for (int i = 0; i < x.length; i++) { in zerob()
50 x[i] = 0; in zerob()
65 for (int i = 0; i < x.length; i++) { in zeroc()
66 x[i] = 0; in zeroc()
81 for (int i = 0; i < x.length; i++) { in zeros()
82 x[i] = 0; in zeros()
97 for (int i = 0; i < x.length; i++) { in zeroi()
98 x[i] = 0; in zeroi()
[all …]
/art/test/485-checker-dce-switch/src/
DMain.java34 int i = $inline$method(); in wholeSwitchDead() local
36 if (i > 100) { in wholeSwitchDead()
39 i++; in wholeSwitchDead()
42 i = 99; in wholeSwitchDead()
45 i = 100; in wholeSwitchDead()
48 i = -100; in wholeSwitchDead()
51 i = 7; in wholeSwitchDead()
54 i = -9; in wholeSwitchDead()
57 l += i; in wholeSwitchDead()
74 int i = $inline$method(); in constantSwitch_InRange() local
[all …]
/art/test/667-checker-simd-alignment/src/
DMain.java49 for (int i = 1; i < 9; i++) { in staticallyAligned()
50 a[i] += 1; in staticallyAligned()
84 for (int i = 1; i < a.length; i++) { in staticallyAlignedN()
85 a[i] += 1; in staticallyAlignedN()
122 for (int i = 0; i < 9; i++) { in staticallyMisaligned()
123 a[i] += 1; in staticallyMisaligned()
162 for (int i = 0; i < a.length; i++) { in staticallyMisalignedN()
163 a[i] += 1; in staticallyMisalignedN()
207 for (int i = 0; i < 9; i++) { in staticallyUnknownAligned()
208 a[off + i] += 1; in staticallyUnknownAligned()
[all …]

12345678910>>...41