/art/test/567-checker-builder-intrinsics/src/ |
D | TestAbs.java | 33 public static int absI(int a) { in absI() 44 public static long absL(long a) { in absL() 67 public static int abs1(int a) { in abs1() 86 public static int abs2(int a) { in abs2() 105 public static int abs3(int a) { in abs3() 124 public static int abs4(int a) { in abs4() 143 public static int abs5(short a) { in abs5() 162 public static int abs6(byte a) { in abs6() 181 public static long abs7(long a) { in abs7() 204 public static int abs0(int[] a) { in abs0() [all …]
|
D | TestMinMax.java | 41 public static int minI(int a) { in minI() 60 public static long minL(long a) { in minL() 79 public static int maxI(int a) { in maxI() 98 public static long maxL(long a) { in maxL() 112 public static int minIntConstantZero(int a) { in minIntConstantZero() 122 public static int minIntConstantOne(int a) { in minIntConstantOne() 132 public static int minIntConstantMinusOne(int a) { in minIntConstantMinusOne() 142 public static long minLongConstantZero(long a) { in minLongConstantZero() 152 public static long minLongConstantOne(long a) { in minLongConstantOne() 162 public static long minLongConstantMinusOne(long a) { in minLongConstantMinusOne() [all …]
|
/art/test/427-bitwise/src/ |
D | Main.java | 86 static int $opt$And(int a, int b) { in $opt$And() 90 static int $opt$AndLit8(int a) { in $opt$AndLit8() 94 static int $opt$AndLit16(int a) { in $opt$AndLit16() 98 static long $opt$And(long a, long b) { in $opt$And() 102 static long $opt$AndLit8(long a) { in $opt$AndLit8() 106 static long $opt$AndLit16(long a) { in $opt$AndLit16() 148 static int $opt$Or(int a, int b) { in $opt$Or() 152 static int $opt$OrLit8(int a) { in $opt$OrLit8() 156 static int $opt$OrLit16(int a) { in $opt$OrLit16() 160 static long $opt$Or(long a, long b) { in $opt$Or() [all …]
|
/art/test/422-type-conversion/src/ |
D | Main.java | 633 static long $opt$noinline$ByteToLong(byte a) { return (long)a; } in $opt$noinline$ByteToLong() 634 static long $opt$noinline$ShortToLong(short a) { return (long)a; } in $opt$noinline$ShortToLong() 635 static long $opt$noinline$IntToLong(int a) { return (long)a; } in $opt$noinline$IntToLong() 636 static long $opt$noinline$CharToLong(int a) { return (long)a; } in $opt$noinline$CharToLong() 639 static float $opt$noinline$ByteToFloat(byte a) { return (float)a; } in $opt$noinline$ByteToFloat() 640 static float $opt$noinline$ShortToFloat(short a) { return (float)a; } in $opt$noinline$ShortToFloat() 641 static float $opt$noinline$IntToFloat(int a) { return (float)a; } in $opt$noinline$IntToFloat() 642 static float $opt$noinline$CharToFloat(char a) { return (float)a; } in $opt$noinline$CharToFloat() 645 static double $opt$noinline$ByteToDouble(byte a) { return (double)a; } in $opt$noinline$ByteToDouble() 646 static double $opt$noinline$ShortToDouble(short a) { return (double)a; } in $opt$noinline$ShortToDouble() [all …]
|
/art/test/432-optimizing-cmp/src/ |
D | Main.java | 125 static boolean $opt$eq(float a, float b) { in $opt$eq() 129 static boolean $opt$eq(double a, double b) { in $opt$eq() 133 static boolean $opt$lt(long a, long b) { in $opt$lt() 137 static boolean $opt$lt(float a, float b) { in $opt$lt() 141 static boolean $opt$lt(double a, double b) { in $opt$lt() 145 static boolean $opt$gt(long a, long b) { in $opt$gt() 149 static boolean $opt$gt(float a, float b) { in $opt$gt() 153 static boolean $opt$gt(double a, double b) { in $opt$gt() 159 private static int smaliCmpLong(long a, long b) throws Exception { in smaliCmpLong() 166 private static int smaliCmpGtFloat(float a, float b) throws Exception { in smaliCmpGtFloat() [all …]
|
/art/test/667-checker-simd-alignment/src/ |
D | Main.java | 46 static void staticallyAligned(int[] a) { in staticallyAligned() 81 static void staticallyAlignedN(int[] a) { in staticallyAlignedN() 118 static void staticallyMisaligned(int[] a) { in staticallyMisaligned() 158 static void staticallyMisalignedN(int[] a) { in staticallyMisalignedN() 204 static void staticallyUnknownAligned(int[] a, int off) { in staticallyUnknownAligned() 249 static void staticallyUnknownAlignedN(int[] a, int off, int n) { in staticallyUnknownAlignedN() 262 int[] a = new int[9]; in test1() local 272 int[] a = new int[n]; in test2() local 282 int[] a = new int[9]; in test3() local 291 int[] a = new int[n]; in test4() local [all …]
|
/art/test/530-checker-loops4/src/ |
D | Main.java | 36 public static int geo1(int a) { in geo1() 57 public static int geo2(int a) { in geo2() 78 public static int geo3(int a) { in geo3() 97 public static int geo4(int a) { in geo4() 119 int a = 0x7fffffff; in geo5() local 142 int a = 1; in geo1BCE() local 167 int a = 1; in geo2BCE() local 187 int a = 25; in geo3BCE() local 207 int a = 25; in geo4BCE() local 227 public static int geoMulBlackHole(int a) { in geoMulBlackHole() [all …]
|
/art/test/451-regression-add-float/src/ |
D | Main.java | 27 public static int add3(int a) { in add3() 31 public static long add3(long a) { in add3() 35 public static float add3(float a) { in add3() 39 public static double add3(double a) { in add3() 43 public static void assertEqual(int a, int b) { in assertEqual() 49 public static void assertEqual(long a, long b) { in assertEqual() 55 public static void assertEqual(float a, float b) { in assertEqual() 64 public static void assertEqual(double a, double b) { in assertEqual()
|
/art/test/410-floats/src/ |
D | Main.java | 20 float[] a = new float[2]; in main() local 57 public static float returnFloat(float[] a) { in returnFloat() 65 public static double returnDouble(double[] a) { in returnDouble() 69 public static float takeAFloat(float a) { in takeAFloat() 73 public static double takeADouble(double a) { in takeADouble() 77 public static double takeThreeDouble(double a, double b, double c) { in takeThreeDouble() 81 public static float takeThreeFloat(float a, float b, float c) { in takeThreeFloat() 85 public static float invokeTakeAFloat(float a) { in invokeTakeAFloat() 89 public static double invokeTakeADouble(double a) { in invokeTakeADouble() 93 public static double invokeTakeThreeDouble(double a, double b, double c) { in invokeTakeThreeDouble() [all …]
|
/art/test/436-rem-float/src/ |
D | Main.java | 218 static float $opt$Rem(float a, float b) { in $opt$Rem() 222 static float $opt$RemConst(float a) { in $opt$RemConst() 226 static double $opt$Rem(double a, double b) { in $opt$Rem() 230 static double $opt$RemConst(double a) { in $opt$RemConst() 234 public static void expectApproxEquals(float a, float b) { in expectApproxEquals() 243 public static void expectApproxEquals(double a, double b) { in expectApproxEquals() 252 public static void expectNaN(float a) { in expectNaN() 258 public static void expectNaN(double a) { in expectNaN()
|
/art/runtime/entrypoints/quick/ |
D | quick_math_entrypoints.cc | 24 int CmplFloat(float a, float b) { in CmplFloat() 35 int CmpgFloat(float a, float b) { in CmpgFloat() 46 int CmpgDouble(double a, double b) { in CmpgDouble() 57 int CmplDouble(double a, double b) { in CmplDouble() 70 extern "C" int64_t artLmul(int64_t a, int64_t b) { in artLmul() 74 extern "C" int64_t artLdiv(int64_t a, int64_t b) { in artLdiv() 78 extern "C" int64_t artLmod(int64_t a, int64_t b) { in artLmod()
|
/art/test/640-checker-simd/src/ |
D | SimdByte.java | 22 static byte[] a; field in SimdByte 227 expectEquals((byte) 0xf0, a[i], "shl4"); in main() local 231 expectEquals((byte) 0xfc, a[i], "sar2"); in main() local 235 expectEquals((byte) 0xff, a[i], "shr2"); // sic! in main() local 239 expectEquals((byte) 0xff, a[i], "sar31"); in main() local 248 expectEquals((byte) 0x12, a[i], "shr32"); in main() local 252 expectEquals((byte) 0x09, a[i], "shr33"); in main() local 256 expectEquals((byte) 0x00, a[i], "shl9"); in main() local 261 expectEquals((byte) 0x0f, a[i], "not"); in main() local
|
D | SimdChar.java | 22 static char[] a; field in SimdChar 207 expectEquals((char)-i, a[i], "neg"); in main() local 222 expectEquals((char) 0xfff0, a[i], "shl4"); in main() local 226 expectEquals((char) 0x3ffc, a[i], "sar2"); in main() local 230 expectEquals((char) 0x0fff, a[i], "shr2"); in main() local 245 expectEquals((char) 0x1200, a[i], "shr32"); in main() local 249 expectEquals((char) 0x0900, a[i], "shr33"); in main() local 254 expectEquals((char) 0x0e0f, a[i], "not"); in main() local
|
D | SimdShort.java | 22 static short[] a; field in SimdShort 223 expectEquals((short) 0xfff0, a[i], "shl4"); in main() local 227 expectEquals((short) 0xfffc, a[i], "sar2"); in main() local 231 expectEquals((short) 0xffff, a[i], "shr2"); // sic! in main() local 235 expectEquals((short) 0xffff, a[i], "sar31"); in main() local 244 expectEquals((short) 0x1200, a[i], "shr32"); in main() local 248 expectEquals((short) 0x0900, a[i], "shr33"); in main() local 253 expectEquals((short) 0x0f0e, a[i], "not"); in main() local
|
/art/test/411-optimizing-arith/src/ |
D | RemTest.java | 122 static int $opt$Rem(int a, int b) { in $opt$Rem() 126 static int $opt$RemZero(int a) { in $opt$RemZero() 130 static int $noinline$RemLoaded1(int a) { in $noinline$RemLoaded1() 135 static int $noinline$RemLoadedN1(int a) { in $noinline$RemLoadedN1() 140 static long $noinline$RemLoaded1(long a) { in $noinline$RemLoaded1() 145 static long $noinline$RemLoadedN1(long a) { in $noinline$RemLoadedN1() 151 static int $opt$RemConst(int a) { in $opt$RemConst() 155 static long $opt$RemConst(long a) { in $opt$RemConst() 159 static long $opt$Rem(long a, long b) { in $opt$Rem() 163 static long $opt$RemZero(long a) { in $opt$RemZero()
|
D | DivTest.java | 45 public static void expectApproxEquals(float a, float b) { in expectApproxEquals() 54 public static void expectApproxEquals(double a, double b) { in expectApproxEquals() 63 public static void expectNaN(float a) { in expectNaN() 69 public static void expectNaN(double a) { in expectNaN() 218 static int $opt$Div(int a, int b) { in $opt$Div() 222 static int $opt$DivZero(int a) { in $opt$DivZero() 227 static int $opt$DivConst(int a) { in $opt$DivConst() 231 static long $opt$DivConst(long a) { in $opt$DivConst() 235 static long $opt$Div(long a, long b) { in $opt$Div() 239 static long $opt$DivZero(long a) { in $opt$DivZero() [all …]
|
/art/test/477-checker-bound-type/src/ |
D | Main.java | 22 public static Object boundTypeForIf(Object a) { in boundTypeForIf() 32 public static Object boundTypeForInstanceOf(Object a) { in boundTypeForInstanceOf() 42 public static Object noBoundTypeForIf(Object a) { in noBoundTypeForIf() 52 public static Object noBoundTypeForInstanceOf(Object a) { in noBoundTypeForInstanceOf() 102 private static void boundTypeInLoop(int[] a) { in boundTypeInLoop() 129 int[] a = (int[])obj; in BoundTypeNoLICM() local
|
/art/test/530-checker-peel-unroll/src/ |
D | Main.java | 24 int[] a = new int[LENGTH]; field in Main 57 private static final void initIntArray(int[] a) { in initIntArray() 63 private static final void initDoubleArray(double[] a) { in initDoubleArray() 109 private static final void unrollingLoadStoreElimination(int[] a) { in unrollingLoadStoreElimination() 150 private static final void unrollingSwitch(int[] a) { in unrollingSwitch() 258 double[][] a, in unrollingRInnerproduct() 316 private static final void unrollingInTheNest(int[] a, int[] b, int x) { in unrollingInTheNest() 389 private static final void unrollingTwoLoopsInTheNest(int[] a, int[] b, int x) { in unrollingTwoLoopsInTheNest() 467 private static final int unrollingSimpleLiveOuts(int[] a) { in unrollingSimpleLiveOuts() 551 private static final int unrollingLiveOutsNested(int[] a) { in unrollingLiveOutsNested() [all …]
|
/art/test/105-invoke/src/ |
D | Main.java | 19 int virI_I(int a) { in virI_I() 23 int virI_II(int a, int b) { in virI_II() 27 int virI_III(int a, int b, int c) { in virI_III() 31 int virI_IIII(int a, int b, int c, int d) { in virI_IIII() 35 int virI_IIIII(int a, int b, int c, int d, int e) { in virI_IIIII() 39 int virI_IIIIII(int a, int b, int c, int d, int e, int f) { in virI_IIIIII() 43 static int statI_I(int a) { in statI_I() 47 static int statI_II(int a, int b) { in statI_II() 51 static int statI_III(int a, int b, int c) { in statI_III() 55 static int statI_IIII(int a, int b, int c, int d) { in statI_IIII() [all …]
|
/art/test/402-optimizing-control-flow/src/ |
D | Main.java | 48 static int $opt$testIfEq1(int a) { in $opt$testIfEq1() 56 static int $opt$testIfEq2(int a) { in $opt$testIfEq2() 64 static int $opt$testWhileLoop(int a) { in $opt$testWhileLoop() 69 static int $opt$testDoWhileLoop(int a) { in $opt$testDoWhileLoop() 75 static int $opt$testForLoop(int a) { in $opt$testForLoop() 80 static int $opt$testIfWithLocal(int a) { in $opt$testIfWithLocal()
|
/art/test/620-checker-bce-intrinsics/src/ |
D | Main.java | 29 static int oneArray(int[] a) { in oneArray() 43 static int oneArrayAbs(int[] a, int[] b) { in oneArrayAbs() 59 static int twoArrays(int[] a, int[] b) { in twoArrays() 75 static int threeArrays(int[] a, int[] b, int[] c) { in threeArrays() 92 static int fourArrays(int[] a, int[] b, int[] c, int[] d) { in fourArrays() 109 static int oneArrayWithCleanup(int[] a) { in oneArrayWithCleanup() 131 static int twoArraysWithCleanup(int[] a, int[] b) { in twoArraysWithCleanup() 154 static int threeArraysWithCleanup(int[] a, int[] b, int[] c) { in threeArraysWithCleanup() 173 static int altLoopLogic(int[] a, int[] b) { in altLoopLogic() 189 static int hiddenMin(int[] a, int[] b) { in hiddenMin() [all …]
|
/art/test/672-checker-throw-method/src/ |
D | Main.java | 72 static public void doit1(int[] a) { in doit1() 102 static public void doit2(int[] a) { in doit2() 134 static public void doit3(int[] a) { in doit3() 163 static public void doit4(int[] a) { in doit4() 175 static public int doit5(int[] a) { in doit5() 217 static public int deleteNullCheck(int[] a) { in deleteNullCheck() 227 static public int deleteNullCheckAlt(int[] a) { in deleteNullCheckAlt() 239 static public int deleteNullChecks3(int[] a, int[] b, int[] c) { in deleteNullChecks3() 251 int[] a = new int[100]; in main() local
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestByte.java | 61 public static final int testDotProdSimple(byte[] a, byte[] b) { in testDotProdSimple() 102 public static final int testDotProdComplex(byte[] a, byte[] b) { in testDotProdComplex() 145 public static final int testDotProdSimpleUnsigned(byte[] a, byte[] b) { in testDotProdSimpleUnsigned() 186 public static final int testDotProdComplexUnsigned(byte[] a, byte[] b) { in testDotProdComplexUnsigned() 227 public static final int testDotProdComplexUnsignedCastedToSigned(byte[] a, byte[] b) { in testDotProdComplexUnsignedCastedToSigned() 268 public static final int testDotProdComplexSignedCastedToUnsigned(byte[] a, byte[] b) { in testDotProdComplexSignedCastedToUnsigned() 279 public static final int testDotProdSignedWidening(byte[] a, byte[] b) { in testDotProdSignedWidening() 325 public static final int testDotProdSignedToChar(byte[] a, byte[] b) { in testDotProdSignedToChar() 338 public static final int testDotProdSimpleCastedToSignedByte(byte[] a, byte[] b) { in testDotProdSimpleCastedToSignedByte() 349 public static final int testDotProdSimpleCastedToUnsignedByte(byte[] a, byte[] b) { in testDotProdSimpleCastedToUnsignedByte() [all …]
|
/art/test/514-shifts/src/ |
D | Main.java | 28 int a = myField; in testIntShiftLeft() local 39 int a = myField; in testIntShiftRight() local 50 int a = myField; in testIntUnsignedShiftRight() local 61 long a = myLongField; in testLongShiftLeft() local 74 long a = myLongField; in testLongShiftRight() local 87 long a = myLongField; in testLongUnsignedShiftRight() local
|
/art/test/549-checker-types-merge/src/ |
D | Main.java | 51 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassExtendsB b) { in testMergeClasses() 59 private Object testMergeClasses(boolean cond, ClassExtendsA a, ClassSuper b) { in testMergeClasses() 67 private Object testMergeClasses(boolean cond, ClassSuper a, ClassSuper b) { in testMergeClasses() 75 private Object testMergeClasses(boolean cond, ClassOtherSuper a, ClassSuper b) { in testMergeClasses() 83 …private Object testMergeClassWithInterface(boolean cond, ClassImplementsInterfaceA a, InterfaceSup… in testMergeClassWithInterface() 91 private Object testMergeClassWithInterface(boolean cond, ClassSuper a, InterfaceSuper b) { in testMergeClassWithInterface() 99 private Object testMergeInterfaces(boolean cond, InterfaceExtendsA a, InterfaceSuper b) { in testMergeInterfaces() 107 private Object testMergeInterfaces(boolean cond, InterfaceSuper a, InterfaceSuper b) { in testMergeInterfaces() 115 private Object testMergeInterfaces(boolean cond, InterfaceExtendsA a, InterfaceExtendsB b) { in testMergeInterfaces() 123 private Object testMergeInterfaces(boolean cond, InterfaceSuper a, InterfaceOtherSuper b) { in testMergeInterfaces()
|