diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-05-22 14:48:38 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-05-26 09:09:21 -0500 |
commit | d298c41635ce7f2dc7c3eccc842fe3aa754c0c8e (patch) | |
tree | a2c2b8a6875e37eba8a3723a7fc0c47001cdce51 /sysdeps/powerpc/powerpc32/power7/memchr.S | |
parent | b60ea6fff5cca4da517ec9cce3af8f3e94d6ac65 (diff) | |
download | glibc-d298c41635ce7f2dc7c3eccc842fe3aa754c0c8e.tar.gz glibc-d298c41635ce7f2dc7c3eccc842fe3aa754c0c8e.tar.xz glibc-d298c41635ce7f2dc7c3eccc842fe3aa754c0c8e.zip |
PowerPC: Remove 64 bits instructions in PPC32 code
This patch replaces the insrdi by insrwi in powerpc32 assembly.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/power7/memchr.S')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power7/memchr.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/power7/memchr.S b/sysdeps/powerpc/powerpc32/power7/memchr.S index 1d6a0d6f96..ccdd7cfb46 100644 --- a/sysdeps/powerpc/powerpc32/power7/memchr.S +++ b/sysdeps/powerpc/powerpc32/power7/memchr.S @@ -25,9 +25,9 @@ ENTRY (__memchr) CALL_MCOUNT dcbt 0,r3 clrrwi r8,r3,2 - insrdi r4,r4,8,48 + insrwi r4,r4,8,16 /* Replicate byte to word. */ add r7,r3,r5 /* Calculate the last acceptable address. */ - insrdi r4,r4,16,32 + insrwi r4,r4,16,0 cmplwi r5,16 li r9, -1 rlwinm r6,r3,3,27,28 /* Calculate padding. */ |