diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-02-12 21:21:03 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-02-12 21:21:03 +0000 |
commit | 3a7cd5b4146452e4ba913b047789d87322b45e16 (patch) | |
tree | 921c0bba8ccf9db0dc282bf5423cc6cb31837f46 /sysdeps/x86_64/bits/byteswap.h | |
parent | 2f978feb67c29ce3eb866aa719ed75ebdaabf4d1 (diff) | |
download | glibc-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/x86_64/bits/byteswap.h')
-rw-r--r-- | sysdeps/x86_64/bits/byteswap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/bits/byteswap.h b/sysdeps/x86_64/bits/byteswap.h index 7514a9f4db..ec2b17889d 100644 --- a/sysdeps/x86_64/bits/byteswap.h +++ b/sysdeps/x86_64/bits/byteswap.h @@ -61,7 +61,8 @@ || defined __pentiumpro__ || defined __pentium4__ \ || defined __k8__ || defined __athlon__ \ || defined __k6__ || defined __nocona__ \ - || defined __core2__ || defined __geode__) + || 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) \ |