RFR: 8281812: x86: Use short jumps in TemplateTable::condy_helper
Aleksey Shipilev
shade at openjdk.java.net
Tue Feb 15 11:03:10 UTC 2022
On Tue, 15 Feb 2022 10:51:53 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> Out of curiousity, do you have data readily available on how much smaller a `jccb` becomes than a `jcc`, exactly?
`perfasm` says `jccb` takes 2 bytes, while `jcc` takes 6 bytes. It matches the `Assembler::jcc`: https://github.com/openjdk/jdk/blob/1c12b159ffcbb3528a20ac585d8460bf730e303d/src/hotspot/cpu/x86/assembler_x86.cpp#L2259-L2260
-------------
PR: https://git.openjdk.java.net/jdk/pull/7473
More information about the hotspot-runtime-dev
mailing list