RFR: 8307758: RISC-V: Improve bit test code introduced by JDK-8291555

Feilong Jiang fjiang at openjdk.org
Thu May 11 01:31:51 UTC 2023


On Wed, 10 May 2023 03:47:00 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> [JDK-8291555](https://bugs.openjdk.org/browse/JDK-8291555) introduced some single-bit tests that use `andi`, we can replace it with `test_bit` to avoid using the temp register when UseZbs is enabled.
>> 
>> Testing:
>> - [x] tier1-tier3 on Unmatched board (release build)
>
> Looks good. Thanks.

@RealFYang Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/13882#issuecomment-1543044930


More information about the hotspot-compiler-dev mailing list