RFR 8203628: Optimize (masked) byte memory comparisons on x86

Aleksey Shipilev shade at redhat.com
Tue May 22 15:13:32 UTC 2018


On 05/22/2018 05:10 PM, Aleksey Shipilev wrote:
> So, currently it gets compiled using the temporary register, when we could use the indirect memory
> operands, thus avoiding the temp. It gets worse when mask is involved, and we would have another
> addl on this path. The optimization works well when GC barriers are frequent and/or the register
> pressure is high, because we have both denser code and more available registers. When registers are
> abundant and CPU

(one GC pause later)

...is not spectrally melted down, the impact is close to zero.

-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20180522/4749bb5f/signature.asc>


More information about the hotspot-compiler-dev mailing list