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

get different results with jit when dealing with Nan and conditions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 1.0
    • vm-legacy
    • jit
    • x86
    • windows_nt

      without jit it generates the desired output.
      Test passes on sparc but fails on win-NT.

      [5/20 sadhana]

      Required files are in /net/elmer/export/bugtraq/etc/attached/<bugid> dir.


      more *tlog
      ##### nanprop_beta java_run.sh
       hydra_javac.sh
      f:/jdk1.0.2_jit/build/win32/bin/javac_g nanprop_beta.java
      testing.java > nanprop_beta.javac.out 2>&1
      f:/jdk1.0.2_jit/build/win32/bin/jitc_g -xarch=x86 nanprop_beta.cl
      ass
      testing.class > nanprop_beta.jitc.out 2 >& 1
      hydra_resolve
      f:/jdk1.0.2_jit/build/win32/bin/java_g -Djava.compiler=JIT nanpr
      op_beta >> nanprop_beta.java.out 2>&1
      nan is -1.#IND
      Failure: Nan == 0.0 yields true
      Failure: Nan != 0.0 yields false
      Failure: !(Nan == 0.0) yields false
      Failure: !(Nan != 0.0) yields true
      Failure: Nan == NaN yields true
      Failure: Nan != NaN yields false
      Failure: !(Nan == NaN) yields false
      Failure: !(Nan != NaN) yields true
      Failure: if(Nan == 0.0) yields true
      Failure: if(Nan != 0.0) yields false
      Failure: if(!(Nan == 0.0)) yields false
      Failure: if(!(Nan != 0.0)) yields true
      Failure: if(Nan == NaN) yields true
      Failure: if(Nan != NaN) yields false
      Failure: if(!(Nan == NaN)) yields false
      Failure: if(!(Nan != NaN)) yields true
      Failure: if(Nan == 0.0)else yields true
      Failure: if(Nan != 0.0)else yields false
      Failure: if(!(Nan == 0.0))else yields false
      Failure: if(!(Nan != 0.0))else yields true
      Failure: if(Nan == NaN)else yields true
      Failure: if(Nan != NaN)else yields false
      Failure: if(!(Nan == NaN))else yields false
      Failure: if(!(Nan != NaN))else yields true

      NaN properties: 0 passed, 24 failed

      nzero is 0

      Negative-zero properties: 3 passed, 0 failed

      hydra_resolve

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: