]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 12 Jun 2003 01:35:15 +0000 (01:35 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 12 Jun 2003 01:35:15 +0000 (01:35 +0000)
* sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction
also for P4.

ChangeLog
sysdeps/i386/bits/byteswap.h

index 521ffeeab7416fbd189c2d0df91efa5694602024..8cf9c9252908899c23662877239424814c8fec73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-06-11  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction
+       also for P4.
+
        * time/tzfile.c: Add a couple of __builtin_expect.
 
        Remove warnings gcc 3.3 shows.
index 0d7d75cb42a8aeff3ee0bef43bc32837c940c856..33af208888321782248539a9f2334b4f75d2ba1f 100644 (file)
@@ -1,5 +1,5 @@
 /* Macros to swap the order of bytes in integer values.
-   Copyright (C) 1997, 1998, 2000, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 2000, 2002, 2003 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
@@ -64,7 +64,8 @@ __bswap_16 (unsigned short int __bsx)
 # if __GNUC__ >= 2
 /* To swap the bytes in a word the i486 processors and up provide the
    `bswap' opcode.  On i386 we have to use three instructions.  */
-#  if !defined __i486__ && !defined __pentium__ && !defined __pentiumpro__
+#  if !defined __i486__ && !defined __pentium__ && !defined __pentiumpro__ \
+      && !defined __pentium4__
 #   define __bswap_32(x)                                                     \
      (__extension__                                                          \
       ({ register unsigned int __v, __x = (x);                               \
This page took 0.045699 seconds and 5 git commands to generate.