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

sun4m: JCK lang tests fpl00506m1/fpl00506m2 fail in FP-wide/FP-strict expression

XMLWordPrintable

    • sparc
    • solaris_8

      jtg-s210:[223]% uname -a
      SunOS jtg-s210 5.8 Generic_109291-02 sun4m sparc SUNW,SPARCstation-5
      jtg-s210:[224]% psrinfo -v
      Status of processor 0 as of: 05/31/00 12:40:10
        Processor has been on-line since 05/24/00 17:34:13.
        The sparc processor operates at 170 MHz,
              and has a sparc floating point processor.

      To Reproduce:
      =============
      1. Extract fpl00506m1.ksh and fpl00506m2.ksh from the attached jar files:
         fpl00506m1.jar/fpl00506m2.jar.

      2. Run fpl00506m1.ksh:

      jtg-s210:[230]% fpl00506m1.ksh -client

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-beta)
      Java HotSpot(TM) Client VM (build 1.3-beta, mixed mode)

      mayZero = true, fMinPow = -149, fxMinPow = -151
      mayInf = false, fMaxPow = 127, fxMaxPow = 127
       flextMAX_VALUE = 0x47efffffe0000000
       i = 52; topField in plain method != MIN_VALUE; par=1.401298464324817E-45
      rc=97

      // However "-client -Xint" works fine.
      jtg-s210:[255]% fpl00506m1.ksh -client -Xint

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-beta)
      Java HotSpot(TM) Client VM (build 1.3-beta, interpreted mode)

      mayZero = true, fMinPow = -149, fxMinPow = -151
      mayInf = false, fMaxPow = 127, fxMaxPow = 127
       flextMAX_VALUE = 0x47efffffe0000000
      rc=95

      3. Run fpl00506m2.ksh:

      jtg-s210:[259]% fpl00506m2.ksh -client

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-beta)
      Java HotSpot(TM) Client VM (build 1.3-beta, mixed mode)

      mayZero = true, fMinPow = -149, fxMinPow = -151
      mayInf = false, fMaxPow = 127, fxMaxPow = 127
       flextMAX_VALUE = 0x47efffffe0000000
       i = 52; topField in plain method != MIN_VALUE; par=1.401298464324817E-45
      rc=97

      // However "-client -Xint" works fine.
      jtg-s210:[260]% fpl00506m2.ksh -client -Xint

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-beta)
      Java HotSpot(TM) Client VM (build 1.3-beta, interpreted mode)

      mayZero = true, fMinPow = -149, fxMinPow = -151
      mayInf = false, fMaxPow = 127, fxMaxPow = 127
       flextMAX_VALUE = 0x47efffffe0000000
      rc=95

      This problem is limited ONLY to sun4m, sun4u machines are in a good shape.

      vincent.lee@eng 2000-05-31

            Unassigned Unassigned
            veelee Vincent Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: