/art/test/646-checker-hadd-short/src/ |
D | Main.java | 44 private static void halving_add_signed(short[] b1, short[] b2, short[] bo) { in halving_add_signed() argument 45 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed() 47 bo[i] = (short) ((b1[i] + b2[i]) >> 1); in halving_add_signed() 70 private static void halving_add_signed_alt(short[] b1, short[] b2, short[] bo) { in halving_add_signed_alt() argument 71 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed_alt() 74 bo[i] = (short) (((b1[i] + 10) + (b2[i] - 10)) >> 1); in halving_add_signed_alt() 106 private static void halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in halving_add_unsigned() argument 107 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 109 bo[i] = (short) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >> 1); in halving_add_unsigned() 129 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed() argument [all …]
|
/art/test/646-checker-hadd-char/src/ |
D | Main.java | 56 private static void halving_add_unsigned(char[] b1, char[] b2, char[] bo) { in halving_add_unsigned() argument 57 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 59 bo[i] = (char) ((b1[i] + b2[i]) >> 1); in halving_add_unsigned() 106 private static void halving_add_also_unsigned(char[] b1, char[] b2, char[] bo) { in halving_add_also_unsigned() argument 107 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_also_unsigned() 109 bo[i] = (char) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >> 1); in halving_add_also_unsigned() 141 private static void rounding_halving_add_unsigned(char[] b1, char[] b2, char[] bo) { in rounding_halving_add_unsigned() argument 142 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned() 144 bo[i] = (char) ((b1[i] + b2[i] + 1) >> 1); in rounding_halving_add_unsigned() 193 private static void rounding_halving_add_also_unsigned(char[] b1, char[] b2, char[] bo) { in rounding_halving_add_also_unsigned() argument [all …]
|
/art/test/646-checker-hadd-alt-short/src/ |
D | Main.java | 47 private static void halving_add_signed(short[] b1, short[] b2, short[] bo) { in halving_add_signed() argument 48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed() 50 bo[i] = (short) ((b1[i] + b2[i]) >>> 1); in halving_add_signed() 82 private static void halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in halving_add_unsigned() argument 83 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 85 bo[i] = (short) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >>> 1); in halving_add_unsigned() 105 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed() argument 106 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed() 108 bo[i] = (short) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed() 142 private static void rounding_halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_unsigned() argument [all …]
|
/art/test/646-checker-hadd-alt-char/src/ |
D | Main.java | 47 private static void halving_add_unsigned(char[] b1, char[] b2, char[] bo) { in halving_add_unsigned() argument 48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 50 bo[i] = (char) ((b1[i] + b2[i]) >>> 1); in halving_add_unsigned() 86 private static void halving_add_also_unsigned(char[] b1, char[] b2, char[] bo) { in halving_add_also_unsigned() argument 87 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_also_unsigned() 89 bo[i] = (char) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >>> 1); in halving_add_also_unsigned() 109 private static void rounding_halving_add_unsigned(char[] b1, char[] b2, char[] bo) { in rounding_halving_add_unsigned() argument 110 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned() 112 bo[i] = (char) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_unsigned() 149 private static void rounding_halving_add_also_unsigned(char[] b1, char[] b2, char[] bo) { in rounding_halving_add_also_unsigned() argument [all …]
|
/art/test/646-checker-hadd-byte/src/ |
D | Main.java | 44 private static void halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in halving_add_signed() argument 45 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed() 47 bo[i] = (byte) ((b1[i] + b2[i]) >> 1); in halving_add_signed() 79 private static void halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in halving_add_unsigned() argument 80 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 82 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff)) >> 1); in halving_add_unsigned() 102 private static void rounding_halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_signed() argument 103 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed() 105 bo[i] = (byte) ((b1[i] + b2[i] + 1) >> 1); in rounding_halving_add_signed() 139 private static void rounding_halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_unsigned() argument [all …]
|
/art/test/646-checker-hadd-alt-byte/src/ |
D | Main.java | 47 private static void halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in halving_add_signed() argument 48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed() 50 bo[i] = (byte) ((b1[i] + b2[i]) >>> 1); in halving_add_signed() 82 private static void halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in halving_add_unsigned() argument 83 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 85 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff)) >>> 1); in halving_add_unsigned() 105 private static void rounding_halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_signed() argument 106 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed() 108 bo[i] = (byte) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed() 142 private static void rounding_halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_unsigned() argument [all …]
|