Lines Matching refs:b

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()
291 (a ^ (b >>> 7)) | (a ^ (int)b)); in $opt$noinline$testXor()
330 public static void $opt$validateExtendByteInt1(int a, byte b) { in $opt$validateExtendByteInt1() argument
331 assertIntEquals(a + $noinline$byteToChar (b), a + (char)b); in $opt$validateExtendByteInt1()
333 assertIntEquals(a + $noinline$byteToShort(b), a + (short)b); in $opt$validateExtendByteInt1()
342 public static void $opt$validateExtendByteInt2(int a, byte b) { in $opt$validateExtendByteInt2() argument
344 assertIntEquals (a + $noinline$byteToInt (b), a + (int)b); in $opt$validateExtendByteInt2()
346 assertLongEquals(a + $noinline$byteToLong(b), a + (long)b); in $opt$validateExtendByteInt2()
373 public static void $opt$validateExtendByteLong(long a, byte b) { in $opt$validateExtendByteLong() argument
378 assertLongEquals(a + $noinline$byteToChar (b), a + (char)b); in $opt$validateExtendByteLong()
382 assertLongEquals(a + $noinline$byteToShort(b), a + (short)b); in $opt$validateExtendByteLong()
383 assertLongEquals(a + $noinline$byteToInt (b), a + (int)b); in $opt$validateExtendByteLong()
386 public static void $opt$validateExtendByte(long a, byte b) { in $opt$validateExtendByte() argument
387 $opt$validateExtendByteInt1((int)a, b); in $opt$validateExtendByte() local
388 $opt$validateExtendByteInt2((int)a, b); in $opt$validateExtendByte() local
389 $opt$validateExtendByteLong(a, b); in $opt$validateExtendByte()
404 public static void $opt$validateExtendCharInt1(int a, char b) { in $opt$validateExtendCharInt1() argument
405 assertIntEquals(a + $noinline$charToByte (b), a + (byte)b); in $opt$validateExtendCharInt1()
406 assertIntEquals(a + $noinline$charToShort(b), a + (short)b); in $opt$validateExtendCharInt1()
415 public static void $opt$validateExtendCharInt2(int a, char b) { in $opt$validateExtendCharInt2() argument
417 assertIntEquals (a + $noinline$charToInt (b), a + (int)b); in $opt$validateExtendCharInt2()
419 assertLongEquals(a + $noinline$charToLong(b), a + (long)b); in $opt$validateExtendCharInt2()
450 public static void $opt$validateExtendCharLong(long a, char b) { in $opt$validateExtendCharLong() argument
452 assertLongEquals(a + $noinline$charToByte (b), a + (byte)b); in $opt$validateExtendCharLong()
453 assertLongEquals(a + $noinline$charToShort(b), a + (short)b); in $opt$validateExtendCharLong()
455 assertLongEquals(a + $noinline$charToInt (b), a + (int)b); in $opt$validateExtendCharLong()
458 public static void $opt$validateExtendChar(long a, char b) { in $opt$validateExtendChar() argument
459 $opt$validateExtendCharInt1((int)a, b); in $opt$validateExtendChar() local
460 $opt$validateExtendCharInt2((int)a, b); in $opt$validateExtendChar() local
461 $opt$validateExtendCharLong(a, b); in $opt$validateExtendChar()
476 public static void $opt$validateExtendShortInt1(int a, short b) { in $opt$validateExtendShortInt1() argument
477 assertIntEquals(a + $noinline$shortToByte (b), a + (byte)b); in $opt$validateExtendShortInt1()
478 assertIntEquals(a + $noinline$shortToChar (b), a + (char)b); in $opt$validateExtendShortInt1()
487 public static void $opt$validateExtendShortInt2(int a, short b) { in $opt$validateExtendShortInt2() argument
489 assertIntEquals (a + $noinline$shortToInt (b), a + (int)b); in $opt$validateExtendShortInt2()
491 assertLongEquals(a + $noinline$shortToLong (b), a + (long)b); in $opt$validateExtendShortInt2()
522 public static void $opt$validateExtendShortLong(long a, short b) { in $opt$validateExtendShortLong() argument
524 assertLongEquals(a + $noinline$shortToByte(b), a + (byte)b); in $opt$validateExtendShortLong()
525 assertLongEquals(a + $noinline$shortToChar(b), a + (char)b); in $opt$validateExtendShortLong()
527 assertLongEquals(a + $noinline$shortToInt (b), a + (int)b); in $opt$validateExtendShortLong()
530 public static void $opt$validateExtendShort(long a, short b) { in $opt$validateExtendShort() argument
531 $opt$validateExtendShortInt1((int)a, b); in $opt$validateExtendShort() local
532 $opt$validateExtendShortInt2((int)a, b); in $opt$validateExtendShort() local
533 $opt$validateExtendShortLong(a, b); in $opt$validateExtendShort()
568 public static void $opt$validateExtendInt(long a, int b) { in $opt$validateExtendInt() argument
572 assertLongEquals(a + $noinline$intToByte (b), a + (byte)b); in $opt$validateExtendInt()
573 assertLongEquals(a + $noinline$intToChar (b), a + (char)b); in $opt$validateExtendInt()
574 assertLongEquals(a + $noinline$intToShort(b), a + (short)b); in $opt$validateExtendInt()
575 assertLongEquals(a + $noinline$intToLong (b), a + (long)b); in $opt$validateExtendInt()
614 public static void $opt$validateExtendLong(long a, long b) { in $opt$validateExtendLong() argument
617 assertLongEquals(a + $noinline$longToByte (b), a + (byte)b); in $opt$validateExtendLong()
618 assertLongEquals(a + $noinline$longToChar (b), a + (char)b); in $opt$validateExtendLong()
619 assertLongEquals(a + $noinline$longToShort(b), a + (short)b); in $opt$validateExtendLong()
620 assertLongEquals(a + $noinline$longToInt (b), a + (int)b); in $opt$validateExtendLong()
624 static int $noinline$IntShl(int b, int c) { in $noinline$IntShl() argument
625 return b << c; in $noinline$IntShl()
627 static int $noinline$IntShr(int b, int c) { in $noinline$IntShr() argument
628 return b >> c; in $noinline$IntShr()
630 static int $noinline$IntUshr(int b, int c) { in $noinline$IntUshr() argument
631 return b >>> c; in $noinline$IntUshr()
824 public static void $opt$validateShiftInt(int a, int b) { in $opt$validateShiftInt() argument
825 assertIntEquals(a + $noinline$IntShl(b, 1), a + (b << 1)); in $opt$validateShiftInt()
826 assertIntEquals(a + $noinline$IntShl(b, 6), a + (b << 6)); in $opt$validateShiftInt()
827 assertIntEquals(a + $noinline$IntShl(b, 7), a + (b << 7)); in $opt$validateShiftInt()
828 assertIntEquals(a + $noinline$IntShl(b, 8), a + (b << 8)); in $opt$validateShiftInt()
829 assertIntEquals(a + $noinline$IntShl(b, 14), a + (b << 14)); in $opt$validateShiftInt()
830 assertIntEquals(a + $noinline$IntShl(b, 15), a + (b << 15)); in $opt$validateShiftInt()
831 assertIntEquals(a + $noinline$IntShl(b, 16), a + (b << 16)); in $opt$validateShiftInt()
832 assertIntEquals(a + $noinline$IntShl(b, 30), a + (b << 30)); in $opt$validateShiftInt()
833 assertIntEquals(a + $noinline$IntShl(b, 31), a + (b << 31)); in $opt$validateShiftInt()
834 assertIntEquals(a + $noinline$IntShl(b, 32), a + (b << $opt$inline$IntConstant32())); in $opt$validateShiftInt()
835 assertIntEquals(a + $noinline$IntShl(b, 62), a + (b << $opt$inline$IntConstant62())); in $opt$validateShiftInt()
836 assertIntEquals(a + $noinline$IntShl(b, 63), a + (b << $opt$inline$IntConstant63())); in $opt$validateShiftInt()
838 assertIntEquals(a - $noinline$IntShr(b, 1), a - (b >> 1)); in $opt$validateShiftInt()
839 assertIntEquals(a - $noinline$IntShr(b, 6), a - (b >> 6)); in $opt$validateShiftInt()
840 assertIntEquals(a - $noinline$IntShr(b, 7), a - (b >> 7)); in $opt$validateShiftInt()
841 assertIntEquals(a - $noinline$IntShr(b, 8), a - (b >> 8)); in $opt$validateShiftInt()
842 assertIntEquals(a - $noinline$IntShr(b, 14), a - (b >> 14)); in $opt$validateShiftInt()
843 assertIntEquals(a - $noinline$IntShr(b, 15), a - (b >> 15)); in $opt$validateShiftInt()
844 assertIntEquals(a - $noinline$IntShr(b, 16), a - (b >> 16)); in $opt$validateShiftInt()
845 assertIntEquals(a - $noinline$IntShr(b, 30), a - (b >> 30)); in $opt$validateShiftInt()
846 assertIntEquals(a - $noinline$IntShr(b, 31), a - (b >> 31)); in $opt$validateShiftInt()
847 assertIntEquals(a - $noinline$IntShr(b, 32), a - (b >> $opt$inline$IntConstant32())); in $opt$validateShiftInt()
848 assertIntEquals(a - $noinline$IntShr(b, 62), a - (b >> $opt$inline$IntConstant62())); in $opt$validateShiftInt()
849 assertIntEquals(a - $noinline$IntShr(b, 63), a - (b >> $opt$inline$IntConstant63())); in $opt$validateShiftInt()
851 assertIntEquals(a ^ $noinline$IntUshr(b, 1), a ^ (b >>> 1)); in $opt$validateShiftInt()
852 assertIntEquals(a ^ $noinline$IntUshr(b, 6), a ^ (b >>> 6)); in $opt$validateShiftInt()
853 assertIntEquals(a ^ $noinline$IntUshr(b, 7), a ^ (b >>> 7)); in $opt$validateShiftInt()
854 assertIntEquals(a ^ $noinline$IntUshr(b, 8), a ^ (b >>> 8)); in $opt$validateShiftInt()
855 assertIntEquals(a ^ $noinline$IntUshr(b, 14), a ^ (b >>> 14)); in $opt$validateShiftInt()
856 assertIntEquals(a ^ $noinline$IntUshr(b, 15), a ^ (b >>> 15)); in $opt$validateShiftInt()
857 assertIntEquals(a ^ $noinline$IntUshr(b, 16), a ^ (b >>> 16)); in $opt$validateShiftInt()
858 assertIntEquals(a ^ $noinline$IntUshr(b, 30), a ^ (b >>> 30)); in $opt$validateShiftInt()
859 assertIntEquals(a ^ $noinline$IntUshr(b, 31), a ^ (b >>> 31)); in $opt$validateShiftInt()
860 assertIntEquals(a ^ $noinline$IntUshr(b, 32), a ^ (b >>> $opt$inline$IntConstant32())); in $opt$validateShiftInt()
861 assertIntEquals(a ^ $noinline$IntUshr(b, 62), a ^ (b >>> $opt$inline$IntConstant62())); in $opt$validateShiftInt()
862 assertIntEquals(a ^ $noinline$IntUshr(b, 63), a ^ (b >>> $opt$inline$IntConstant63())); in $opt$validateShiftInt()
872 static long $noinline$LongShl(long b, long c) { in $noinline$LongShl() argument
873 return b << c; in $noinline$LongShl()
875 static long $noinline$LongShr(long b, long c) { in $noinline$LongShr() argument
876 return b >> c; in $noinline$LongShr()
878 static long $noinline$LongUshr(long b, long c) { in $noinline$LongUshr() argument
879 return b >>> c; in $noinline$LongUshr()
972 public static long[] $opt$validateShiftLong(long a, long b) { in $opt$validateShiftLong() argument
975 results[0] = a + (b << 1); in $opt$validateShiftLong()
976 results[1] = a + (b << 6); in $opt$validateShiftLong()
977 results[2] = a + (b << 7); in $opt$validateShiftLong()
978 results[3] = a + (b << 8); in $opt$validateShiftLong()
979 results[4] = a + (b << 14); in $opt$validateShiftLong()
980 results[5] = a + (b << 15); in $opt$validateShiftLong()
981 results[6] = a + (b << 16); in $opt$validateShiftLong()
982 results[7] = a + (b << 30); in $opt$validateShiftLong()
983 results[8] = a + (b << 31); in $opt$validateShiftLong()
984 results[9] = a + (b << 32); in $opt$validateShiftLong()
985 results[10] = a + (b << 62); in $opt$validateShiftLong()
986 results[11] = a + (b << 63); in $opt$validateShiftLong()
988 results[12] = a - (b >> 1); in $opt$validateShiftLong()
989 results[13] = a - (b >> 6); in $opt$validateShiftLong()
990 results[14] = a - (b >> 7); in $opt$validateShiftLong()
991 results[15] = a - (b >> 8); in $opt$validateShiftLong()
992 results[16] = a - (b >> 14); in $opt$validateShiftLong()
993 results[17] = a - (b >> 15); in $opt$validateShiftLong()
994 results[18] = a - (b >> 16); in $opt$validateShiftLong()
995 results[19] = a - (b >> 30); in $opt$validateShiftLong()
996 results[20] = a - (b >> 31); in $opt$validateShiftLong()
997 results[21] = a - (b >> 32); in $opt$validateShiftLong()
998 results[22] = a - (b >> 62); in $opt$validateShiftLong()
999 results[23] = a - (b >> 63); in $opt$validateShiftLong()
1001 results[24] = a ^ (b >>> 1); in $opt$validateShiftLong()
1002 results[25] = a ^ (b >>> 6); in $opt$validateShiftLong()
1003 results[26] = a ^ (b >>> 7); in $opt$validateShiftLong()
1004 results[27] = a ^ (b >>> 8); in $opt$validateShiftLong()
1005 results[28] = a ^ (b >>> 14); in $opt$validateShiftLong()
1006 results[29] = a ^ (b >>> 15); in $opt$validateShiftLong()
1007 results[30] = a ^ (b >>> 16); in $opt$validateShiftLong()
1008 results[31] = a ^ (b >>> 30); in $opt$validateShiftLong()
1009 results[32] = a ^ (b >>> 31); in $opt$validateShiftLong()
1010 results[33] = a ^ (b >>> 32); in $opt$validateShiftLong()
1011 results[34] = a ^ (b >>> 62); in $opt$validateShiftLong()
1012 results[35] = a ^ (b >>> 63); in $opt$validateShiftLong()
1017 public static void $opt$validateShiftLongAsserts(long a, long b) { in $opt$validateShiftLongAsserts() argument
1018 long[] results = $opt$validateShiftLong(a, b); in $opt$validateShiftLongAsserts()
1021 assertLongEquals(a + $noinline$LongShl(b, 1), results[0]); in $opt$validateShiftLongAsserts()
1022 assertLongEquals(a + $noinline$LongShl(b, 6), results[1]); in $opt$validateShiftLongAsserts()
1023 assertLongEquals(a + $noinline$LongShl(b, 7), results[2]); in $opt$validateShiftLongAsserts()
1024 assertLongEquals(a + $noinline$LongShl(b, 8), results[3]); in $opt$validateShiftLongAsserts()
1025 assertLongEquals(a + $noinline$LongShl(b, 14), results[4]); in $opt$validateShiftLongAsserts()
1026 assertLongEquals(a + $noinline$LongShl(b, 15), results[5]); in $opt$validateShiftLongAsserts()
1027 assertLongEquals(a + $noinline$LongShl(b, 16), results[6]); in $opt$validateShiftLongAsserts()
1028 assertLongEquals(a + $noinline$LongShl(b, 30), results[7]); in $opt$validateShiftLongAsserts()
1029 assertLongEquals(a + $noinline$LongShl(b, 31), results[8]); in $opt$validateShiftLongAsserts()
1030 assertLongEquals(a + $noinline$LongShl(b, 32), results[9]); in $opt$validateShiftLongAsserts()
1031 assertLongEquals(a + $noinline$LongShl(b, 62), results[10]); in $opt$validateShiftLongAsserts()
1032 assertLongEquals(a + $noinline$LongShl(b, 63), results[11]); in $opt$validateShiftLongAsserts()
1034 assertLongEquals(a - $noinline$LongShr(b, 1), results[12]); in $opt$validateShiftLongAsserts()
1035 assertLongEquals(a - $noinline$LongShr(b, 6), results[13]); in $opt$validateShiftLongAsserts()
1036 assertLongEquals(a - $noinline$LongShr(b, 7), results[14]); in $opt$validateShiftLongAsserts()
1037 assertLongEquals(a - $noinline$LongShr(b, 8), results[15]); in $opt$validateShiftLongAsserts()
1038 assertLongEquals(a - $noinline$LongShr(b, 14), results[16]); in $opt$validateShiftLongAsserts()
1039 assertLongEquals(a - $noinline$LongShr(b, 15), results[17]); in $opt$validateShiftLongAsserts()
1040 assertLongEquals(a - $noinline$LongShr(b, 16), results[18]); in $opt$validateShiftLongAsserts()
1041 assertLongEquals(a - $noinline$LongShr(b, 30), results[19]); in $opt$validateShiftLongAsserts()
1042 assertLongEquals(a - $noinline$LongShr(b, 31), results[20]); in $opt$validateShiftLongAsserts()
1043 assertLongEquals(a - $noinline$LongShr(b, 32), results[21]); in $opt$validateShiftLongAsserts()
1044 assertLongEquals(a - $noinline$LongShr(b, 62), results[22]); in $opt$validateShiftLongAsserts()
1045 assertLongEquals(a - $noinline$LongShr(b, 63), results[23]); in $opt$validateShiftLongAsserts()
1047 assertLongEquals(a ^ $noinline$LongUshr(b, 1), results[24]); in $opt$validateShiftLongAsserts()
1048 assertLongEquals(a ^ $noinline$LongUshr(b, 6), results[25]); in $opt$validateShiftLongAsserts()
1049 assertLongEquals(a ^ $noinline$LongUshr(b, 7), results[26]); in $opt$validateShiftLongAsserts()
1050 assertLongEquals(a ^ $noinline$LongUshr(b, 8), results[27]); in $opt$validateShiftLongAsserts()
1051 assertLongEquals(a ^ $noinline$LongUshr(b, 14), results[28]); in $opt$validateShiftLongAsserts()
1052 assertLongEquals(a ^ $noinline$LongUshr(b, 15), results[29]); in $opt$validateShiftLongAsserts()
1053 assertLongEquals(a ^ $noinline$LongUshr(b, 16), results[30]); in $opt$validateShiftLongAsserts()
1054 assertLongEquals(a ^ $noinline$LongUshr(b, 30), results[31]); in $opt$validateShiftLongAsserts()
1055 assertLongEquals(a ^ $noinline$LongUshr(b, 31), results[32]); in $opt$validateShiftLongAsserts()
1056 assertLongEquals(a ^ $noinline$LongUshr(b, 32), results[33]); in $opt$validateShiftLongAsserts()
1057 assertLongEquals(a ^ $noinline$LongUshr(b, 62), results[34]); in $opt$validateShiftLongAsserts()
1058 assertLongEquals(a ^ $noinline$LongUshr(b, 63), results[35]); in $opt$validateShiftLongAsserts()