/art/test/538-checker-embed-constants/src/ |
Main.java | 25 public static void assertLongEquals(long expected, long result) { 511 assertLongEquals(and255(longArg), 0x21L); 512 assertLongEquals(and511(longArg), 0x121L); 513 assertLongEquals(andNot15(longArg), 0x1234567887654320L); 514 assertLongEquals(and0xfffffff00000000f(longArg), 0x1234567000000001L); 515 assertLongEquals(or255(longArg), 0x12345678876543ffL); 516 assertLongEquals(or511(longArg), 0x12345678876543ffL); 517 assertLongEquals(orNot15(longArg), 0xfffffffffffffff1L); 518 assertLongEquals(or0xfffffff00000000f(longArg), 0xfffffff88765432fL); 519 assertLongEquals(xor255(longArg), 0x12345678876543deL) [all...] |
/art/test/542-bitfield-rotates/src/ |
Main.java | 25 public static void assertLongEquals(long expected, long actual) { 84 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, 0), 0x11); 86 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, 1), 0x8000000000000008L); 87 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, Long.SIZE - 1), 0x22); 88 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, Long.SIZE), 0x11); 89 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, Long.SIZE + 1), 0x8000000000000008L); 91 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, -1), 0x22); 92 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, -(Long.SIZE - 1)), 0x8000000000000008L); 93 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, -Long.SIZE), 0x11); 94 assertLongEquals($noinline$rotate_long_right_reg_v_csubv(0x11, -(Long.SIZE + 1)), 0x22) [all...] |
/art/test/566-checker-codegen-select/src/ |
Main.java | 71 assertLongEquals(5L, m.$noinline$longSelect(4L)); 72 assertLongEquals(7L, m.$noinline$longSelect(2L)); 73 assertLongEquals(5L, m.$noinline$longSelect_Constant(4L)); 74 assertLongEquals(7L, m.$noinline$longSelect_Constant(2L)); 85 public static void assertLongEquals(long expected, long actual) {
|
/art/test/458-checker-instruction-simplification/src/ |
Main.java | 33 public static void assertLongEquals(long expected, long result) { [all...] |
/art/test/422-type-conversion/src/ |
Main.java | 39 public static void assertLongEquals(long expected, long result) { 141 assertLongEquals(1L, $opt$noinline$ByteToLong((byte)1)); 142 assertLongEquals(0L, $opt$noinline$ByteToLong((byte)0)); 143 assertLongEquals(-1L, $opt$noinline$ByteToLong((byte)-1)); 144 assertLongEquals(51L, $opt$noinline$ByteToLong((byte)51)); 145 assertLongEquals(-51L, $opt$noinline$ByteToLong((byte)-51)); 146 assertLongEquals(127L, $opt$noinline$ByteToLong((byte)127)); // 2^7 - 1 147 assertLongEquals(-127L, $opt$noinline$ByteToLong((byte)-127)); // -(2^7 - 1) 148 assertLongEquals(-128L, $opt$noinline$ByteToLong((byte)-128)); // -(2^7) 152 assertLongEquals(1L, $opt$noinline$ShortToLong((short)1)) [all...] |
/art/test/550-checker-multiply-accumulate/src/ |
Main.java | 28 public static void assertLongEquals(long expected, long result) { 429 assertLongEquals(-26, $opt$noinline$mulSub(4, 5, 6)); 431 assertLongEquals(20, $opt$noinline$multipleUses2(10, 11, 12)); 433 assertLongEquals(-225, $opt$noinline$mulMinusOne(15, 16)); 435 assertLongEquals(-380, $opt$noinline$mulNeg(19, 20));
|
/art/test/551-checker-shifter-operand/src/ |
Main.java | 46 public static void assertLongEquals(long expected, long result) { 185 assertLongEquals((a & $noinline$LongShl(b, 5)) | (a & $noinline$longToByte(b)), 215 assertLongEquals((a ^ $noinline$LongUshr(b, 7)) | (a ^ $noinline$longToInt(b)), 263 assertLongEquals(a + $noinline$byteToLong(b), a + (long)b); 283 assertLongEquals(a + $noinline$byteToChar (b), a + (char)b); 287 assertLongEquals(a + $noinline$byteToShort(b), a + (short)b); 288 assertLongEquals(a + $noinline$byteToInt (b), a + (int)b); 317 assertLongEquals(a + $noinline$charToLong(b), a + (long)b); 333 assertLongEquals(a + $noinline$charToByte (b), a + (byte)b); 334 assertLongEquals(a + $noinline$charToShort(b), a + (short)b) [all...] |
/art/test/557-checker-instruction-simplifier-ror/src/ |
Main.java | 25 public static void assertLongEquals(long expected, long actual) { 634 assertLongEquals(2L, ror_long_constant_c_c(8L)); 637 assertLongEquals(2L, ror_long_constant_c_negc(8L)); 640 assertLongEquals(2L, ror_long_reg_v_csubv(8L, 2)); 647 assertLongEquals(32L, rol_long_reg_csubv_v(8L, 2)); 651 assertLongEquals(2L, ror_long_reg_v_negv(8L, 2)); 654 assertLongEquals(32L, rol_long_reg_negv_v(8L, 2)); 656 assertLongEquals(32L, rol_long_reg_v_negv_add(8L, 2)); 657 assertLongEquals(32L, rol_long_reg_v_negv_xor(8L, 2));
|
/art/test/555-UnsafeGetLong-regression/src/ |
Main.java | 21 private static void assertLongEquals(long expected, long result) { 46 assertLongEquals(1122334455667788L, lvar);
|
/art/test/442-checker-constant-folding/src/ |
Main.java | 36 public static void assertLongEquals(long expected, long result) { [all...] |
/art/test/564-checker-negbitwise/src/ |
Main.java | 28 public static void assertLongEquals(long expected, long result) { 294 assertLongEquals(~0x0, $opt$noinline$notOr(0xf, 0x1));
|
/art/test/565-checker-doublenegbitwise/src/ |
Main.java | 28 public static void assertLongEquals(long expected, long result) { 310 assertLongEquals(~0xf, $opt$noinline$orToAnd(0xf, 0xff));
|