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

[aarch64] correct instruction typo for dcps1/2/3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Resolved In Build:
      b24
    • CPU:
      aarch64
    • OS:
      generic

      Description

      "The original instruction used should be dcps1 instead of dpcs1 - there's a misspelling in AArch64 assembler. " -- Pengfei Li

      reference:
      http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802b/DCPS1A32.html

      grep "dpcs" -Ri hotspot/
      hotspot/cpu/aarch64/aarch64-asmtest.py:generate (ImmOp, ["svc", "hvc", "smc", "brk", "hlt", # "dpcs1", "dpcs2", "dpcs3"
      hotspot/cpu/aarch64/assembler_aarch64.hpp: INSN(dpcs1, 0b101, 0, 0b01);
      hotspot/cpu/aarch64/assembler_aarch64.hpp: INSN(dpcs2, 0b101, 0, 0b10);
      hotspot/cpu/aarch64/assembler_aarch64.hpp: INSN(dpcs3, 0b101, 0, 0b11);
      hotspot/cpu/aarch64/aarch64.ad: __ dpcs1(0xdead + 1);

        Attachments

          Activity

            People

            Assignee:
            xliu Xin Liu
            Reporter:
            xliu Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: