On Thu, 18 Jun 2026 15:32:59 GMT, Andrew Dinn <[email protected]> wrote:

> > I think the only remaining bit is that UseIntPolyIntrinsics should be 
> > somewhere in AOTCODECACHE_CONFIGS_AARCH64_DO or even in 
> > AOTCODECACHE_CONFIGS_GENERIC_DO.
> 
> Aaargh, yes! How did I miss that?
> 
> @ferakocz There is currently an entry for this flag in macro 
> AOTCODECACHE_CONFIGS_X86_DO defined in file aotCodeCache.hpp
> 
> ```
> #define AOTCODECACHE_CONFIGS_X86_DO(do_var, do_fun) \
>   . . .                               \
>   do_var(bool,  UseIntPolyIntrinsics) \
>   . . .                               \
> ```
> 
> Since this option is now employed by both AArch64 and X86 You will need to 
> delete the line from that macro and add it to the generic macro 
> `AOTCODECACHE_CONFIGS_GENERIC_DO` -- probably best directly after the entry 
> for `UsePoly1305Intrinsics`:
> 
> ```
> #define AOTCODECACHE_CONFIGS_GENERIC_DO(do_var, do_fun) \
>   . . .                                \
>   do_var(bool,  UsePoly1305Intrinsics) \
>   do_var(bool,  UseIntPolyIntrinsics)  \
>   . . .                                \
> ```
> 
> When @shipilev says GHA run he means Github Actions i.e. the automatically 
> run checks and tests that are currently showing Windows failures. If you 
> merge the dev head into your PR and push then it should fix the issue with 
> Windows.

I moved it into ...GENERIC_DO, after the last crypto-related one. I just 
realized later that the crypto ones are in alphabetic order, so it should have 
gone between GHASH and Kyber, but I rather not add another commit if you don't 
mind :-) .

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

PR Comment: https://git.openjdk.org/jdk/pull/30941#issuecomment-4744101576

Reply via email to