< prev index next >

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

Print this page

        

@@ -995,16 +995,23 @@
                                   Shuffle<Double, Shapes.S512Bit> s, Mask<Double, Shapes.S512Bit> m) {
         return this.rearrange(s).blend(v.rearrange(s), m);
     }
 
     @Override
-    public Double512Vector rearrange(Shuffle<Double, Shapes.S512Bit> s) {
-        return uOp((i, a) -> {
+    @ForceInline
+    public Double512Vector rearrange(Shuffle<Double, Shapes.S512Bit> o1) {
+    Objects.requireNonNull(o1);
+    Double512Shuffle s =  (Double512Shuffle)o1;
+
+        return VectorIntrinsics.rearrangeOp(
+            Double512Vector.class, Double512Shuffle.class, double.class, LENGTH,
+            this, s,
+            (v1, s_) -> v1.uOp((i, a) -> {
             double[] vec = this.getElements();
-            int ei = s.getElement(i);
+            int ei = s_.getElement(i);
             return vec[ei];
-        });
+        }));
     }
 
     @Override
     @ForceInline
     public Double512Vector blend(Vector<Double, Shapes.S512Bit> o1, Mask<Double, Shapes.S512Bit> o2) {
< prev index next >