< prev index next >

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

Print this page
rev 55237 : javadoc changes

*** 854,876 **** return Float.intBitsToFloat(bits); } @Override @ForceInline - public float subAll() { - int bits = (int) VectorIntrinsics.reductionCoerced( - VECTOR_OP_SUB, Float256Vector.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, Float256Vector.class, float.class, LENGTH, this, v -> { --- 854,863 ----
*** 913,928 **** 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 --- 900,909 ----
< prev index next >