Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 113) sorted by relevance

12345

/art/test/660-checker-sad/src/
DSadInt.java34 static int sad1(int x, int y) { in sad1() argument
35 return x >= y ? x - y : y - x; in sad1()
45 static int sad2(int x, int y) { in sad2() argument
46 int diff = x - y; in sad2()
58 static int sad3(int x, int y) { in sad3() argument
59 int diff = x - y; in sad3()
70 static int sad3Alt(int x, int y) { in sad3Alt() argument
71 int diff = x - y; in sad3Alt()
82 static long sadL1(int x, int y) { in sadL1() argument
84 long yl = y; in sadL1()
[all …]
DSadShort.java29 static int sad1(short x, short y) { in sad1() argument
30 return x >= y ? x - y : y - x; in sad1()
40 static int sad2(short x, short y) { in sad2() argument
41 int diff = x - y; in sad2()
53 static int sad3(short x, short y) { in sad3() argument
54 int diff = x - y; in sad3()
65 static int sad3Alt(short x, short y) { in sad3Alt() argument
66 int diff = x - y; in sad3Alt()
77 static long sadL1(short x, short y) { in sadL1() argument
79 long yl = y; in sadL1()
[all …]
DSadChar.java29 static int sad1(char x, char y) { in sad1() argument
30 return x >= y ? x - y : y - x; in sad1()
40 static int sad2(char x, char y) { in sad2() argument
41 int diff = x - y; in sad2()
53 static int sad3(char x, char y) { in sad3() argument
54 int diff = x - y; in sad3()
65 static int sad3Alt(char x, char y) { in sad3Alt() argument
66 int diff = x - y; in sad3Alt()
77 static long sadL1(char x, char y) { in sadL1() argument
79 long yl = y; in sadL1()
[all …]
DSadByte.java29 static int sad1(byte x, byte y) { in sad1() argument
30 return x >= y ? x - y : y - x; in sad1()
40 static int sad2(byte x, byte y) { in sad2() argument
41 int diff = x - y; in sad2()
53 static int sad3(byte x, byte y) { in sad3() argument
54 int diff = x - y; in sad3()
65 static int sad3Alt(byte x, byte y) { in sad3Alt() argument
66 int diff = x - y; in sad3Alt()
77 static long sadL1(byte x, byte y) { in sadL1() argument
79 long yl = y; in sadL1()
[all …]
DSadLong.java34 static long sad1(long x, long y) { in sad1() argument
35 return x >= y ? x - y : y - x; in sad1()
45 static long sad2(long x, long y) { in sad2() argument
46 long diff = x - y; in sad2()
58 static long sad3(long x, long y) { in sad3() argument
59 long diff = x - y; in sad3()
70 static long sad3Alt(long x, long y) { in sad3Alt() argument
71 long diff = x - y; in sad3Alt()
94 long y = interesting[j]; in main() local
95 long e1 = x >= y ? x - y : y - x; // still select in main()
[all …]
/art/test/660-checker-simd-sad/src/
DSimdSadInt.java42 private static int sadInt2Int(int[] x, int[] y) { in sadInt2Int() argument
43 int min_length = Math.min(x.length, y.length); in sadInt2Int()
46 sad += Math.abs(x[i] - y[i]); in sadInt2Int()
68 private static int sadInt2IntAlt(int[] x, int[] y) { in sadInt2IntAlt() argument
69 int min_length = Math.min(x.length, y.length); in sadInt2IntAlt()
73 int p = y[i]; in sadInt2IntAlt()
99 private static int sadInt2IntAlt2(int[] x, int[] y) { in sadInt2IntAlt2() argument
100 int min_length = Math.min(x.length, y.length); in sadInt2IntAlt2()
104 int p = y[i]; in sadInt2IntAlt2()
138 private static long sadInt2Long(int[] x, int[] y) { in sadInt2Long() argument
[all …]
DSimdSadLong.java46 private static long sadLong2Long(long[] x, long[] y) { in sadLong2Long() argument
47 int min_length = Math.min(x.length, y.length); in sadLong2Long()
50 sad += Math.abs(x[i] - y[i]); in sadLong2Long()
73 private static long sadLong2LongAlt(long[] x, long[] y) { in sadLong2LongAlt() argument
74 int min_length = Math.min(x.length, y.length); in sadLong2LongAlt()
78 long p = y[i]; in sadLong2LongAlt()
108 private static long sadLong2LongAlt2(long[] x, long[] y) { in sadLong2LongAlt2() argument
109 int min_length = Math.min(x.length, y.length); in sadLong2LongAlt2()
113 long p = y[i]; in sadLong2LongAlt2()
145 private static long sadLong2LongAt1(long[] x, long[] y) { in sadLong2LongAt1() argument
[all …]
/art/test/561-shared-slowpaths/src/
DMain.java27 private static void init(int[] x, int [] y, int l1, int h1, int l2, int h2) { in init() argument
32 y[i] = i; in init()
40 int[] y = new int[100]; in main() local
45 reset(x, y); in main()
47 init(x, y, 0, 100, 0, 100); in main()
54 expectEquals(y[i], i); in main()
59 reset(x, y); in main()
61 init(null, y, 0, 100, 0, 100); in main()
68 expectEquals(y[i], 0); in main()
73 reset(x, y); in main()
[all …]
/art/test/570-checker-select/src/
DMain.java37 public static int $noinline$BoolCond_IntVarVar(boolean cond, int x, int y) { in $noinline$BoolCond_IntVarVar() argument
38 return cond ? x : y; in $noinline$BoolCond_IntVarVar()
81 public static int $noinline$BoolCond_IntCstVar(boolean cond, int y) { in $noinline$BoolCond_IntCstVar() argument
82 return cond ? 1 : y; in $noinline$BoolCond_IntCstVar()
104 public static long $noinline$BoolCond_LongVarVar(boolean cond, long x, long y) { in $noinline$BoolCond_LongVarVar() argument
105 return cond ? x : y; in $noinline$BoolCond_LongVarVar()
150 public static long $noinline$BoolCond_LongCstVar(boolean cond, long y) { in $noinline$BoolCond_LongCstVar() argument
151 return cond ? 1L : y; in $noinline$BoolCond_LongCstVar()
162 public static float $noinline$BoolCond_FloatVarVar(boolean cond, float x, float y) { in $noinline$BoolCond_FloatVarVar() argument
163 return cond ? x : y; in $noinline$BoolCond_FloatVarVar()
[all …]
/art/test/552-checker-x86-avx2-bit-manipulation/src/
DMain.java49 public static long and_not_64( long x, long y) { in and_not_64() argument
54 y = y | i; in and_not_64()
56 return x & ~y; in and_not_64()
80 public static int and_not_32( int x, int y) { in and_not_32() argument
85 y = y | i; in and_not_32()
87 return x & ~y; in and_not_32()
125 int y = x; in reset_lowest_set_bit_32() local
130 y = i & i-1; in reset_lowest_set_bit_32()
131 j += y; in reset_lowest_set_bit_32()
138 return y + j + k + l; in reset_lowest_set_bit_32()
[all …]
/art/test/674-hiddenapi/src/
DParentClass.java141 public ParentClass(int x, short y) {} in ParentClass() argument
142 ParentClass(float x, short y) {} in ParentClass() argument
143 protected ParentClass(long x, short y) {} in ParentClass() argument
144 private ParentClass(double x, short y) {} in ParentClass() argument
147 public ParentClass(int x, boolean y) {} in ParentClass() argument
148 ParentClass(float x, boolean y) {} in ParentClass() argument
149 protected ParentClass(long x, boolean y) {} in ParentClass() argument
150 private ParentClass(double x, boolean y) {} in ParentClass() argument
153 public ParentClass(int x, byte y) {} in ParentClass() argument
154 ParentClass(float x, byte y) {} in ParentClass() argument
[all …]
/art/test/474-checker-boolean-input/src/
DMain.java54 public static boolean InlineAnd(boolean x, boolean y) { in InlineAnd() argument
55 return x & y; in InlineAnd()
58 public static boolean TestAndAsBoolean(boolean x, boolean y) { in TestAndAsBoolean() argument
59 return InlineAnd(x, y) != true ? true : false; in TestAndAsBoolean()
71 public static boolean InlineOr(boolean x, boolean y) { in InlineOr() argument
72 return x | y; in InlineOr()
75 public static boolean TestOrAsBoolean(boolean x, boolean y) { in TestOrAsBoolean() argument
76 return InlineOr(x, y) != true ? true : false; in TestOrAsBoolean()
88 public static boolean InlineXor(boolean x, boolean y) { in InlineXor() argument
89 return x ^ y; in InlineXor()
[all …]
/art/test/ProtoCompare/
DProtoCompare.java18 int m1(short x, int y, long z) { return x + y + (int)z; } in m1() argument
19 int m2(short x, int y, long z) { return x + y + (int)z; } in m2() argument
20 int m3(long x, int y, short z) { return (int)x + y + z; } in m3() argument
21 long m4(long x, int y, short z) { return x + y + z; } in m4() argument
/art/test/ProtoCompare2/
DProtoCompare2.java18 int m1(short x, int y, long z) { return x + y + (int)z; } in m1() argument
19 int m2(short x, int y, long z) { return x + y + (int)z; } in m2() argument
20 int m3(long x, int y, short z) { return (int)x + y + z; } in m3() argument
21 long m4(long x, int y, short z) { return x + y + z; } in m4() argument
/art/test/567-checker-builder-intrinsics/src/
DTestMinMax.java620 public static int minmaxCSEScalar(int x, int y) { in minmaxCSEScalar() argument
621 int t1 = (x > y) ? x : y; in minmaxCSEScalar()
622 int t2 = (x < y) ? x : y; in minmaxCSEScalar()
623 int t3 = (x > y) ? x : y; in minmaxCSEScalar()
624 int t4 = (x < y) ? x : y; in minmaxCSEScalar()
625 int t5 = (x > y) ? x : y; in minmaxCSEScalar()
626 int t6 = (x < y) ? x : y; in minmaxCSEScalar()
656 public static int minmaxCSEArray(int[] x, int[] y) { in minmaxCSEArray() argument
657 int t1 = (x[0] > y[0]) ? x[0] : y[0]; in minmaxCSEArray()
658 int t2 = (x[0] < y[0]) ? x[0] : y[0]; in minmaxCSEArray()
[all …]
/art/test/478-checker-inliner-nested-loop/src/
DMain.java26 public static int Inline(int x, int y) { in Inline() argument
28 if (x <= y) { in Inline()
29 result = x * y; in Inline()
46 for (int y = 0; y < max_y; ++y) { in NestedLoop()
47 total += Inline(x, y); in NestedLoop()
/art/test/480-checker-dead-blocks/src/
DMain.java53 public static int testTrueBranch(int x, int y) { in testTrueBranch() argument
56 z = x + y; in testTrueBranch()
58 z = x - y; in testTrueBranch()
85 public static int testFalseBranch(int x, int y) { in testFalseBranch() argument
88 z = x + y; in testFalseBranch()
90 z = x - y; in testFalseBranch()
179 public static int testRemoveSuspendCheck(int x, int y) { in testRemoveSuspendCheck() argument
182 while (y > 0) { in testRemoveSuspendCheck()
186 y--; in testRemoveSuspendCheck()
/art/test/004-ReferenceMap/src/
DMain.java23 Object y = null; in f() local
25 y = new Object(); in f()
26 x[2] = y; // out-of-bound exception in f()
28 if (y == null) { in f()
32 x[1] = y; in f()
35 return y; in f()
/art/test/463-checker-boolean-simplifier/src-art/
DMain.java61 public static boolean GreaterThan(int x, int y) { in GreaterThan() argument
62 return (x <= y) ? false : true; in GreaterThan()
89 public static boolean LessThan(int x, int y) { in LessThan() argument
90 return (x < y) ? true : false; in LessThan()
105 public static int SimpleTrueBlock(boolean x, int y) { in SimpleTrueBlock() argument
106 return x ? y + 42 : 43; in SimpleTrueBlock()
121 public static int SimpleFalseBlock(boolean x, int y) { in SimpleFalseBlock() argument
122 return x ? 42 : y + 43; in SimpleFalseBlock()
139 public static int SimpleBothBlocks(boolean x, int y, int z) { in SimpleBothBlocks() argument
140 return x ? y + 42 : z + 43; in SimpleBothBlocks()
[all …]
/art/test/988-method-trace/
Dtrace_fib.cc30 jint y = 1; in Java_art_Test988_nativeFibonacci() local
32 jint z = x + y; in Java_art_Test988_nativeFibonacci()
33 x = y; in Java_art_Test988_nativeFibonacci()
34 y = z; in Java_art_Test988_nativeFibonacci()
36 return y; in Java_art_Test988_nativeFibonacci()
/art/test/656-checker-simd-opt/src/
DMain.java45 private static void unroll(float[] x, float[] y) { in unroll() argument
47 x[i] = y[i] * 2.5f; in unroll()
164 static long longInductionReduction(long[] y) { in longInductionReduction() argument
167 x += y[0]; in longInductionReduction()
191 static void intVectorLongInvariant(int[] x, long[] y) { in intVectorLongInvariant() argument
193 x[i] = (int) y[0]; in intVectorLongInvariant()
220 static void longCanBeDoneWithInt(int[] x, int[] y) { in longCanBeDoneWithInt() argument
222 x[i] = (int) (y[i] + 1L); in longCanBeDoneWithInt()
228 float[] y = new float[100]; in testUnroll() local
231 y[i] = 2.0f; in testUnroll()
[all …]
/art/test/003-omnibus-opcodes/src/
DIntMath.java164 static int[] intOperTest(int x, int y) { in intOperTest() argument
170 results[0] = x + y; in intOperTest()
171 results[1] = x - y; in intOperTest()
172 results[2] = x * y; in intOperTest()
174 results[4] = x / y; in intOperTest()
175 results[5] = x % -y; in intOperTest()
176 results[6] = x & y; in intOperTest()
177 results[7] = x | y; in intOperTest()
178 results[8] = x ^ y; in intOperTest()
181 results[9] = x + ((((((((x + y) - y) * y) / y) % y) & y) | y) ^ y); in intOperTest()
[all …]
DFloatMath.java135 static float[] floatOperTest(float x, float y) { in floatOperTest() argument
142 results[0] = x + y; in floatOperTest()
143 results[1] = x - y; in floatOperTest()
144 results[2] = x * y; in floatOperTest()
145 results[3] = x / y; in floatOperTest()
146 results[4] = x % -y; in floatOperTest()
150 tmp += y; in floatOperTest()
153 tmp -= y; in floatOperTest()
156 tmp *= y; in floatOperTest()
159 tmp /= y; in floatOperTest()
[all …]
/art/test/565-checker-condition-liveness/src/
DMain.java82 public static void testThrowIntoCatchBlock(int x, Object y, int[] a) { in testThrowIntoCatchBlock() argument
128 public static void testBoundsCheck(int x, Object y, int[] a) { in testBoundsCheck() argument
164 public static void testDeoptimize(int x, Object y, int[] a) { in testDeoptimize() argument
179 int y = field; in main() local
180 if (x > y) { in main()
/art/test/481-regression-phi-cond/src/
DMain.java25 public static boolean inlinePhi(boolean x, boolean y, boolean z) { in inlinePhi() argument
30 phi = y; in inlinePhi()
39 public static boolean testCase(boolean x, boolean y, boolean z) { in testCase() argument
41 boolean phi = inlinePhi(x, y, z); in testCase()

12345