Math.copySign is only intrinsified on x86 targets supporting the AVX512 feature.
E-core Xeons support only the AVX2 feature set and still compile java implementation which is composed of logical operations.
Since there is a 3-cycle penalty for copying incoming float/double values to GPRs before being operated upon by logical operation there is an opportunity to optimize this using an efficient instruction sequence.
E-core Xeons support only the AVX2 feature set and still compile java implementation which is composed of logical operations.
Since there is a 3-cycle penalty for copying incoming float/double values to GPRs before being operated upon by logical operation there is an opportunity to optimize this using an efficient instruction sequence.
- links to
-
Review(master) openjdk/jdk/23386