RFR: 8282204: Use lea instructions for arithmetic operations on x86_64 [v6]
Jie Fu
jiefu at openjdk.java.net
Mon Feb 28 23:22:06 UTC 2022
On Mon, 28 Feb 2022 15:28:25 GMT, Quan Anh Mai <duke at openjdk.java.net> wrote:
> Measurement with `rbp` as base:
> Throughput:
> https://bit.ly/3pnT9ms
> Latency:
> https://bit.ly/3tcJTTv
Should it be 3 cycles for `lea rax, [rbp + rcx + 0x8]` on Sandy Bridge according to Intel's manual?
But https://uica.uops.info/ shows it only 1 cycle.
So I'm a little confused.
Someone from Intel should take a look at this.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7560
More information about the hotspot-compiler-dev
mailing list