RFR: 8358592: Assert in Assembler::ptest due to missing SSE42 support [v3]

Vladimir Kozlov kvn at openjdk.org
Fri Jul 11 15:45:39 UTC 2025


On Thu, 10 Jul 2025 03:36:43 GMT, Guanqiang Han <duke at openjdk.org> wrote:

>> The fix looks reasonable to me but I'm not an expert in this code.
>
> hi @TobiHartmann , Thanks a lot for the detailed review, i already update PR and please taking another look when you have time .
> Also, since you mentioned you're not an expert in this area, would it make sense to ping someone more familiar?

Thank you, @hgqxjj, for finding this.  Looking through other flags setting I see some have the same issue, for example, `UseUnalignedLoadStores`.  Which could be set on command line and not switched off even if Cpu does not support the feature.

May be we should rework how all such flags are handled instead of fixing only one of them.

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

PR Comment: https://git.openjdk.org/jdk/pull/26151#issuecomment-3062795956


More information about the hotspot-dev mailing list