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

compiler/intrinsics/bmi/verifycode tests on lzcnt and tzcnt use incorrect assumption about REXB prefix usage

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b26

      Backports

        Description

        compiler/intrinsics/bmi/verifycode/ tests on lzcnt and tzcnt based on assumption that REXB prefix used only for Long's intrinsic.

        However, tzcnt's and lzcnt's arguments could be placed in R[8-15] registers in Integer's intrinsics too. Also there is no guarantee that arguments will be placed in these registers in Long's intrinsics.

        As a results LZcntTestI and TZcntTestI tests fails on Windows-x64, where source argument is placed in R8.

        Tests should be updated to remove dependency on REXB occurrence.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aaivanov Anton Ivanov (Inactive)
                Reporter:
                fzhinkin Filipp Zhinkin
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: