On Sun, 7 Jun 2026 13:10:50 GMT, Andrew Haley <[email protected]> wrote:

>> The fixed scalar operands are inherited from the existing string_equalsL 
>> rule. Are you suggesting that they should be relaxed for the SVE variant?
>
>> The fixed scalar operands are inherited from the existing string_equalsL 
>> rule. Are you suggesting that they should be relaxed for the SVE variant?
> 
> Try removing fixed regs for both of them. If it works, that's what we should 
> go with.

I relaxed cnt and result for the SVE rule and verified the generated code uses 
allocator-chosen registers (no dependency on R4/R0). I kept str1/str2 fixed 
because the implementation destructively updates the input pointers and relies 
on USE_KILL; relaxing them results in ADLC compile errors. For the NEON 
implementation I kept the existing constraints for the same reason.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31400#discussion_r3372881193

Reply via email to