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

pow(x,y) or x64 computes incorrect result when x<0 and y is an odd integer

XMLWordPrintable

    • b12
    • x86
    • generic
    • Not verified

        On x64, 7133857 broke pow(x,y) when x<0 and y is an odd integer. This affects debug builds only. int(y) is moved to an register to be tested for parity but between the load of int(y) and the test for parity some debugging code changes the content of the integer register.
        This should affect only the interpreter and c1.

              roland Roland Westrelin
              roland Roland Westrelin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: