Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 2010 17:00:17 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-sparc64@FreeBSD.org
Subject:   Re: sparc64/144900: commit references a PR
Message-ID:  <201005021700.o42H0HoA065871@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR sparc64/144900; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: sparc64/144900: commit references a PR
Date: Sun,  2 May 2010 16:52:54 +0000 (UTC)

 Author: marius
 Date: Sun May  2 16:52:24 2010
 New Revision: 207527
 URL: http://svn.freebsd.org/changeset/base/207527
 
 Log:
   MFC: r206490, r206492
   
   While SPARC V9 allows tininess to be detected either before or after
   rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and
   UltraSPARC processors defines that in all cases tininess is detected
   before rounding therefore rounding up to the smallest normalized number
   should set the underflow flag. This change is needed for using SoftFloat
   on sparc64 for reference purposes.
   
   PR:		144900
   Submitted by:	Peter Jeremy
 
 Modified:
   stable/7/lib/libc/softfloat/softfloat-specialize
 Directory Properties:
   stable/7/lib/libc/   (props changed)
   stable/7/lib/libc/stdtime/   (props changed)
 
 Modified: stable/7/lib/libc/softfloat/softfloat-specialize
 ==============================================================================
 --- stable/7/lib/libc/softfloat/softfloat-specialize	Sun May  2 16:52:23 2010	(r207526)
 +++ stable/7/lib/libc/softfloat/softfloat-specialize	Sun May  2 16:52:24 2010	(r207527)
 @@ -44,7 +44,11 @@ Underflow tininess-detection mode, stati
  #ifdef SOFTFLOAT_FOR_GCC
  static
  #endif
 +#ifdef __sparc64__
 +int8 float_detect_tininess = float_tininess_before_rounding;
 +#else
  int8 float_detect_tininess = float_tininess_after_rounding;
 +#endif
  
  /*
  -------------------------------------------------------------------------------
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005021700.o42H0HoA065871>