JDK-8307758 : RISC-V: Improve bit test code introduced by JDK-8291555
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: riscv
  • Submitted: 2023-05-09
  • Updated: 2023-05-17
  • Resolved: 2023-05-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b23Fixed
Related Reports
Relates :  
Description
JDK-8291555 added some single-bit tests that use `andi`, we can replace it with `test_bit` to avoid using the temp register when UseZbs is enabled.
Comments
Changeset: 39f4e4d3 Author: Feilong Jiang <fjiang@openjdk.org> Committer: Fei Yang <fyang@openjdk.org> Date: 2023-05-11 01:32:29 +0000 URL: https://git.openjdk.org/jdk/commit/39f4e4d3c3450ed8fe314e2abde6a6cecd5fa0a5
11-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13882 Date: 2023-05-09 08:14:30 +0000
09-05-2023