RFR: 8359965: Enable paired pushp and popp instruction usage for APX enabled CPUs

Srinivas Vamsi Parasa sparasa at openjdk.org
Tue Jun 24 18:22:28 UTC 2025


On Thu, 19 Jun 2025 06:39:52 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Just a drive-by comment as this isn't code I normally have much to do with but to me it would look a lot cleaner to define `push_paired`/`pop_paired` (maybe abbreviating directly to `pushp`/`popp`?) rather than passing the boolean.

Hi David (@dholmes-ora),

Thanks for the suggestion!
We're open to changes in the API as suggested by the community. The users need to be aware that `push_paired`/`pop_paired` or `pushp`/`popp` will fallback to the legacy push/pop instructions if the CPU does not support APX features.

Thanks,
Vamsi

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

PR Comment: https://git.openjdk.org/jdk/pull/25889#issuecomment-3001458932


More information about the hotspot-dev mailing list