< prev index next >

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

Print this page
rev 55237 : javadoc changes

*** 1192,1210 **** 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))); --- 1192,1201 ----
*** 1246,1268 **** 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 -> { --- 1237,1246 ----
*** 1306,1321 **** 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 --- 1284,1293 ----
< prev index next >