RFR: 8282204: Use lea instructions for arithmetic operations on x86_64 [v10]
Jie Fu
jiefu at openjdk.java.net
Fri Mar 4 14:25:11 UTC 2022
On Fri, 4 Mar 2022 08:29:40 GMT, Quan Anh Mai <duke at openjdk.java.net> wrote:
>> Hi,
>>
>> This patch adds several matching rules for x86_64 backend to use `lea` instructions for several fused arithmetic operations. Also, `lea`s don't kill flags and allow different `dst` and `src`, so it is preferred over `sll` if possible, too.
>>
>> Thank you very much.
>
> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
>
> remove unreached rules
src/hotspot/cpu/x86/x86_64.ad line 7747:
> 7745: %}
> 7746:
> 7747: // XXX addP mem ops ????
This comment line is for leaP_rReg_imm, which should also be removed?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7560
More information about the hotspot-compiler-dev
mailing list