This fix allows for more accurate comparisons between intrinsics and Java performance for P256 conditional set operations. Before this fix, benchmarks showed a 53% regression for intrinsics vs. Java due to constant propagation and dead-code removal by C2. After this fix, only a 8% drop in performance is observed for intrinsics vs. Java.
--------- - [X] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Switch to @Param solution for non-constants - Update to non-constants - 8388706: PolynomialP256Bench::benchAssign regression after JDK-8355216 Changes: https://git.openjdk.org/jdk/pull/32047/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32047&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8388706 Stats: 19 lines in 1 file changed: 11 ins; 0 del; 8 mod Patch: https://git.openjdk.org/jdk/pull/32047.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32047/head:pull/32047 PR: https://git.openjdk.org/jdk/pull/32047
