-
Bug
-
Resolution: Unresolved
-
P3
-
24, 25, 26
The code in question:
case VECTOR_OP_UMIN: return (v, m) -> toBits(v.rOp(MAX_OR_INF, m, (i, a, b) -> (int) VectorMath.minUnsigned(a, b)));
Unfortunately, we are sloppy here, the identity value for UMIN should be -1 (MAX_UINT). I wonder why the tests do not catch it.
case VECTOR_OP_UMIN: return (v, m) -> toBits(v.rOp(MAX_OR_INF, m, (i, a, b) -> (int) VectorMath.minUnsigned(a, b)));
Unfortunately, we are sloppy here, the identity value for UMIN should be -1 (MAX_UINT). I wonder why the tests do not catch it.
- caused by
-
JDK-8346174 UMAX/UMIN are missing from XXXVector::reductionOperations
-
- Resolved
-