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

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

XMLWordPrintable

    • b12
    • sparc
    • solaris_10

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: