RFR: 8271883: Math CopySign optimization for x86 [v2]

Jatin Bhateja jbhateja at openjdk.java.net
Fri Aug 13 04:18:24 UTC 2021


On Fri, 6 Aug 2021 07:41:49 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Marcus G K Williams has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update x86.ad with #ifdef _LP64 for copySign
>
> src/hotspot/cpu/x86/x86.ad line 5823:
> 
>> 5821: %}
>> 5822: 
>> 5823: instruct copySignD_reg(regD dst, regD src, regD tmp1, rRegL tmp2, regD zero) %{
> 
> Graph shape created for this will always pass zero operand as an immediate argument. Do you see any issue if you just keep one pattern (copySignD_imm) ?

@mgkwill , haven't seen your response on this.

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

PR: https://git.openjdk.java.net/jdk/pull/5005


More information about the hotspot-compiler-dev mailing list