-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 18
In current SLP, the vectorization of Math.abs() with char type is intentionally disabled after JDK-8261022 because it generates incorrect result before.
But in Java semantics, as the char type is always non-negative, we could actually translate Math.abs(char) to a no-op by adding a no-op IR and matching rules somehow.
We can consider re-enable Math.abs() vectorization with char type.
But in Java semantics, as the char type is always non-negative, we could actually translate Math.abs(char) to a no-op by adding a no-op IR and matching rules somehow.
We can consider re-enable Math.abs() vectorization with char type.
- relates to
-
JDK-8280089 compiler/c2/irTests/TestIRAbs.java fails on some arches
-
- Resolved
-
-
JDK-8261022 Fix incorrect result of Math.abs() with char type
-
- Closed
-