On Tue, 17 Nov 2026 19:10:30 GMT, Volodymyr Paprotski <[email protected]> 
wrote:

> > Results were also nominal on my Intel Core i9-12900K Alder Lake 3.2GHz 
> > 24-Core (32GB MM) with AVX2 support (0.65% gains on average) running the 
> > same benchmarks.
> 
> That's odd.. could you check if `EnableX86ECoreOpts` somehow didn't get 
> enabled on your machine? That's my current theory, you are falling back to 
> the 128bit version of the intrinsic, instead of the 256bit VAES.

The VM flags looks correct on the system:
     bool EnableX86ECoreOpts                     = true                         
     {ARCH diagnostic} {default}
     bool UseAESCTRIntrinsics                      = true                       
       {diagnostic} {default}
     int UseAVX                                                 = 2             
                      {ARCH product} {default}

I think the gains on hybrid systems are going to be selective/muted, e.g. 64 
byte data w/128 bit keys +6-8%, 64 byte data w/256 bit keys: -4%.  As long as 
there are no regressions on these types of systems then I'm okay with the 
results.

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

PR Comment: https://git.openjdk.org/jdk/pull/33128#issuecomment-6995867195

Reply via email to