RFR: 8349582: APX NDD code generation for OpenJDK [v2]

Sandhya Viswanathan sviswanathan at openjdk.org
Wed Mar 5 18:20:05 UTC 2025


On Fri, 7 Feb 2025 21:53:41 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:
> 
>   revert to nf version for {pop/tz/lz}cnt count instructions

test/hotspot/gtest/x86/x86-asmtest.py line 630:

> 628:                 if RegOp in [RegRegImmNddInstruction]:
> 629:                     test_reg1 = 'rax'
> 630:                     test_reg2 = random.choice(test_regs)

We don't need to generate another test_reg2, we could use the same from above. Thereby, we will not modify the existing tests and only have the new test instructions added in asmtest.out.h.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23501#discussion_r1981908543


More information about the hotspot-compiler-dev mailing list