< prev index next >

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

Print this page
rev 55237 : javadoc changes

@@ -854,23 +854,10 @@
         return Double.longBitsToDouble(bits);
     }
 
     @Override
     @ForceInline
-    public double subAll() {
-        long bits = (long) VectorIntrinsics.reductionCoerced(
-                                VECTOR_OP_SUB, Double128Vector.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, Double128Vector.class, double.class, LENGTH,
                                 this,
                                 v -> {

@@ -913,16 +900,10 @@
         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
< prev index next >