This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
Community source repository for glibc add-on ports branch, master, updated. glibc-2.15-330-g5400a7d
- From: rth at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 15 Jun 2012 21:27:42 -0000
- Subject: Community source repository for glibc add-on ports branch, master, updated. glibc-2.15-330-g5400a7d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Community source repository for glibc add-on ports".
The branch, master has been updated
via 5400a7d131ecf621f074ae242867de2f78076b28 (commit)
from 7fd8e5a4e43032533a724efa1a8e9488bcbcf040 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=5400a7d131ecf621f074ae242867de2f78076b28
commit 5400a7d131ecf621f074ae242867de2f78076b28
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Jun 15 14:26:58 2012 -0700
alpha: Define FP_TRAPPING_EXCEPTIONS
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 5ec3634..062b4f2 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,7 @@
2012-06-15 Richard Henderson <rth@twiddle.net>
+ * sysdeps/alpha/soft-fp/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): New.
+
* sysdeps/alpha/fpu/s_rint.c (__rint): Handle inexact regardless
of -mieee-with-inexact.
* sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
diff --git a/sysdeps/alpha/soft-fp/sfp-machine.h b/sysdeps/alpha/soft-fp/sfp-machine.h
index ef6e957..202f736 100644
--- a/sysdeps/alpha/soft-fp/sfp-machine.h
+++ b/sysdeps/alpha/soft-fp/sfp-machine.h
@@ -1,6 +1,6 @@
/* Machine-dependent software floating-point definitions.
Alpha userland IEEE 128-bit version.
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com),
Jakub Jelinek (jj@ultra.linux.cz) and
@@ -91,3 +91,6 @@ do { \
__ieee_set_fp_control (t | _fex); \
} \
} while (0)
+
+#define FP_TRAPPING_EXCEPTIONS \
+ ((__ieee_get_fp_control () & SWCR_ENABLE_MASK) << SWCR_ENABLE_SHIFT)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog.alpha | 2 ++
sysdeps/alpha/soft-fp/sfp-machine.h | 5 ++++-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
Community source repository for glibc add-on ports