JDK-8213473 : Replace testB_mem_imm matcher with testUB_mem_imm
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-11-07
  • Updated: 2019-10-12
  • Resolved: 2018-11-09
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 12
12 b20Fixed
Related Reports
Relates :  
Description
In JDK-8203628, Aleksey added matchers to generate testb instruction (on x86) for LoadB->AndI->CmpI sequence. However, in AndINode::Ideal() we transform any LoadB->AndI to LoadUB->AndI which fails to match this pattern. Which means we never actually match for testb. The original matchers for LoadUB->AndI->CmpI needed to be removed because of JDK-8204479.