RFR: 8261671: X86 I2L conversion can be skipped for certain masked positive values [v10]

Marcus G K Williams github.com+168222+mgkwill at openjdk.java.net
Tue Mar 16 21:38:15 UTC 2021


On Tue, 16 Mar 2021 21:04:40 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Marcus G K Williams has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address Vladimir Ivanov Suggestions
>>   
>>   Signed-off-by: Marcus G K Williams <marcus.williams at intel.com>
>
> src/hotspot/cpu/x86/x86_64.ad line 3182:
> 
>> 3180: operand immI_Pow2M1()
>> 3181: %{
>> 3182:   predicate((n->get_int() != 0)
> 
> `n->get_int() != 0` is redundant now.

Agreed. Update forthcoming.

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

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


More information about the hotspot-compiler-dev mailing list