< prev index next >

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

Print this page
rev 49829 : Suball for short+byte intrinsics

@@ -443,10 +443,19 @@
             v -> (long) v.rOp((long) -1, (i, a, b) -> (long) (a & b)));
     }
 
     @Override
     @ForceInline
+    public long subAll() {
+        return (long) VectorIntrinsics.reductionCoerced(
+            VECTOR_OP_SUB, Long64Vector.class, long.class, LENGTH,
+            this,
+            v -> (long) v.rOp((long) 0, (i, a, b) -> (long) (a - b)));
+    }
+
+    @Override
+    @ForceInline
     public long mulAll() {
         return (long) VectorIntrinsics.reductionCoerced(
             VECTOR_OP_MUL, Long64Vector.class, long.class, LENGTH,
             this,
             v -> (long) v.rOp((long) 1, (i, a, b) -> (long) (a * b)));

@@ -468,19 +477,10 @@
             VECTOR_OP_XOR, Long64Vector.class, long.class, LENGTH,
             this,
             v -> (long) v.rOp((long) 0, (i, a, b) -> (long) (a ^ b)));
     }
 
-    @Override
-    @ForceInline
-    public long subAll() {
-        return (long) VectorIntrinsics.reductionCoerced(
-            VECTOR_OP_SUB, Long64Vector.class, long.class, LENGTH,
-            this,
-            v -> (long) v.rOp((long) 0, (i, a, b) -> (long) (a - b)));
-    }
-
     // Memory operations
 
     @Override
     @ForceInline
     public void intoArray(long[] a, int ix) {
< prev index next >