No public description PiperOrigin-RevId: 721786624 Change-Id: I797e4c0eea091aa02652d9f75badd1f8d7420d8b
diff --git a/riscv/riscv_vector_instruction_helpers.h b/riscv/riscv_vector_instruction_helpers.h index 7bd5fb5..e411896 100644 --- a/riscv/riscv_vector_instruction_helpers.h +++ b/riscv/riscv_vector_instruction_helpers.h
@@ -695,7 +695,7 @@ case 0: // Round-to-nearest-up (add +0.5 lsb) if (size < 2) return 0; return (rounding_bits >> (size - 2)) & 0b1; - case 1: { // Round-to-nearest-event + case 1: { // Round-to-nearest-even T v_d_minus_1 = (size < 2) ? 0 : (rounding_bits >> (size - 2)) & 0b1; T v_d = (size == 0) ? 0 : (rounding_bits >> (size - 1)) & 0b1; T v_d_minus_2_0 = (size < 3)