RFR: 8349582: APX NDD code generation for OpenJDK [v4]
Sandhya Viswanathan
sviswanathan at openjdk.org
Thu Mar 6 01:11:14 UTC 2025
On Wed, 5 Mar 2025 23:40:29 GMT, Srinivas Vamsi Parasa <sparasa at openjdk.org> wrote:
>> The goal of this PR is to generate code using APX NDD instructions.
>
> Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
>
> add flag(PD::...) and clean up loadNKlassCompactHeaders
src/hotspot/cpu/x86/x86_64.ad line 9744:
> 9742: instruct rorI_immI8_legacy(rRegI dst, immI8 shift, rFlagsReg cr)
> 9743: %{
> 9744: predicate(!UseAPX && !VM_Version::supports_bmi2() && n->bottom_type()->basic_type() == T_INT);
Don't need to change anything for non bmi2 platforms. The original predicate can be kept as is. This applies to all rorI, rolI, rorL, rolL.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23501#discussion_r1982407166
More information about the hotspot-compiler-dev
mailing list