Lines Matching refs:b
116 public static long $opt$noinline$translate(long l, byte b) { in $opt$noinline$translate() argument
118 long tmp = (long)b; in $opt$noinline$translate()
249 static void $opt$noinline$testAnd(long a, long b) { in $opt$noinline$testAnd() argument
251 assertLongEquals((a & $noinline$LongShl(b, 5)) | (a & $noinline$longToByte(b)), in $opt$noinline$testAnd()
252 (a & (b << 5)) | (a & (byte)b)); in $opt$noinline$testAnd()
273 static void $opt$noinline$testOr(int a, int b) { in $opt$noinline$testOr() argument
275 assertIntEquals((a | $noinline$IntShr(b, 6)) | (a | $noinline$intToChar(b)), in $opt$noinline$testOr()
276 (a | (b >> 6)) | (a | (char)b)); in $opt$noinline$testOr()
297 static void $opt$noinline$testXor(long a, long b) { in $opt$noinline$testXor() argument
299 assertLongEquals((a ^ $noinline$LongUshr(b, 7)) | (a ^ $noinline$longToInt(b)), in $opt$noinline$testXor()
300 (a ^ (b >>> 7)) | (a ^ (int)b)); in $opt$noinline$testXor()
340 public static void $opt$validateExtendByteInt1(int a, byte b) { in $opt$validateExtendByteInt1() argument
341 assertIntEquals(a + $noinline$byteToChar (b), a + (char)b); in $opt$validateExtendByteInt1()
343 assertIntEquals(a + $noinline$byteToShort(b), a + (short)b); in $opt$validateExtendByteInt1()
352 public static void $opt$validateExtendByteInt2(int a, byte b) { in $opt$validateExtendByteInt2() argument
354 assertIntEquals (a + $noinline$byteToInt (b), a + (int)b); in $opt$validateExtendByteInt2()
356 assertLongEquals(a + $noinline$byteToLong(b), a + (long)b); in $opt$validateExtendByteInt2()
383 public static void $opt$validateExtendByteLong(long a, byte b) { in $opt$validateExtendByteLong() argument
388 assertLongEquals(a + $noinline$byteToChar (b), a + (char)b); in $opt$validateExtendByteLong()
392 assertLongEquals(a + $noinline$byteToShort(b), a + (short)b); in $opt$validateExtendByteLong()
393 assertLongEquals(a + $noinline$byteToInt (b), a + (int)b); in $opt$validateExtendByteLong()
396 public static void $opt$validateExtendByte(long a, byte b) { in $opt$validateExtendByte() argument
397 $opt$validateExtendByteInt1((int)a, b); in $opt$validateExtendByte() local
398 $opt$validateExtendByteInt2((int)a, b); in $opt$validateExtendByte() local
399 $opt$validateExtendByteLong(a, b); in $opt$validateExtendByte()
414 public static void $opt$validateExtendCharInt1(int a, char b) { in $opt$validateExtendCharInt1() argument
415 assertIntEquals(a + $noinline$charToByte (b), a + (byte)b); in $opt$validateExtendCharInt1()
416 assertIntEquals(a + $noinline$charToShort(b), a + (short)b); in $opt$validateExtendCharInt1()
425 public static void $opt$validateExtendCharInt2(int a, char b) { in $opt$validateExtendCharInt2() argument
427 assertIntEquals (a + $noinline$charToInt (b), a + (int)b); in $opt$validateExtendCharInt2()
429 assertLongEquals(a + $noinline$charToLong(b), a + (long)b); in $opt$validateExtendCharInt2()
460 public static void $opt$validateExtendCharLong(long a, char b) { in $opt$validateExtendCharLong() argument
462 assertLongEquals(a + $noinline$charToByte (b), a + (byte)b); in $opt$validateExtendCharLong()
463 assertLongEquals(a + $noinline$charToShort(b), a + (short)b); in $opt$validateExtendCharLong()
465 assertLongEquals(a + $noinline$charToInt (b), a + (int)b); in $opt$validateExtendCharLong()
468 public static void $opt$validateExtendChar(long a, char b) { in $opt$validateExtendChar() argument
469 $opt$validateExtendCharInt1((int)a, b); in $opt$validateExtendChar() local
470 $opt$validateExtendCharInt2((int)a, b); in $opt$validateExtendChar() local
471 $opt$validateExtendCharLong(a, b); in $opt$validateExtendChar()
486 public static void $opt$validateExtendShortInt1(int a, short b) { in $opt$validateExtendShortInt1() argument
487 assertIntEquals(a + $noinline$shortToByte (b), a + (byte)b); in $opt$validateExtendShortInt1()
488 assertIntEquals(a + $noinline$shortToChar (b), a + (char)b); in $opt$validateExtendShortInt1()
497 public static void $opt$validateExtendShortInt2(int a, short b) { in $opt$validateExtendShortInt2() argument
499 assertIntEquals (a + $noinline$shortToInt (b), a + (int)b); in $opt$validateExtendShortInt2()
501 assertLongEquals(a + $noinline$shortToLong (b), a + (long)b); in $opt$validateExtendShortInt2()
532 public static void $opt$validateExtendShortLong(long a, short b) { in $opt$validateExtendShortLong() argument
534 assertLongEquals(a + $noinline$shortToByte(b), a + (byte)b); in $opt$validateExtendShortLong()
535 assertLongEquals(a + $noinline$shortToChar(b), a + (char)b); in $opt$validateExtendShortLong()
537 assertLongEquals(a + $noinline$shortToInt (b), a + (int)b); in $opt$validateExtendShortLong()
540 public static void $opt$validateExtendShort(long a, short b) { in $opt$validateExtendShort() argument
541 $opt$validateExtendShortInt1((int)a, b); in $opt$validateExtendShort() local
542 $opt$validateExtendShortInt2((int)a, b); in $opt$validateExtendShort() local
543 $opt$validateExtendShortLong(a, b); in $opt$validateExtendShort()
578 public static void $opt$validateExtendInt(long a, int b) { in $opt$validateExtendInt() argument
582 assertLongEquals(a + $noinline$intToByte (b), a + (byte)b); in $opt$validateExtendInt()
583 assertLongEquals(a + $noinline$intToChar (b), a + (char)b); in $opt$validateExtendInt()
584 assertLongEquals(a + $noinline$intToShort(b), a + (short)b); in $opt$validateExtendInt()
585 assertLongEquals(a + $noinline$intToLong (b), a + (long)b); in $opt$validateExtendInt()
624 public static void $opt$validateExtendLong(long a, long b) { in $opt$validateExtendLong() argument
627 assertLongEquals(a + $noinline$longToByte (b), a + (byte)b); in $opt$validateExtendLong()
628 assertLongEquals(a + $noinline$longToChar (b), a + (char)b); in $opt$validateExtendLong()
629 assertLongEquals(a + $noinline$longToShort(b), a + (short)b); in $opt$validateExtendLong()
630 assertLongEquals(a + $noinline$longToInt (b), a + (int)b); in $opt$validateExtendLong()
634 static int $noinline$IntShl(int b, int c) { in $noinline$IntShl() argument
636 return b << c; in $noinline$IntShl()
638 static int $noinline$IntShr(int b, int c) { in $noinline$IntShr() argument
640 return b >> c; in $noinline$IntShr()
642 static int $noinline$IntUshr(int b, int c) { in $noinline$IntUshr() argument
644 return b >>> c; in $noinline$IntUshr()
837 public static void $opt$validateShiftInt(int a, int b) { in $opt$validateShiftInt() argument
838 assertIntEquals(a + $noinline$IntShl(b, 1), a + (b << 1)); in $opt$validateShiftInt()
839 assertIntEquals(a + $noinline$IntShl(b, 6), a + (b << 6)); in $opt$validateShiftInt()
840 assertIntEquals(a + $noinline$IntShl(b, 7), a + (b << 7)); in $opt$validateShiftInt()
841 assertIntEquals(a + $noinline$IntShl(b, 8), a + (b << 8)); in $opt$validateShiftInt()
842 assertIntEquals(a + $noinline$IntShl(b, 14), a + (b << 14)); in $opt$validateShiftInt()
843 assertIntEquals(a + $noinline$IntShl(b, 15), a + (b << 15)); in $opt$validateShiftInt()
844 assertIntEquals(a + $noinline$IntShl(b, 16), a + (b << 16)); in $opt$validateShiftInt()
845 assertIntEquals(a + $noinline$IntShl(b, 30), a + (b << 30)); in $opt$validateShiftInt()
846 assertIntEquals(a + $noinline$IntShl(b, 31), a + (b << 31)); in $opt$validateShiftInt()
847 assertIntEquals(a + $noinline$IntShl(b, 32), a + (b << $opt$inline$IntConstant32())); in $opt$validateShiftInt()
848 assertIntEquals(a + $noinline$IntShl(b, 62), a + (b << $opt$inline$IntConstant62())); in $opt$validateShiftInt()
849 assertIntEquals(a + $noinline$IntShl(b, 63), a + (b << $opt$inline$IntConstant63())); in $opt$validateShiftInt()
851 assertIntEquals(a - $noinline$IntShr(b, 1), a - (b >> 1)); in $opt$validateShiftInt()
852 assertIntEquals(a - $noinline$IntShr(b, 6), a - (b >> 6)); in $opt$validateShiftInt()
853 assertIntEquals(a - $noinline$IntShr(b, 7), a - (b >> 7)); in $opt$validateShiftInt()
854 assertIntEquals(a - $noinline$IntShr(b, 8), a - (b >> 8)); in $opt$validateShiftInt()
855 assertIntEquals(a - $noinline$IntShr(b, 14), a - (b >> 14)); in $opt$validateShiftInt()
856 assertIntEquals(a - $noinline$IntShr(b, 15), a - (b >> 15)); in $opt$validateShiftInt()
857 assertIntEquals(a - $noinline$IntShr(b, 16), a - (b >> 16)); in $opt$validateShiftInt()
858 assertIntEquals(a - $noinline$IntShr(b, 30), a - (b >> 30)); in $opt$validateShiftInt()
859 assertIntEquals(a - $noinline$IntShr(b, 31), a - (b >> 31)); in $opt$validateShiftInt()
860 assertIntEquals(a - $noinline$IntShr(b, 32), a - (b >> $opt$inline$IntConstant32())); in $opt$validateShiftInt()
861 assertIntEquals(a - $noinline$IntShr(b, 62), a - (b >> $opt$inline$IntConstant62())); in $opt$validateShiftInt()
862 assertIntEquals(a - $noinline$IntShr(b, 63), a - (b >> $opt$inline$IntConstant63())); in $opt$validateShiftInt()
864 assertIntEquals(a ^ $noinline$IntUshr(b, 1), a ^ (b >>> 1)); in $opt$validateShiftInt()
865 assertIntEquals(a ^ $noinline$IntUshr(b, 6), a ^ (b >>> 6)); in $opt$validateShiftInt()
866 assertIntEquals(a ^ $noinline$IntUshr(b, 7), a ^ (b >>> 7)); in $opt$validateShiftInt()
867 assertIntEquals(a ^ $noinline$IntUshr(b, 8), a ^ (b >>> 8)); in $opt$validateShiftInt()
868 assertIntEquals(a ^ $noinline$IntUshr(b, 14), a ^ (b >>> 14)); in $opt$validateShiftInt()
869 assertIntEquals(a ^ $noinline$IntUshr(b, 15), a ^ (b >>> 15)); in $opt$validateShiftInt()
870 assertIntEquals(a ^ $noinline$IntUshr(b, 16), a ^ (b >>> 16)); in $opt$validateShiftInt()
871 assertIntEquals(a ^ $noinline$IntUshr(b, 30), a ^ (b >>> 30)); in $opt$validateShiftInt()
872 assertIntEquals(a ^ $noinline$IntUshr(b, 31), a ^ (b >>> 31)); in $opt$validateShiftInt()
873 assertIntEquals(a ^ $noinline$IntUshr(b, 32), a ^ (b >>> $opt$inline$IntConstant32())); in $opt$validateShiftInt()
874 assertIntEquals(a ^ $noinline$IntUshr(b, 62), a ^ (b >>> $opt$inline$IntConstant62())); in $opt$validateShiftInt()
875 assertIntEquals(a ^ $noinline$IntUshr(b, 63), a ^ (b >>> $opt$inline$IntConstant63())); in $opt$validateShiftInt()
885 static long $noinline$LongShl(long b, long c) { in $noinline$LongShl() argument
887 return b << c; in $noinline$LongShl()
889 static long $noinline$LongShr(long b, long c) { in $noinline$LongShr() argument
891 return b >> c; in $noinline$LongShr()
893 static long $noinline$LongUshr(long b, long c) { in $noinline$LongUshr() argument
895 return b >>> c; in $noinline$LongUshr()
988 public static long[] $opt$validateShiftLong(long a, long b) { in $opt$validateShiftLong() argument
991 results[0] = a + (b << 1); in $opt$validateShiftLong()
992 results[1] = a + (b << 6); in $opt$validateShiftLong()
993 results[2] = a + (b << 7); in $opt$validateShiftLong()
994 results[3] = a + (b << 8); in $opt$validateShiftLong()
995 results[4] = a + (b << 14); in $opt$validateShiftLong()
996 results[5] = a + (b << 15); in $opt$validateShiftLong()
997 results[6] = a + (b << 16); in $opt$validateShiftLong()
998 results[7] = a + (b << 30); in $opt$validateShiftLong()
999 results[8] = a + (b << 31); in $opt$validateShiftLong()
1000 results[9] = a + (b << 32); in $opt$validateShiftLong()
1001 results[10] = a + (b << 62); in $opt$validateShiftLong()
1002 results[11] = a + (b << 63); in $opt$validateShiftLong()
1004 results[12] = a - (b >> 1); in $opt$validateShiftLong()
1005 results[13] = a - (b >> 6); in $opt$validateShiftLong()
1006 results[14] = a - (b >> 7); in $opt$validateShiftLong()
1007 results[15] = a - (b >> 8); in $opt$validateShiftLong()
1008 results[16] = a - (b >> 14); in $opt$validateShiftLong()
1009 results[17] = a - (b >> 15); in $opt$validateShiftLong()
1010 results[18] = a - (b >> 16); in $opt$validateShiftLong()
1011 results[19] = a - (b >> 30); in $opt$validateShiftLong()
1012 results[20] = a - (b >> 31); in $opt$validateShiftLong()
1013 results[21] = a - (b >> 32); in $opt$validateShiftLong()
1014 results[22] = a - (b >> 62); in $opt$validateShiftLong()
1015 results[23] = a - (b >> 63); in $opt$validateShiftLong()
1017 results[24] = a ^ (b >>> 1); in $opt$validateShiftLong()
1018 results[25] = a ^ (b >>> 6); in $opt$validateShiftLong()
1019 results[26] = a ^ (b >>> 7); in $opt$validateShiftLong()
1020 results[27] = a ^ (b >>> 8); in $opt$validateShiftLong()
1021 results[28] = a ^ (b >>> 14); in $opt$validateShiftLong()
1022 results[29] = a ^ (b >>> 15); in $opt$validateShiftLong()
1023 results[30] = a ^ (b >>> 16); in $opt$validateShiftLong()
1024 results[31] = a ^ (b >>> 30); in $opt$validateShiftLong()
1025 results[32] = a ^ (b >>> 31); in $opt$validateShiftLong()
1026 results[33] = a ^ (b >>> 32); in $opt$validateShiftLong()
1027 results[34] = a ^ (b >>> 62); in $opt$validateShiftLong()
1028 results[35] = a ^ (b >>> 63); in $opt$validateShiftLong()
1033 public static void $opt$validateShiftLongAsserts(long a, long b) { in $opt$validateShiftLongAsserts() argument
1034 long[] results = $opt$validateShiftLong(a, b); in $opt$validateShiftLongAsserts()
1037 assertLongEquals(a + $noinline$LongShl(b, 1), results[0]); in $opt$validateShiftLongAsserts()
1038 assertLongEquals(a + $noinline$LongShl(b, 6), results[1]); in $opt$validateShiftLongAsserts()
1039 assertLongEquals(a + $noinline$LongShl(b, 7), results[2]); in $opt$validateShiftLongAsserts()
1040 assertLongEquals(a + $noinline$LongShl(b, 8), results[3]); in $opt$validateShiftLongAsserts()
1041 assertLongEquals(a + $noinline$LongShl(b, 14), results[4]); in $opt$validateShiftLongAsserts()
1042 assertLongEquals(a + $noinline$LongShl(b, 15), results[5]); in $opt$validateShiftLongAsserts()
1043 assertLongEquals(a + $noinline$LongShl(b, 16), results[6]); in $opt$validateShiftLongAsserts()
1044 assertLongEquals(a + $noinline$LongShl(b, 30), results[7]); in $opt$validateShiftLongAsserts()
1045 assertLongEquals(a + $noinline$LongShl(b, 31), results[8]); in $opt$validateShiftLongAsserts()
1046 assertLongEquals(a + $noinline$LongShl(b, 32), results[9]); in $opt$validateShiftLongAsserts()
1047 assertLongEquals(a + $noinline$LongShl(b, 62), results[10]); in $opt$validateShiftLongAsserts()
1048 assertLongEquals(a + $noinline$LongShl(b, 63), results[11]); in $opt$validateShiftLongAsserts()
1050 assertLongEquals(a - $noinline$LongShr(b, 1), results[12]); in $opt$validateShiftLongAsserts()
1051 assertLongEquals(a - $noinline$LongShr(b, 6), results[13]); in $opt$validateShiftLongAsserts()
1052 assertLongEquals(a - $noinline$LongShr(b, 7), results[14]); in $opt$validateShiftLongAsserts()
1053 assertLongEquals(a - $noinline$LongShr(b, 8), results[15]); in $opt$validateShiftLongAsserts()
1054 assertLongEquals(a - $noinline$LongShr(b, 14), results[16]); in $opt$validateShiftLongAsserts()
1055 assertLongEquals(a - $noinline$LongShr(b, 15), results[17]); in $opt$validateShiftLongAsserts()
1056 assertLongEquals(a - $noinline$LongShr(b, 16), results[18]); in $opt$validateShiftLongAsserts()
1057 assertLongEquals(a - $noinline$LongShr(b, 30), results[19]); in $opt$validateShiftLongAsserts()
1058 assertLongEquals(a - $noinline$LongShr(b, 31), results[20]); in $opt$validateShiftLongAsserts()
1059 assertLongEquals(a - $noinline$LongShr(b, 32), results[21]); in $opt$validateShiftLongAsserts()
1060 assertLongEquals(a - $noinline$LongShr(b, 62), results[22]); in $opt$validateShiftLongAsserts()
1061 assertLongEquals(a - $noinline$LongShr(b, 63), results[23]); in $opt$validateShiftLongAsserts()
1063 assertLongEquals(a ^ $noinline$LongUshr(b, 1), results[24]); in $opt$validateShiftLongAsserts()
1064 assertLongEquals(a ^ $noinline$LongUshr(b, 6), results[25]); in $opt$validateShiftLongAsserts()
1065 assertLongEquals(a ^ $noinline$LongUshr(b, 7), results[26]); in $opt$validateShiftLongAsserts()
1066 assertLongEquals(a ^ $noinline$LongUshr(b, 8), results[27]); in $opt$validateShiftLongAsserts()
1067 assertLongEquals(a ^ $noinline$LongUshr(b, 14), results[28]); in $opt$validateShiftLongAsserts()
1068 assertLongEquals(a ^ $noinline$LongUshr(b, 15), results[29]); in $opt$validateShiftLongAsserts()
1069 assertLongEquals(a ^ $noinline$LongUshr(b, 16), results[30]); in $opt$validateShiftLongAsserts()
1070 assertLongEquals(a ^ $noinline$LongUshr(b, 30), results[31]); in $opt$validateShiftLongAsserts()
1071 assertLongEquals(a ^ $noinline$LongUshr(b, 31), results[32]); in $opt$validateShiftLongAsserts()
1072 assertLongEquals(a ^ $noinline$LongUshr(b, 32), results[33]); in $opt$validateShiftLongAsserts()
1073 assertLongEquals(a ^ $noinline$LongUshr(b, 62), results[34]); in $opt$validateShiftLongAsserts()
1074 assertLongEquals(a ^ $noinline$LongUshr(b, 63), results[35]); in $opt$validateShiftLongAsserts()