On Wed, 29 Jun 2022 02:12:24 GMT, Jatin Bhateja <jbhat...@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

Reply via email to