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, hjl/bswap, updated. glibc-2.15-589-g66751b7


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, hjl/bswap has been updated
       via  66751b76a628b2b4cf38edc636c63d06034fa612 (commit)
       via  d715c9144bdf32211cd512530d2240dc28648435 (commit)
       via  8f9a2faee0619ed5fad7b9c54b64f866b0264bde (commit)
       via  bcc8d6617ba029c288fff9680a02b9a3b1caa9c0 (commit)
       via  8a1fbaaf75536088b4d505409e0e87975d8cf8d5 (commit)
       via  8de131cbff365a34392ee3314ee5ea8007a877fe (commit)
       via  03879793292b70f4c3ca64259e80a2b44787e865 (commit)
       via  823fbbb41b4a7cbd45e5506d3f2d9381e9112405 (commit)
       via  c0ed9d7d2be861dc01cd6051415b8a8f1f5fa2aa (commit)
       via  d7dd94539899466a9a4e38c61ab846ffcb314dad (commit)
       via  c483f6b4a4277bc209820efc1ae35d976af57b4e (commit)
       via  d2de7579f257386ba5c28dfca94fa8aef143b4e0 (commit)
       via  f77f12320635155da728a3c1adb75ff9914cf686 (commit)
       via  3884932b78d5bdb0c4e6f5ebfd8083e91a51f0d8 (commit)
       via  6ab0fbfc84836b695413c7d20c2db2d870d2331e (commit)
       via  7216225a73dad15756ad8f1dae159b8fbfd9231a (commit)
       via  61efba8cdf14749b142b1906e2a84b5cfe877812 (commit)
       via  95c3f29a06f12ae8619426a879248b44ced38e42 (commit)
       via  54472e9c32ab18df49e279c64be9a2debfc0fec1 (commit)
       via  96bd03c79a7ea9bdf6130e4a641d3144cbefabac (commit)
       via  624254b18ae5a756baabbcd881faf1440e36151f (commit)
       via  1e4920e0808439be5e4a6a6e8a736de32c43b070 (commit)
       via  5ed848f3d8b5b3be92fe3006fd18a089ef982316 (commit)
       via  96154cd892c614f13f32996ce75df1442641fb5b (commit)
      from  9904dc47c88d9592ec66e5990754369bfde84c02 (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=66751b76a628b2b4cf38edc636c63d06034fa612

commit 66751b76a628b2b4cf38edc636c63d06034fa612
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 10 11:45:14 2012 -0700

    Remove sysdeps/x86_64/bits/byteswap.h

diff --git a/ChangeLog b/ChangeLog
index cede7b8..d484cc0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/bits/byteswap.h: Removed.
+
 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #13872]
diff --git a/sysdeps/x86_64/bits/byteswap.h b/sysdeps/x86_64/bits/byteswap.h
deleted file mode 100644
index d7e503c..0000000
--- a/sysdeps/x86_64/bits/byteswap.h
+++ /dev/null
@@ -1,133 +0,0 @@
-/* Macros to swap the order of bytes in integer values.
-   Copyright (C) 1997-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
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
-
-#if !defined _BYTESWAP_H && !defined _NETINET_IN_H && !defined _ENDIAN_H
-# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
-#endif
-
-#ifndef _BITS_BYTESWAP_H
-#define _BITS_BYTESWAP_H 1
-
-#include <bits/wordsize.h>
-
-/* Swap bytes in 16 bit value.  */
-#define __bswap_constant_16(x) \
-     ((unsigned short int) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)))
-
-/* Get __bswap_16.  */
-#include <bits/byteswap-16.h>
-
-/* Swap bytes in 32 bit value.  */
-#define __bswap_constant_32(x) \
-     ((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >>  8) |		      \
-      (((x) & 0x0000ff00) <<  8) | (((x) & 0x000000ff) << 24))
-
-#if defined __GNUC__ && __GNUC__ >= 2
-# if __WORDSIZE == 64 || (defined __i486__ || defined __pentium__	      \
-			  || defined __pentiumpro__ || defined __pentium4__   \
-			  || defined __k8__ || defined __athlon__	      \
-			  || defined __k6__ || defined __nocona__	      \
-			  || defined __core2__ || defined __geode__	      \
-			  || defined __amdfam10__)
-/* To swap the bytes in a word the i486 processors and up provide the
-   `bswap' opcode.  On i386 we have to use three instructions.  */
-#  define __bswap_32(x) \
-     (__extension__							      \
-      ({ register unsigned int __v, __x = (x);				      \
-	 if (__builtin_constant_p (__x))				      \
-	   __v = __bswap_constant_32 (__x);				      \
-	 else								      \
-	   __asm__ ("bswap %0" : "=r" (__v) : "0" (__x));		      \
-	 __v; }))
-# else
-#  define __bswap_32(x)							      \
-     (__extension__							      \
-      ({ register unsigned int __v, __x = (x);				      \
-	 if (__builtin_constant_p (__x))				      \
-	   __v = __bswap_constant_32 (__x);				      \
-	 else								      \
-	   __asm__ ("rorw $8, %w0;"					      \
-		    "rorl $16, %0;"					      \
-		    "rorw $8, %w0"					      \
-		    : "=r" (__v)					      \
-		    : "0" (__x)						      \
-		    : "cc");						      \
-	 __v; }))
-# endif
-#else
-# define __bswap_32(x) \
-     (__extension__							      \
-      ({ register unsigned int __x = (x); __bswap_constant_32 (__x); }))
-#endif
-
-
-#if defined __GNUC__ && __GNUC__ >= 2
-/* Swap bytes in 64 bit value.  */
-# define __bswap_constant_64(x) \
-     (__extension__ ((((x) & 0xff00000000000000ull) >> 56)		      \
-		     | (((x) & 0x00ff000000000000ull) >> 40)		      \
-		     | (((x) & 0x0000ff0000000000ull) >> 24)		      \
-		     | (((x) & 0x000000ff00000000ull) >> 8)		      \
-		     | (((x) & 0x00000000ff000000ull) << 8)		      \
-		     | (((x) & 0x0000000000ff0000ull) << 24)		      \
-		     | (((x) & 0x000000000000ff00ull) << 40)		      \
-		     | (((x) & 0x00000000000000ffull) << 56)))
-
-# if __WORDSIZE == 64
-#  define __bswap_64(x) \
-     (__extension__							      \
-      ({ register unsigned long __v, __x = (x);				      \
-	 if (__builtin_constant_p (__x))				      \
-	   __v = __bswap_constant_64 (__x);				      \
-	 else								      \
-	   __asm__ ("bswap %q0" : "=r" (__v) : "0" (__x));		      \
-	 __v; }))
-# else
-#  define __bswap_64(x) \
-     (__extension__                                                           \
-      ({ union { __extension__ unsigned long long int __ll;                   \
-		 unsigned int __l[2]; } __w, __r;                             \
-	 if (__builtin_constant_p (x))                                        \
-	   __r.__ll = __bswap_constant_64 (x);                                \
-	 else                                                                 \
-	   {                                                                  \
-	     __w.__ll = (x);                                                  \
-	     __r.__l[0] = __bswap_32 (__w.__l[1]);                            \
-	     __r.__l[1] = __bswap_32 (__w.__l[0]);                            \
-	   }                                                                  \
-	 __r.__ll; }))
-# endif
-#elif __GLIBC_HAVE_LONG_LONG
-# define __bswap_constant_64(x) \
-     ((((x) & 0xff00000000000000ull) >> 56)				      \
-      | (((x) & 0x00ff000000000000ull) >> 40)				      \
-      | (((x) & 0x0000ff0000000000ull) >> 24)				      \
-      | (((x) & 0x000000ff00000000ull) >> 8)				      \
-      | (((x) & 0x00000000ff000000ull) << 8)				      \
-      | (((x) & 0x0000000000ff0000ull) << 24)				      \
-      | (((x) & 0x000000000000ff00ull) << 40)				      \
-      | (((x) & 0x00000000000000ffull) << 56))
-
-static __inline unsigned long long int
-__bswap_64 (unsigned long long int __bsx)
-{
-  return __bswap_constant_64 (__bsx);
-}
-#endif
-
-#endif /* _BITS_BYTESWAP_H */

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

Summary of changes:
 ChangeLog                          |  124 +++++++++++++++++++++++++++++++++
 NEWS                               |   24 ++++---
 elf/dynamic-link.h                 |    9 +--
 elf/elf.h                          |    1 +
 manual/.gitignore                  |    1 +
 manual/filesys.texi                |   14 +++-
 manual/install.texi                |    2 +-
 manual/llio.texi                   |    8 +-
 manual/startup.texi                |    7 ++
 manual/stdio.texi                  |   32 +++++++--
 manual/syslog.texi                 |    2 +-
 math/libm-test.inc                 |  113 +++++++++++++++++++++++++-----
 math/s_ctan.c                      |   44 +++++++++---
 math/s_ctanf.c                     |   44 +++++++++---
 math/s_ctanh.c                     |   43 +++++++++---
 math/s_ctanhf.c                    |   43 +++++++++---
 math/s_ctanhl.c                    |   43 +++++++++---
 math/s_ctanl.c                     |   45 +++++++++----
 sysdeps/i386/fpu/bits/mathinline.h |   14 ++--
 sysdeps/i386/fpu/e_pow.S           |   53 +++++++++++++-
 sysdeps/i386/fpu/e_powl.S          |   31 +++++---
 sysdeps/i386/fpu/libm-test-ulps    |   66 ++++++++++++++++--
 sysdeps/i386/i686/memset_chk.S     |    4 +-
 sysdeps/ieee754/dbl-64/e_pow.c     |    5 +-
 sysdeps/ieee754/dbl-64/w_exp.c     |    4 +-
 sysdeps/sparc/sparc32/dl-machine.h |    6 ++
 sysdeps/sparc/sparc64/dl-machine.h |   12 +++
 sysdeps/x86_64/bits/byteswap.h     |  133 ------------------------------------
 sysdeps/x86_64/fpu/e_powl.S        |   31 +++++---
 sysdeps/x86_64/fpu/libm-test-ulps  |   97 +++++++++++++++++++++++---
 sysdeps/x86_64/memset_chk.S        |    4 +-
 31 files changed, 739 insertions(+), 320 deletions(-)
 delete mode 100644 sysdeps/x86_64/bits/byteswap.h


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]