/art/test/800-smali/ |
D | expected.txt | 5 b/17790197 9 b/18380491 14 b/18718277 15 b/18800943 (1) 16 b/18800943 (2) 20 b/20224106 21 b/17410612 22 b/21863767 23 b/21873167 24 b/21614284 [all …]
|
/art/test/551-checker-shifter-operand/src/ |
D | Main.java | 113 public static long $opt$noinline$translate(long l, byte b) { in $opt$noinline$translate() argument 114 long tmp = (long)b; in $opt$noinline$translate() 243 static void $opt$noinline$testAnd(long a, long b) { in $opt$noinline$testAnd() argument 244 assertLongEquals((a & $noinline$LongShl(b, 5)) | (a & $noinline$longToByte(b)), in $opt$noinline$testAnd() 245 (a & (b << 5)) | (a & (byte)b)); in $opt$noinline$testAnd() 266 static void $opt$noinline$testOr(int a, int b) { in $opt$noinline$testOr() argument 267 assertIntEquals((a | $noinline$IntShr(b, 6)) | (a | $noinline$intToChar(b)), in $opt$noinline$testOr() 268 (a | (b >> 6)) | (a | (char)b)); in $opt$noinline$testOr() 289 static void $opt$noinline$testXor(long a, long b) { in $opt$noinline$testXor() argument 290 assertLongEquals((a ^ $noinline$LongUshr(b, 7)) | (a ^ $noinline$longToInt(b)), in $opt$noinline$testXor() [all …]
|
/art/test/957-methodhandle-transforms/ |
D | expected.txt | 19 a: a, b:b, c: c 20 a: a, b:b, c: c 21 a: a, b:b, c: c 22 a: a, b:b, c: c 23 a: a, b:b, c: c 24 a: a, b:b, c: c 25 a: a, b:b, c: c 26 a: a, b:43 27 a: a, b:43 28 a: a, b:43 [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_math_entrypoints.cc | 24 int CmplFloat(float a, float b) { in CmplFloat() argument 25 if (a == b) { in CmplFloat() 27 } else if (a < b) { in CmplFloat() 29 } else if (a > b) { in CmplFloat() 35 int CmpgFloat(float a, float b) { in CmpgFloat() argument 36 if (a == b) { in CmpgFloat() 38 } else if (a < b) { in CmpgFloat() 40 } else if (a > b) { in CmpgFloat() 46 int CmpgDouble(double a, double b) { in CmpgDouble() argument 47 if (a == b) { in CmpgDouble() [all …]
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestByte.java | 61 public static final int testDotProdSimple(byte[] a, byte[] b) { in testDotProdSimple() argument 63 for (int i = 0; i < b.length; i++) { in testDotProdSimple() 64 int temp = a[i] * b[i]; in testDotProdSimple() 102 public static final int testDotProdComplex(byte[] a, byte[] b) { in testDotProdComplex() argument 104 for (int i = 0; i < b.length; i++) { in testDotProdComplex() 105 int temp = ((byte)(a[i] + 1)) * ((byte)(b[i] + 1)); in testDotProdComplex() 145 public static final int testDotProdSimpleUnsigned(byte[] a, byte[] b) { in testDotProdSimpleUnsigned() argument 147 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsigned() 148 int temp = (a[i] & 0xff) * (b[i] & 0xff); in testDotProdSimpleUnsigned() 186 public static final int testDotProdComplexUnsigned(byte[] a, byte[] b) { in testDotProdComplexUnsigned() argument [all …]
|
D | TestCharShort.java | 51 public static final int testDotProdSimple(short[] a, short[] b) { in testDotProdSimple() argument 53 for (int i = 0; i < b.length; i++) { in testDotProdSimple() 54 int temp = a[i] * b[i]; in testDotProdSimple() 92 public static final int testDotProdComplex(short[] a, short[] b) { in testDotProdComplex() argument 94 for (int i = 0; i < b.length; i++) { in testDotProdComplex() 95 int temp = ((short)(a[i] + 1)) * ((short)(b[i] + 1)); in testDotProdComplex() 126 public static final int testDotProdSimpleUnsigned(char[] a, char[] b) { in testDotProdSimpleUnsigned() argument 128 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsigned() 129 int temp = a[i] * b[i]; in testDotProdSimpleUnsigned() 167 public static final int testDotProdComplexUnsigned(char[] a, char[] b) { in testDotProdComplexUnsigned() argument [all …]
|
D | TestVarious.java | 50 public static final int testDotProdConstRight(byte[] b) { in testDotProdConstRight() argument 52 for (int i = 0; i < b.length; i++) { in testDotProdConstRight() 53 int temp = b[i] * 89; in testDotProdConstRight() 85 public static final int testDotProdConstLeft(byte[] b) { in testDotProdConstLeft() argument 87 for (int i = 0; i < b.length; i++) { in testDotProdConstLeft() 88 int temp = 89 * (b[i] & 0xff); in testDotProdConstLeft() 128 public static final int testDotProdLoopInvariantConvRight(byte[] b, int param) { in testDotProdLoopInvariantConvRight() argument 130 for (int i = 0; i < b.length; i++) { in testDotProdLoopInvariantConvRight() 131 int temp = b[i] * ((byte)(param + 129)); in testDotProdLoopInvariantConvRight() 139 public static final int testDotProdByteToChar(char[] a, char[] b) { in testDotProdByteToChar() argument [all …]
|
/art/test/514-shifts/src/ |
D | Main.java | 29 int b = myOtherField << a; in testIntShiftLeft() local 30 if (b != -2147483648) { in testIntShiftLeft() 31 throw new Error("Expected -2147483648, got " + b); in testIntShiftLeft() 40 int b = myOtherField >> a; in testIntShiftRight() local 41 if (b != 0) { in testIntShiftRight() 42 throw new Error("Expected 0, got " + b); in testIntShiftRight() 51 int b = myOtherField >>> a; in testIntUnsignedShiftRight() local 52 if (b != 0) { in testIntUnsignedShiftRight() 53 throw new Error("Expected 0, got " + b); in testIntUnsignedShiftRight() 62 long b = myOtherLongField << a; in testLongShiftLeft() local [all …]
|
/art/test/451-regression-add-float/src/ |
D | Main.java | 43 public static void assertEqual(int a, int b) { in assertEqual() argument 44 if (a != b) { in assertEqual() 45 throw new RuntimeException("Expected: " + a + " Found: " + b); in assertEqual() 49 public static void assertEqual(long a, long b) { in assertEqual() argument 50 if (a != b) { in assertEqual() 51 throw new RuntimeException("Expected: " + a + " Found: " + b); in assertEqual() 55 public static void assertEqual(float a, float b) { in assertEqual() argument 56 boolean aproxEquals = (a > b) in assertEqual() 57 ? ((a - b) < 0.0001f) in assertEqual() 58 : ((b - a) < 0.0001f); in assertEqual() [all …]
|
/art/test/StaticLeafMethods/ |
D | StaticLeafMethods.java | 26 static int sum(int a, int b) { in sum() argument 27 return a + b; in sum() 29 static int sum(int a, int b, int c) { in sum() argument 30 return a + b + c; in sum() 32 static int sum(int a, int b, int c, int d) { in sum() argument 33 return a + b + c + d; in sum() 35 static int sum(int a, int b, int c, int d, int e) { in sum() argument 36 return a + b + c + d + e; in sum() 41 static double sum(double a, double b) { in sum() argument 42 return a + b; in sum() [all …]
|
/art/test/432-optimizing-cmp/src/ |
D | Main.java | 125 static boolean $opt$eq(float a, float b) { in $opt$eq() argument 126 return a == b; in $opt$eq() 129 static boolean $opt$eq(double a, double b) { in $opt$eq() argument 130 return a == b; in $opt$eq() 133 static boolean $opt$lt(long a, long b) { in $opt$lt() argument 134 return a < b; in $opt$lt() 137 static boolean $opt$lt(float a, float b) { in $opt$lt() argument 138 return a < b; in $opt$lt() 141 static boolean $opt$lt(double a, double b) { in $opt$lt() argument 142 return a < b; in $opt$lt() [all …]
|
/art/test/NonStaticLeafMethods/ |
D | NonStaticLeafMethods.java | 28 int sum(int a, int b) { in sum() argument 29 return a + b; in sum() 31 int sum(int a, int b, int c) { in sum() argument 32 return a + b + c; in sum() 34 int sum(int a, int b, int c, int d) { in sum() argument 35 return a + b + c + d; in sum() 37 int sum(int a, int b, int c, int d, int e) { in sum() argument 38 return a + b + c + d + e; in sum() 43 double sum(double a, double b) { in sum() argument 44 return a + b; in sum() [all …]
|
/art/test/567-checker-builder-intrinsics/src/ |
D | TestMinMax.java | 265 public static int min1(int a, int b) { in min1() argument 266 return a < b ? a : b; in min1() 280 public static int min2(int a, int b) { in min2() argument 281 return a <= b ? a : b; in min2() 295 public static int min3(int a, int b) { in min3() argument 296 return a > b ? b : a; in min3() 310 public static int min4(int a, int b) { in min4() argument 311 return a >= b ? b : a; in min4() 325 public static int min5(short a, short b) { in min5() argument 326 return a >= b ? b : a; in min5() [all …]
|
/art/test/549-checker-types-merge/src/ |
D | Main.java | 51 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassExtendsB b) { in testMergeClasses() argument 53 return cond ? a : b; in testMergeClasses() 59 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassSuper b) { in testMergeClasses() argument 61 return cond ? a : b; in testMergeClasses() 67 private Object testMergeClasses(boolean cond, ClassSuper a, ClassSuper b) { in testMergeClasses() argument 69 return cond ? a : b; in testMergeClasses() 75 private Object testMergeClasses(boolean cond, ClassOtherSuper a, ClassSuper b) { in testMergeClasses() argument 77 return cond ? a : b; in testMergeClasses() 83 …e Object testMergeClassWithInterface(boolean cond, ClassImplementsInterfaceA a, InterfaceSuper b) { in testMergeClassWithInterface() argument 85 return cond ? a : b; in testMergeClassWithInterface() [all …]
|
/art/test/405-optimizing-long-allocator/src/ |
D | Main.java | 42 long b = 0; in $opt$TestLostCopy() local 44 b = a; in $opt$TestLostCopy() 47 return b; in $opt$TestLostCopy() 52 long b = 0; in $opt$TestTwoLive() local 55 b += 3; in $opt$TestTwoLive() 57 return a - b; in $opt$TestTwoLive() 62 long b = 0; in $opt$TestThreeLive() local 66 b += 3; in $opt$TestThreeLive() 69 return a - b - c; in $opt$TestThreeLive() 74 long b = 0; in $opt$TestFourLive() local [all …]
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | object.S | 2 b NterpCheckCast 5 b NterpGetBooleanInstanceField 11 b NterpGetByteInstanceField 17 b NterpGetCharInstanceField 23 b NterpGetObjectInstanceField 43 b 1b 66 b NterpGetShortInstanceField 72 b NterpGetWideInstanceField 78 b NterpInstanceOf 81 b NterpGetInstanceField [all …]
|
/art/test/404-optimizing-allocator/src/ |
D | Main.java | 36 int b = 0; in $opt$reg$TestLostCopy() local 38 b = a; in $opt$reg$TestLostCopy() 41 return b; in $opt$reg$TestLostCopy() 46 int b = 0; in $opt$reg$TestTwoLive() local 49 b += 3; in $opt$reg$TestTwoLive() 51 return a - b; in $opt$reg$TestTwoLive() 56 int b = 0; in $opt$reg$TestThreeLive() local 60 b += 3; in $opt$reg$TestThreeLive() 63 return a - b - c; in $opt$reg$TestThreeLive() 68 int b = 0; in $opt$reg$TestFourLive() local [all …]
|
/art/test/105-invoke/src/ |
D | Main.java | 23 int virI_II(int a, int b) { in virI_II() argument 24 return a + b + 321; in virI_II() 27 int virI_III(int a, int b, int c) { in virI_III() argument 28 return a + b + c + 432; in virI_III() 31 int virI_IIII(int a, int b, int c, int d) { in virI_IIII() argument 32 return a + b + c + d + 919; in virI_IIII() 35 int virI_IIIII(int a, int b, int c, int d, int e) { in virI_IIIII() argument 36 return a + b + c + d + e + 1010; in virI_IIIII() 39 int virI_IIIIII(int a, int b, int c, int d, int e, int f) { in virI_IIIIII() argument 40 return a + b + c + d + e + f + 2020; in virI_IIIIII() [all …]
|
/art/test/636-arm64-veneer-pool/src/ |
D | Main.java | 17 class C0 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 18 class C1 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 19 class C2 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 20 class C3 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 21 class C4 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 23 …public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new E… in m() argument 24 …public static void mImpl(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw n… in mImpl() argument 26 class C6 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 27 class C7 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 28 class C8 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument [all …]
|
/art/test/442-checker-constant-folding/src/ |
D | Main.java | 229 int a, b, c; in IntAddition1() local 231 b = 2; in IntAddition1() 232 c = a + b; in IntAddition1() 252 int a, b, c; in IntAddition2() local 254 b = 2; in IntAddition2() 255 a += b; in IntAddition2() 256 b = 5; in IntAddition2() 258 b += c; in IntAddition2() 259 c = a + b; in IntAddition2() 277 long a, b, c; in LongAddition() local [all …]
|
/art/test/656-checker-simd-opt/src/ |
D | Main.java | 63 private static void stencil(int[] a, int[] b, int n) { in stencil() argument 65 a[i] = b[i - 1] + b[i] + b[i + 1]; in stencil() 94 private static void stencilAddInt(int[] a, int[] b, int n) { in stencilAddInt() argument 97 a[i] = b[i + minus1] + b[i] + b[i + 1]; in stencilAddInt() 131 private static void stencilSubInt(int[] a, int[] b, int n) { in stencilSubInt() argument 134 a[i] = b[i - plus1] + b[i] + b[i + 1]; in stencilSubInt() 242 int[] b = new int[100]; in testStencil1() local 245 b[i] = i; in testStencil1() 247 stencil(a, b, 100); in testStencil1() 251 expectEquals(i, b[i]); in testStencil1() [all …]
|
/art/test/620-checker-bce-intrinsics/src/ |
D | Main.java | 43 static int oneArrayAbs(int[] a, int[] b) { in oneArrayAbs() argument 45 for (int i = Math.abs(b.length); i < a.length; i++) { in oneArrayAbs() 59 static int twoArrays(int[] a, int[] b) { in twoArrays() argument 61 for (int i = 0; i < Math.min(a.length, b.length); i++) { in twoArrays() 62 x += a[i] + b[i]; in twoArrays() 75 static int threeArrays(int[] a, int[] b, int[] c) { in threeArrays() argument 77 for (int i = 0; i < Math.min(Math.min(a.length, b.length), c.length); i++) { in threeArrays() 78 x += a[i] + b[i] + c[i]; in threeArrays() 92 static int fourArrays(int[] a, int[] b, int[] c, int[] d) { in fourArrays() argument 94 for (int i = 0; i < Math.min(Math.min(a.length, b.length), Math.min(c.length, d.length)); i++) { in fourArrays() [all …]
|
/art/test/700-LoadArgRegs/ |
D | expected.txt | 22 a, b 23 a, b, c 24 a, b, c, d 25 a, b, c, d, e 26 a, b, c, d, e, f 27 a, b, c, d, e, f, g 29 11, b 30 11, b, true 31 11, b, true, 12 32 11, b, true, 12, e [all …]
|
/art/test/408-move-bug/src/ |
D | Main.java | 25 boolean b = baz(); in crash() 37 foo1.field = b; in crash() 38 foo2.field = b; in crash() 39 foo3.field = b; in crash() 40 foo4.field = b; in crash() 41 foo1.lastField = b; in crash() 46 boolean b = baz(); in npe() 51 foo1.field = b; in npe() 52 foo2.field = b; in npe() 53 foo3.field = b; in npe() [all …]
|
/art/test/594-checker-array-alias/src/ |
D | Main.java | 40 private static void CrossOverLoop1(int a[], int b[]) { in CrossOverLoop1() argument 41 b[20] = 99; in CrossOverLoop1() 43 a[i] = b[20] - 7; in CrossOverLoop1() 56 private static void CrossOverLoop2(float a[], float b[]) { in CrossOverLoop2() argument 57 b[20] = 99; in CrossOverLoop2() 59 a[i] = b[20] - 7; in CrossOverLoop2() 72 private static void CrossOverLoop3(long a[], long b[]) { in CrossOverLoop3() argument 73 b[20] = 99; in CrossOverLoop3() 75 a[i] = b[20] - 7; in CrossOverLoop3() 88 private static void CrossOverLoop4(double a[], double b[]) { in CrossOverLoop4() argument [all …]
|