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

XMLWordPrintable

    • b26

        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.

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

                Created:
                Updated:
                Resolved: