< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ShortMaxVector.java

Print this page
rev 55237 : javadoc changes

*** 760,778 **** v -> (long) v.rOp((short) 1, (i, a, b) -> (short) (a * b))); } @Override @ForceInline - public short subAll() { - return (short) VectorIntrinsics.reductionCoerced( - VECTOR_OP_SUB, ShortMaxVector.class, short.class, LENGTH, - this, - v -> (long) v.rOp((short) 0, (i, a, b) -> (short) (a - b))); - } - - @Override - @ForceInline public short orAll() { return (short) VectorIntrinsics.reductionCoerced( VECTOR_OP_OR, ShortMaxVector.class, short.class, LENGTH, this, v -> (long) v.rOp((short) 0, (i, a, b) -> (short) (a | b))); --- 760,769 ----
*** 806,821 **** return blend(SPECIES.broadcast((short) 0), m).addAll(); } @Override @ForceInline - public short subAll(Mask<Short> m) { - return blend(SPECIES.broadcast((short) 0), m).subAll(); - } - - @Override - @ForceInline public short mulAll(Mask<Short> m) { return blend(SPECIES.broadcast((short) 1), m).mulAll(); } @Override --- 797,806 ----
< prev index next >