On Mon, 28 Apr 2025 14:18:34 GMT, fabioromano1 <d...@openjdk.org> wrote:

>> Doesn't pre-seeding involve extra cpu cycles which are defintely wasted if 
>> the results aren't used?
>
>> Doesn't pre-seeding involve extra cpu cycles which are defintely wasted if 
>> the results aren't used?
> 
> It would involve just 3 assignments and 3 multiplications of 64-bit words, I 
> think the overhead is negligible.

In this case you can still use computePower and remove the branching to check 
if double arithmetic should be used - you are passing the cache array, so you 
can control what is the initial values in that array.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24690#discussion_r2063782835

Reply via email to