< prev index next >

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

Print this page
rev 55237 : javadoc changes

@@ -854,23 +854,10 @@
         return Float.intBitsToFloat(bits);
     }
 
     @Override
     @ForceInline
-    public float subAll() {
-        int bits = (int) VectorIntrinsics.reductionCoerced(
-                                VECTOR_OP_SUB, Float512Vector.class, float.class, LENGTH,
-                                this,
-                                v -> {
-                                    float r = v.rOp((float) 0, (i, a, b) -> (float) (a - b));
-                                    return (long)Float.floatToIntBits(r);
-                                });
-        return Float.intBitsToFloat(bits);
-    }
-
-    @Override
-    @ForceInline
     public float mulAll() {
         int bits = (int) VectorIntrinsics.reductionCoerced(
                                 VECTOR_OP_MUL, Float512Vector.class, float.class, LENGTH,
                                 this,
                                 v -> {

@@ -913,16 +900,10 @@
         return blend(SPECIES.broadcast((float) 0), m).addAll();
     }
 
     @Override
     @ForceInline
-    public float subAll(Mask<Float> m) {
-        return blend(SPECIES.broadcast((float) 0), m).subAll();
-    }
-
-    @Override
-    @ForceInline
     public float mulAll(Mask<Float> m) {
         return blend(SPECIES.broadcast((float) 1), m).mulAll();
     }
 
     @Override
< prev index next >