RFR: JDK-8331732 : [PPC64] Unify and optimize code which converts != 0 to 1 [v9]
Martin Doerr
mdoerr at openjdk.org
Fri Jun 28 12:50:20 UTC 2024
On Fri, 28 Jun 2024 12:21:10 GMT, Suchismith Roy <sroy at openjdk.org> wrote:
>> Suchismith Roy has updated the pull request incrementally with one additional commit since the last revision:
>>
>> arranging functions
>
> src/hotspot/cpu/ppc/macroAssembler_ppc.hpp line 58:
>
>> 56:
>> 57: // Branch-free implementation to convert !=0 to 1.
>> 58: void normalize_bool(Register dst, Register temp, bool use_64bit);
>
> @TheRealMDoerr I have placed it here based on the comment //
> // Optimized instruction emitters
> //
>
> I think that is more relevant to this. Let me know if otherwise
I'd place them below `set_cmpu3` which is a similar function.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19886#discussion_r1658689985
More information about the hotspot-dev
mailing list