On Tue, 25 Aug 2026 07:13:17 GMT, Shawn Emery <[email protected]> wrote:

>> test/micro/org/openjdk/bench/javax/crypto/full/PolynomialP256Bench.java line 
>> 98:
>> 
>>> 96:         MutableIntegerModuloP test2 = one.mutable();
>>> 97:         for (int i = 0; i< 10000; i++) {
>>> 98:             test1.conditionalSet(test2, 0);
>> 
>> Can you simply disallow inlining of `conditionalSet` instead?
>
> Thank you @merykitty!  After updating the code with this solution, the 
> intrinsics performance was inline (no pun intended) with the other intrinsics 
> performance for multiplication and squaring.  Done!

@smemery Could you also limit the test to run only on x86 and aarch64. We don't 
really want to run it on arches that don't have an intrinsic as it results will 
be bogus.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/32047#discussion_r3851518949

Reply via email to