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

AArch64: Incorrect mapping between OptoReg and VMReg for high 64 bits of Vector Register

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      aarch64
    • OS:
      linux

      Description

      In register definition of aarch64.ad, each vector register is defined as 4 slots with its calling convention, ideal type, ... and its VMReg value. These VMReg values in reg_def are used by ADLC to generate mapping between OptoReg and VMReg: opto2vm[].

      But VMReg is treated as 2 slots inconsistently for vector register. This causes incorrect mapping between VMReg and OptoReg for high 64 bits of vector register.

        Attachments

          Activity

            People

            • Assignee:
              jzhu Joshua Zhu
              Reporter:
              jzhu Joshua Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: