By rvv spec,
"integer compare instructions write 1 to the destination mask register element if the comparison evaluates to true, and 0 otherwise."
"These vector FP compare instructions compare two source operands and write the comparison result to a mask register. "
So, it's not always necessary to clear the mask register before vector comparison operation.
"integer compare instructions write 1 to the destination mask register element if the comparison evaluates to true, and 0 otherwise."
"These vector FP compare instructions compare two source operands and write the comparison result to a mask register. "
So, it's not always necessary to clear the mask register before vector comparison operation.
- links to
-
Commit(master) openjdk/jdk/811f117c
-
Review(master) openjdk/jdk/24968