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

aarch64: fix prfm literal encoding in assembler

XMLWordPrintable

    • b08
    • arm
    • generic

        Currently, encoding of prfm literal mode is wrong.
        The prfm_literal instruction requires 31 and 30 bits to be 0x11, while current assembler encodes the two bits to be 0x11, which is a ldr instruction, not prfm.
        For example, if adding the following code in stubGenerator
        __ prfm(Address(__ pc()))
        we get a ldr instruction like
           ldr x0, 0x0000ffff83f8539c
        but it should be a prfm instruction like
           prfm pldl1keep, 0x0000ffff8ff8539c

        Only literal mode encoding is wrong, other modes are good

              wzhuo Wang Zhuo
              wzhuo Wang Zhuo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: