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

AARCH64: SIMD shift instructions are incorrectly encoded

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      aarch64

      Description

      SIMD shift instructions: shl, sshr, ushr are incorrectly encoded. Shift bits are currently directly written into bitfield. However, according to spec, it should be
      "<type-dependent-constant> - UInt(immh:immb)" for right shifts and UInt(immh:immb) - "<type-dependent-constant>" for left shift.

      These instructions are not used in current codebase, so, this problem wasn't found earlier.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpochepk Dmitrij Pochepko
                Reporter:
                dpochepk Dmitrij Pochepko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: