RFR: 8283726: x86_64 intrinsics for compareUnsigned method in Integer and Long [v3]

Quan Anh Mai duke at openjdk.org
Wed Jun 29 02:25:39 UTC 2022


On Wed, 29 Jun 2022 02:12:24 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> I realised that by swapping the `mov` and the `cmp` instruction, the rule needs to have `dst` different from `src1` and `src2`, which increases register pressure.
>
> I do not follow your comment, allocation decisions purely based on LRGs interferences and data flow attributes attached to operands and is agnostic to encoding block contents.

Your suggestion requires us having additional `TEMP dst` for the match rule. Thanks.

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

PR: https://git.openjdk.org/jdk/pull/9068


More information about the hotspot-compiler-dev mailing list