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-296-g9cafd5d
- From: rth at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 May 2012 23:10:13 -0000
- Subject: Community source repository for glibc add-on ports branch, master, updated. glibc-2.15-296-g9cafd5d
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 9cafd5de0d918b3846a0c755aad6ed4d36d20104 (commit)
via a797e1734c8d91a6d6df8c07e1b47ac5291425c6 (commit)
via 91c0abeda12bff60bebee81b944a235d219f9157 (commit)
via 268f6dda11e8afc861cbd964b2f209eb0ff816a3 (commit)
from 6863adc8f9d57fc8fe690edc3f535a6804556481 (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=9cafd5de0d918b3846a0c755aad6ed4d36d20104
commit 9cafd5de0d918b3846a0c755aad6ed4d36d20104
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 30 16:09:11 2012 -0700
alpha: Remove __connect_internal alias
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 246345a..bce8601 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,8 @@
2012-05-30 Richard Henderson <rth@twiddle.net>
+ * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove
+ __connect_internal alias.
+
* sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo): Use
fgets_unlocked.
diff --git a/sysdeps/unix/sysv/linux/alpha/syscalls.list b/sysdeps/unix/sysv/linux/alpha/syscalls.list
index 809d82b..de36880 100644
--- a/sysdeps/unix/sysv/linux/alpha/syscalls.list
+++ b/sysdeps/unix/sysv/linux/alpha/syscalls.list
@@ -21,7 +21,7 @@ getpriority - getpriority i:ii __getpriority getpriority
# proper socket implementations:
accept - accept Ci:iBN __libc_accept __accept accept
bind - bind i:ipi __bind bind
-connect - connect Ci:ipi __libc_connect __connect_internal __connect connect
+connect - connect Ci:ipi __libc_connect __connect connect
getpeername - getpeername i:ipp __getpeername getpeername
getsockname - getsockname i:ipp __getsockname getsockname
getsockopt - getsockopt i:iiiBN __getsockopt getsockopt
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=a797e1734c8d91a6d6df8c07e1b47ac5291425c6
commit a797e1734c8d91a6d6df8c07e1b47ac5291425c6
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 30 15:54:49 2012 -0700
alpha: Avoid fgets plt entry
And since the FILE is function local, avoid locking too.
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index e327242..246345a 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,8 @@
2012-05-30 Richard Henderson <rth@twiddle.net>
+ * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo): Use
+ fgets_unlocked.
+
* sysdeps/alpha/Implies: Include ieee754/dbl-64/wordsize-64.
* sysdeps/alpha/alphaev6/fpu/e_sqrt.S: Use dynamic rounding.
diff --git a/sysdeps/unix/sysv/linux/alpha/ioperm.c b/sysdeps/unix/sysv/linux/alpha/ioperm.c
index 8b6c830..686c7ed 100644
--- a/sysdeps/unix/sysv/linux/alpha/ioperm.c
+++ b/sysdeps/unix/sysv/linux/alpha/ioperm.c
@@ -504,7 +504,7 @@ process_cpuinfo(struct cpuinfo_data *data)
while (1)
{
- if (fgets (dummy, 256, fp) == NULL)
+ if (fgets_unlocked (dummy, 256, fp) == NULL)
break;
if (!got_type &&
sscanf (dummy, "system type : %256[^\n]\n", data->systype) == 1)
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=91c0abeda12bff60bebee81b944a235d219f9157
commit 91c0abeda12bff60bebee81b944a235d219f9157
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 30 15:52:06 2012 -0700
alpha: Use dbl-64/wordsize-64
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 44ffdc7..e327242 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,7 @@
2012-05-30 Richard Henderson <rth@twiddle.net>
+ * sysdeps/alpha/Implies: Include ieee754/dbl-64/wordsize-64.
+
* sysdeps/alpha/alphaev6/fpu/e_sqrt.S: Use dynamic rounding.
* sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: Likewise.
* sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): New.
diff --git a/sysdeps/alpha/Implies b/sysdeps/alpha/Implies
index 18c3590..d03783b 100644
--- a/sysdeps/alpha/Implies
+++ b/sysdeps/alpha/Implies
@@ -1,6 +1,7 @@
wordsize-64
# Alpha uses IEEE 754 single, double and quad precision floating point.
ieee754/ldbl-128
+ieee754/dbl-64/wordsize-64
ieee754/dbl-64
ieee754/flt-32
alpha/soft-fp
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=268f6dda11e8afc861cbd964b2f209eb0ff816a3
commit 268f6dda11e8afc861cbd964b2f209eb0ff816a3
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 30 15:49:01 2012 -0700
alpha: Use dynamic rounding with sqrt insn
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index f87c9d6..44ffdc7 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,10 @@
2012-05-30 Richard Henderson <rth@twiddle.net>
+ * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: Use dynamic rounding.
+ * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: Likewise.
+ * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): New.
+ (__ieee754_sqrtf): New.
+
* sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Replace
_internal alias by hidden_def.
diff --git a/sysdeps/alpha/alphaev6/fpu/e_sqrt.S b/sysdeps/alpha/alphaev6/fpu/e_sqrt.S
index eae1fb4..c4625d0 100644
--- a/sysdeps/alpha/alphaev6/fpu/e_sqrt.S
+++ b/sysdeps/alpha/alphaev6/fpu/e_sqrt.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -33,9 +33,9 @@ ENTRY(__ieee754_sqrt)
.align 4
#ifdef _IEEE_FP_INEXACT
- sqrtt/sui $f16, $f0
+ sqrtt/suid $f16, $f0
#else
- sqrtt/su $f16, $f0
+ sqrtt/sud $f16, $f0
#endif
ret
nop
diff --git a/sysdeps/alpha/alphaev6/fpu/e_sqrtf.S b/sysdeps/alpha/alphaev6/fpu/e_sqrtf.S
index c8217e5..5681f3a 100644
--- a/sysdeps/alpha/alphaev6/fpu/e_sqrtf.S
+++ b/sysdeps/alpha/alphaev6/fpu/e_sqrtf.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -33,9 +33,9 @@ ENTRY(__ieee754_sqrtf)
.align 4
#ifdef _IEEE_FP_INEXACT
- sqrts/sui $f16, $f0
+ sqrts/suid $f16, $f0
#else
- sqrts/su $f16, $f0
+ sqrts/sud $f16, $f0
#endif
ret
nop
diff --git a/sysdeps/alpha/fpu/math_private.h b/sysdeps/alpha/fpu/math_private.h
index eb2177d..4f270f7 100644
--- a/sysdeps/alpha/fpu/math_private.h
+++ b/sysdeps/alpha/fpu/math_private.h
@@ -18,4 +18,30 @@
#include_next <math_private.h>
+#ifdef __alpha_fix__
+extern __always_inline double
+__ieee754_sqrt (double d)
+{
+ double ret;
+# ifdef _IEEE_FP_INEXACT
+ asm ("sqrtt/suid %1,%0" : "=f"(ret) : "f"(d));
+# else
+ asm ("sqrtt/sud %1,%0" : "=f"(ret) : "f"(d));
+# endif
+ return ret;
+}
+
+extern __always_inline float
+__ieee754_sqrtf (float d)
+{
+ float ret;
+# ifdef _IEEE_FP_INEXACT
+ asm ("sqrts/suid %1,%0" : "=f"(ret) : "f"(d));
+# else
+ asm ("sqrts/sud %1,%0" : "=f"(ret) : "f"(d));
+# endif
+ return ret;
+}
+#endif /* FIX */
+
#endif /* ALPHA_MATH_PRIVATE_H */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog.alpha | 13 +++++++++++++
sysdeps/alpha/Implies | 1 +
sysdeps/alpha/alphaev6/fpu/e_sqrt.S | 6 +++---
sysdeps/alpha/alphaev6/fpu/e_sqrtf.S | 6 +++---
sysdeps/alpha/fpu/math_private.h | 26 ++++++++++++++++++++++++++
sysdeps/unix/sysv/linux/alpha/ioperm.c | 2 +-
sysdeps/unix/sysv/linux/alpha/syscalls.list | 2 +-
7 files changed, 48 insertions(+), 8 deletions(-)
hooks/post-receive
--
Community source repository for glibc add-on ports