< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-VectorBits.java.template

Print this page
rev 55237 : javadoc changes

@@ -1192,19 +1192,10 @@
             v -> (long) v.rOp(($type$) 1, (i, a, b) -> ($type$) (a * b)));
     }
 
     @Override
     @ForceInline
-    public $type$ subAll() {
-        return ($type$) VectorIntrinsics.reductionCoerced(
-            VECTOR_OP_SUB, $vectortype$.class, $type$.class, LENGTH,
-            this,
-            v -> (long) v.rOp(($type$) 0, (i, a, b) -> ($type$) (a - b)));
-    }
-
-    @Override
-    @ForceInline
     public $type$ orAll() {
         return ($type$) VectorIntrinsics.reductionCoerced(
             VECTOR_OP_OR, $vectortype$.class, $type$.class, LENGTH,
             this,
             v -> (long) v.rOp(($type$) 0, (i, a, b) -> ($type$) (a | b)));

@@ -1246,23 +1237,10 @@
         return $Type$.$bitstype$BitsTo$Fptype$(bits);
     }
 
     @Override
     @ForceInline
-    public $type$ subAll() {
-        $bitstype$ bits = ($bitstype$) VectorIntrinsics.reductionCoerced(
-                                VECTOR_OP_SUB, $vectortype$.class, $type$.class, LENGTH,
-                                this,
-                                v -> {
-                                    $type$ r = v.rOp(($type$) 0, (i, a, b) -> ($type$) (a - b));
-                                    return (long)$Type$.$type$To$Bitstype$Bits(r);
-                                });
-        return $Type$.$bitstype$BitsTo$Fptype$(bits);
-    }
-
-    @Override
-    @ForceInline
     public $type$ mulAll() {
         $bitstype$ bits = ($bitstype$) VectorIntrinsics.reductionCoerced(
                                 VECTOR_OP_MUL, $vectortype$.class, $type$.class, LENGTH,
                                 this,
                                 v -> {

@@ -1306,16 +1284,10 @@
         return blend(SPECIES.broadcast(($type$) 0), m).addAll();
     }
 
     @Override
     @ForceInline
-    public $type$ subAll(Mask<$Boxtype$> m) {
-        return blend(SPECIES.broadcast(($type$) 0), m).subAll();
-    }
-
-    @Override
-    @ForceInline
     public $type$ mulAll(Mask<$Boxtype$> m) {
         return blend(SPECIES.broadcast(($type$) 1), m).mulAll();
     }
 
     @Override
< prev index next >