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/memset.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/memset.S')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power7/memset.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/power7/memset.S b/sysdeps/powerpc/powerpc32/power7/memset.S index ae18761167..34fc1ad1cd 100644 --- a/sysdeps/powerpc/powerpc32/power7/memset.S +++ b/sysdeps/powerpc/powerpc32/power7/memset.S @@ -35,8 +35,8 @@ L(_memset): cfi_offset(31,-8) /* Replicate byte to word. */ - insrdi 4,4,8,48 - insrdi 4,4,16,32 + insrwi 4,4,8,16 + insrwi 4,4,16,0 ble cr6,L(small) /* If length <= 8, use short copy code. */ |