about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-02-12 21:21:03 +0000
committerJakub Jelinek <jakub@redhat.com>2007-02-12 21:21:03 +0000
commit3a7cd5b4146452e4ba913b047789d87322b45e16 (patch)
tree921c0bba8ccf9db0dc282bf5423cc6cb31837f46 /sysdeps/i386
parent2f978feb67c29ce3eb866aa719ed75ebdaabf4d1 (diff)
downloadglibc-3a7cd5b4146452e4ba913b047789d87322b45e16.tar.gz
glibc-3a7cd5b4146452e4ba913b047789d87322b45e16.tar.xz
glibc-3a7cd5b4146452e4ba913b047789d87322b45e16.zip
* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
to the list of i486+ CPUs. 
* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
2007-02-12  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
	to the list of i486+ CPUs.
	* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/bits/byteswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/bits/byteswap.h b/sysdeps/i386/bits/byteswap.h
index 3baad85e8a..7f2ddc2dc5 100644
--- a/sysdeps/i386/bits/byteswap.h
+++ b/sysdeps/i386/bits/byteswap.h
@@ -68,7 +68,7 @@ __bswap_16 (unsigned short int __bsx)
 #  if !defined __i486__ && !defined __pentium__ && !defined __pentiumpro__ \
       && !defined __pentium4__ && !defined __k8__ && !defined __athlon__ \
       && !defined __k6__ && !defined __nocona__ && !defined __core2__ \
-      && !defined __geode__
+      && !defined __geode__ && !defined __amdfam10__
 #   define __bswap_32(x)						      \
      (__extension__							      \
       ({ register unsigned int __v, __x = (x);				      \