< prev index next >

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

Print this page

        

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