diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-11-05 08:01:09 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-11-05 08:01:09 -0500 |
commit | 7110166d4fe36899c5ecf6fd31635f3cd75d8931 (patch) | |
tree | 4390afaaae658b72373d4b62c05abb6ce0a141ae /sysdeps/powerpc/powerpc64/power8/memset.S | |
parent | 29955b5d9658b02d3a678d1f785db3d1e63184ca (diff) | |
download | glibc-7110166d4fe36899c5ecf6fd31635f3cd75d8931.tar.gz glibc-7110166d4fe36899c5ecf6fd31635f3cd75d8931.tar.xz glibc-7110166d4fe36899c5ecf6fd31635f3cd75d8931.zip |
powerpc: Simplify encoding of POWER8 instruction
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power8/memset.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/power8/memset.S | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/powerpc/powerpc64/power8/memset.S b/sysdeps/powerpc/powerpc64/power8/memset.S index cebcbdf8fb..d7324dc54a 100644 --- a/sysdeps/powerpc/powerpc64/power8/memset.S +++ b/sysdeps/powerpc/powerpc64/power8/memset.S @@ -17,13 +17,8 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> -#include <endian.h> -#if __BYTE_ORDER == __LITTLE_ENDIAN -#define MTVSRD_V1_R4 .byte 0x66,0x01,0x24,0x7c /* mtvsrd v1,r4 */ -#else -#define MTVSRD_V1_R4 .byte 0x7c,0x24,0x01,0x66 -#endif +#define MTVSRD_V1_R4 .long 0x7c240166 /* mtvsrd v1,r4 */ /* __ptr_t [r3] memset (__ptr_t s [r3], int c [r4], size_t n [r5])); Returns 's'. */ |