Skip to content

Commit fe8bd75

Browse files
author
Ian Graves
committed
8351290: Clarify integral only for vector operators
Reviewed-by: liach, psandoz
1 parent 4d1de46 commit fe8bd75

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -452,23 +452,23 @@ static boolean opKind(Operator op, int bit) {
452452
public static final Unary ABS = unary("ABS", "abs", VectorSupport.VECTOR_OP_ABS, VO_ALL);
453453
/** Produce {@code -a}. */
454454
public static final Unary NEG = unary("NEG", "-a", VectorSupport.VECTOR_OP_NEG, VO_ALL|VO_SPECIAL);
455-
/** Produce {@code bitCount(a)}
455+
/** Produce {@code bitCount(a)}. Integral only.
456456
* @since 19
457457
*/
458458
public static final Unary BIT_COUNT = unary("BIT_COUNT", "bitCount", VectorSupport.VECTOR_OP_BIT_COUNT, VO_NOFP);
459-
/** Produce {@code numberOfTrailingZeros(a)}
459+
/** Produce {@code numberOfTrailingZeros(a)}. Integral only.
460460
* @since 19
461461
*/
462462
public static final Unary TRAILING_ZEROS_COUNT = unary("TRAILING_ZEROS_COUNT", "numberOfTrailingZeros", VectorSupport.VECTOR_OP_TZ_COUNT, VO_NOFP);
463-
/** Produce {@code numberOfLeadingZeros(a)}
463+
/** Produce {@code numberOfLeadingZeros(a)}. Integral only.
464464
* @since 19
465465
*/
466466
public static final Unary LEADING_ZEROS_COUNT = unary("LEADING_ZEROS_COUNT", "numberOfLeadingZeros", VectorSupport.VECTOR_OP_LZ_COUNT, VO_NOFP);
467-
/** Produce {@code reverse(a)}
467+
/** Produce {@code reverse(a)}. Integral only.
468468
* @since 19
469469
*/
470470
public static final Unary REVERSE = unary("REVERSE", "reverse", VectorSupport.VECTOR_OP_REVERSE, VO_NOFP);
471-
/** Produce {@code reverseBytes(a)}
471+
/** Produce {@code reverseBytes(a)}. Integral only.
472472
* @since 19
473473
*/
474474
public static final Unary REVERSE_BYTES = unary("REVERSE_BYTES", "reverseBytes", VectorSupport.VECTOR_OP_REVERSE_BYTES, VO_NOFP);

0 commit comments

Comments
 (0)