< prev index next >

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

Print this page
rev 55237 : javadoc changes

*** 852,874 **** return Double.longBitsToDouble(bits); } @Override @ForceInline - public double subAll() { - long bits = (long) VectorIntrinsics.reductionCoerced( - VECTOR_OP_SUB, Double64Vector.class, double.class, LENGTH, - this, - v -> { - double r = v.rOp((double) 0, (i, a, b) -> (double) (a - b)); - return (long)Double.doubleToLongBits(r); - }); - return Double.longBitsToDouble(bits); - } - - @Override - @ForceInline public double mulAll() { long bits = (long) VectorIntrinsics.reductionCoerced( VECTOR_OP_MUL, Double64Vector.class, double.class, LENGTH, this, v -> { --- 852,861 ----
*** 911,926 **** return blend(SPECIES.broadcast((double) 0), m).addAll(); } @Override @ForceInline - public double subAll(Mask<Double> m) { - return blend(SPECIES.broadcast((double) 0), m).subAll(); - } - - @Override - @ForceInline public double mulAll(Mask<Double> m) { return blend(SPECIES.broadcast((double) 1), m).mulAll(); } @Override --- 898,907 ----
< prev index next >