RFR: 8361353: [PPC64] C2: Add nodes UMulHiL, CmpUL3, UMinV, UMaxV, NegVI [v6]

Richard Reingruber rrich at openjdk.org
Tue Jul 8 11:31:46 UTC 2025


On Mon, 7 Jul 2025 07:30:19 GMT, David Briemann <dbriemann at openjdk.org> wrote:

>> Implement more nodes for ppc that exist on other platforms.
>
> David Briemann has updated the pull request incrementally with one additional commit since the last revision:
> 
>   rename instruction, add extra predicate cond for type int

src/hotspot/cpu/ppc/ppc.ad line 13601:

> 13599: instruct vneg4I_reg(vecX dst, vecX src) %{
> 13600:   match(Set dst (NegVI src));
> 13601:   predicate(PowerArchitecturePPC64 >= 9 && Matcher::vector_element_basic_type(n) == T_INT);

Why not also for `T_LONG` (using `vnegd`)?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26115#discussion_r2192238645


More information about the hotspot-compiler-dev mailing list