Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8297953

Fix several C2 IR matching tests for RISC-V

    XMLWordPrintable

Details

    • b27
    • riscv
    • linux

    Description

      Fix several IR matching tests that failed on RISC-V.

      Rotate Node will be matched only when UseZbb is enabled:
      - test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeIntIdealizationTests.java
      - test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeLongIdealizationTests.java

      RISC-V does not provide float branch instruction, so we do not match CMOVEI for two floating-point comparisons:
      - test/hotspot/jtreg/compiler/c2/irTests/TestFPComparison.java

      Attachments

        Issue Links

          Activity

            People

              fjiang Feilong Jiang
              fjiang Feilong Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: