From: Joshua W. Boyer Date: Tue, 1 Sep 2009 22:35:35 +0000 (-0700) Subject: Fix use of 64-bit insn in 32-bit memcpy for POWER6. X-Git-Tag: upstream/2.30~13305 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a050d2a5e722876623a70d501c3cdfedfce8b5ce;p=external%2Fglibc.git Fix use of 64-bit insn in 32-bit memcpy for POWER6. --- diff --git a/ChangeLog b/ChangeLog index 2f7f799..4408a49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-31 Joshua W. Boyer + + * sysdeps/powerpc/powerpc32/power6/memcpy.S: Change srdi instruction + to srwi in 32-bit memcpy for power6. + 2009-09-01 Andreas Schwab * include/stdio.h: Declare hidden proto for fflush. 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