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

The BitSet.nextSetBit() produces incorrect result in 32bit VM on Sparc

    XMLWordPrintable

Details

    • b12
    • sparc
    • solaris_10

    Backports

      Description

        BitSet.nextSetBit() may produce incorrect result in 32bit VM on Sparc.

        countTrailingZerosL() should use iRegIsafe dst register:

        -instruct countTrailingZerosL(iRegI dst, iRegL src, flagsReg cr) %{
        +instruct countTrailingZerosL(iRegIsafe dst, iRegL src, flagsReg cr) %{

        I will add a regression test.

        Attachments

          Issue Links

            Activity

              People

                kvn Vladimir Kozlov
                kvn Vladimir Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: