aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoshua W. Boyer <jwboyer@linux.vnet.ibm.com>2009-09-01 15:35:35 -0700
committerUlrich Drepper <drepper@redhat.com>2009-09-01 15:35:35 -0700
commita050d2a5e722876623a70d501c3cdfedfce8b5ce (patch)
tree5c8b58ea1732945b9d25f3eec8271055e563993f /sysdeps
parent5182cbc5ab6e2bc294e14dae22fb3a8553713a41 (diff)
downloadglibc-a050d2a5e722876623a70d501c3cdfedfce8b5ce.zip
glibc-a050d2a5e722876623a70d501c3cdfedfce8b5ce.tar.gz
glibc-a050d2a5e722876623a70d501c3cdfedfce8b5ce.tar.bz2
Fix use of 64-bit insn in 32-bit memcpy for POWER6.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/powerpc32/power6/memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S
index 156b0bd..cafe917 100644
--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
@@ -220,7 +220,7 @@ L(word_unaligned_short):
subf 10,0,5
add 12,4,0
blt cr6,5f
- srdi 7,6,16
+ srwi 7,6,16
bgt cr6,3f
sth 6,0(3)
b 7f