RFR: 8282204: Use lea instructions for arithmetic operations on x86_64 [v7]

Quan Anh Mai duke at openjdk.java.net
Fri Mar 4 05:09:10 UTC 2022


On Wed, 2 Mar 2022 23:13:17 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   remove irrelevent changes
>
> test/micro/org/openjdk/bench/vm/compiler/LeaInstruction.java line 32:
> 
>> 30: @BenchmarkMode(Mode.AverageTime)
>> 31: @OutputTimeUnit(TimeUnit.NANOSECONDS)
>> 32: @Fork(value = 2, jvmArgsAppend = {"-XX:LoopUnrollLimit=1"})
> 
> How about `value = 1`?
> I think it would reduce the micro-bench testing time, right?

I have addressed the reviews. Thank you very much.

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

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


More information about the hotspot-compiler-dev mailing list