This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.16-ports-merge-293-gff04dda


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 "GNU C Library master sources".

The branch, master has been updated
       via  ff04dda46d227ea9ccf79b0f1e48636dbb3cc913 (commit)
       via  430d6ce62a22760f56d5dea0dcccd30413a45fc2 (commit)
      from  24d4e01b22c96a116c7878b701ea65aa5c7980c2 (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.git;a=commitdiff;h=ff04dda46d227ea9ccf79b0f1e48636dbb3cc913

commit ff04dda46d227ea9ccf79b0f1e48636dbb3cc913
Author: David S. Miller <davem@davemloft.net>
Date:   Wed Sep 5 17:59:16 2012 -0700

    Recognize new sparc hwcap bits.
    
    	* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
    	HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
    	* sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
    	* sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
    	entries.

diff --git a/ChangeLog b/ChangeLog
index 3249500..c69a7c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,12 @@
 
 	* sysdeps/sparc/fpu/libm-test-ulps: Update.
 
+	* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
+	HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
+	* sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
+	* sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
+	entries.
+
 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
 
 	* malloc/arena.c: Fold copyright years.
diff --git a/sysdeps/sparc/bits/hwcap.h b/sysdeps/sparc/bits/hwcap.h
index d922d7b..74ca130 100644
--- a/sysdeps/sparc/bits/hwcap.h
+++ b/sysdeps/sparc/bits/hwcap.h
@@ -45,3 +45,6 @@
 #define HWCAP_SPARC_IMA		0x00400000
 #define HWCAP_SPARC_ASI_CACHE_SPARING \
 				0x00800000
+#define HWCAP_SPARC_PAUSE	0x01000000
+#define HWCAP_SPARC_CBCOND	0x02000000
+#define HWCAP_SPARC_CRYPTO	0x04000000
diff --git a/sysdeps/sparc/dl-procinfo.c b/sysdeps/sparc/dl-procinfo.c
index 6e107dd..8280e01 100644
--- a/sysdeps/sparc/dl-procinfo.c
+++ b/sysdeps/sparc/dl-procinfo.c
@@ -46,13 +46,13 @@
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_sparc_cap_flags
 #else
-PROCINFO_CLASS const char _dl_sparc_cap_flags[24][11]
+PROCINFO_CLASS const char _dl_sparc_cap_flags[27][11]
 #endif
 #ifndef PROCINFO_DECL
   = { "flush", "stbar", "swap", "muldiv", "v9", "ultra3", "v9v", "v9v2",
       "mul32", "div32", "fsmuld", "v8plus", "popc", "vis", "vis2",
       "ASIBlkInit", "fmaf", "vis3", "hpc", "random", "trans", "fjfmau",
-      "ima", "cspare" }
+      "ima", "cspare", "pause", "cbcond", "crypto" }
 #endif
 #if !defined SHARED || defined PROCINFO_DECL
 ;
diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h
index 8ceb830..6ae8768 100644
--- a/sysdeps/sparc/dl-procinfo.h
+++ b/sysdeps/sparc/dl-procinfo.h
@@ -24,7 +24,7 @@
 #include <ldsodefs.h>
 #include <sysdep.h>
 
-#define _DL_HWCAP_COUNT 24
+#define _DL_HWCAP_COUNT 27
 
 static inline int
 __attribute__ ((unused))

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=430d6ce62a22760f56d5dea0dcccd30413a45fc2

commit 430d6ce62a22760f56d5dea0dcccd30413a45fc2
Author: David S. Miller <davem@davemloft.net>
Date:   Wed Sep 5 17:54:52 2012 -0700

    Update sparc ULPs for recently added math tests.
    
    	* sysdeps/sparc/fpu/libm-test-ulps: Update.

diff --git a/ChangeLog b/ChangeLog
index 2bad2cb..3249500 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-05  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/sparc/fpu/libm-test-ulps: Update.
+
 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
 
 	* malloc/arena.c: Fold copyright years.
diff --git a/sysdeps/sparc/fpu/libm-test-ulps b/sysdeps/sparc/fpu/libm-test-ulps
index 74af9d5..b7dc3b4 100644
--- a/sysdeps/sparc/fpu/libm-test-ulps
+++ b/sysdeps/sparc/fpu/libm-test-ulps
@@ -1187,6 +1187,12 @@ idouble: 1
 ifloat: 1
 
 # cos
+Test "cos (0x1p+120) == -9.25879022854837867303861764107414946730833e-01":
+float: 1
+ifloat: 1
+Test "cos (0x1p+127) == 7.81914638714960072263910298466369236613162e-01":
+float: 1
+ifloat: 1
 Test "cos (M_PI_6l * 2.0) == 0.5":
 double: 1
 idouble: 1
@@ -2490,6 +2496,12 @@ float: 1
 ifloat: 1
 
 # sincos
+Test "sincos (0x1p+120, &sin_res, &cos_res) puts -9.25879022854837867303861764107414946730833e-01 in cos_res":
+float: 1
+ifloat: 1
+Test "sincos (0x1p+127, &sin_res, &cos_res) puts 7.81914638714960072263910298466369236613162e-01 in cos_res":
+float: 1
+ifloat: 1
 Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
 double: 1
 idouble: 1

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |   10 ++++++++++
 sysdeps/sparc/bits/hwcap.h       |    3 +++
 sysdeps/sparc/dl-procinfo.c      |    4 ++--
 sysdeps/sparc/dl-procinfo.h      |    2 +-
 sysdeps/sparc/fpu/libm-test-ulps |   12 ++++++++++++
 5 files changed, 28 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]