Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: sparc64/144900: commit references a PR

0 views
Skip to first unread message

dfilter service

unread,
Apr 11, 2010, 4:10:04 PM4/11/10
to freebsd...@freebsd.org
The following reply was made to PR sparc64/144900; it has been noted by GNATS.

From: dfi...@FreeBSD.ORG (dfilter service)
To: bug-fo...@FreeBSD.org
Cc:
Subject: Re: sparc64/144900: commit references a PR
Date: Sun, 11 Apr 2010 20:09:15 +0000 (UTC)

Author: marius
Date: Sun Apr 11 20:08:54 2010
New Revision: 206490
URL: http://svn.freebsd.org/changeset/base/206490

Log:
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:
head/lib/libc/softfloat/softfloat-specialize

Modified: head/lib/libc/softfloat/softfloat-specialize
==============================================================================
--- head/lib/libc/softfloat/softfloat-specialize Sun Apr 11 19:58:01 2010 (r206489)
+++ head/lib/libc/softfloat/softfloat-specialize Sun Apr 11 20:08:54 2010 (r206490)
@@ -44,6 +44,9 @@ 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;

/*
_______________________________________________
svn-s...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all...@freebsd.org"

0 new messages