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

get different results with jit for float constant folding

    Details

    • Subcomponent:
      jit
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      Test passes on sparc, fails on win-nt.

      [5/20 sadhana]

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

      $ m *tlog
      ##### constFold_beta java_run.sh
       hydra_javac.sh
      f:/jdk1.0.2_jit/build/win32/bin/javac_g constfold_beta.java
      testing.java > constFold_beta.javac.out 2>&1
      f:/jdk1.0.2_jit/build/win32/bin/jitc_g -xarch=x86 constfold_beta.
      class
      testing.class > constFold_beta.jitc.out 2 >& 1
      hydra_resolve
      f:/jdk1.0.2_jit/build/win32/bin/java_g -Djava.compiler=JIT const
      Fold_beta >> constFold_beta.java.out 2>&1
      Failure: big+little-big constants yields 0
               expected 0.5
      Failure: little-big+big constants yields 0
               expected 0.5

      catastrophic cancellation in float constant folding: 1 passed, 2 f
      ailed

      Failure: huge+huge-huge constants yields 1.#INF
               expected 3.40282e+038

      range test in float constant folding: 2 passed, 1 failed

      range test in int constant folding: 2 passed, 0 failed

      hydra_resolve

        Attachments

          Activity

            People

            • Assignee:
              duke J. Duke (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: