RFR: 8357304: [PPC64] C2: Implement MinV, MaxV and Reduction nodes

David Linus Briemann duke at openjdk.org
Wed May 21 13:11:35 UTC 2025


On Tue, 20 May 2025 20:42:48 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> The following nodes are added:
>> - MinV / MaxV
>> - AndV / OrV / XorV
>> - MinReductionV / MaxReductionV / AndReductionV / OrReductionV / XorReductionV
>> - AddReductionVI / MulReductionVI
>
> src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.cpp line 656:
> 
>> 654:         vmaxsw(dst, a, b);
>> 655:         break;
>> 656:       default: assert(false, "wrong opcode");
> 
> Maybe put each case in one line? Would be more compact. Up to you.

Good idea. Looks better when compacted.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25318#discussion_r2099599445


More information about the hotspot-compiler-dev mailing list