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

AARCH64: SIMD shift instructions are incorrectly encoded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 10
    • hotspot
    • b01
    • aarch64

      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.

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

              Created:
              Updated:
              Resolved: