Skip to content

Commit

Permalink
Fix use of 64-bit insn in 32-bit memcpy for POWER6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua W. Boyer authored and Ulrich Drepper committed Sep 1, 2009
1 parent 5182cbc commit a050d2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2009-08-31 Joshua W. Boyer <jwboyer@linux.vnet.ibm.com>

* sysdeps/powerpc/powerpc32/power6/memcpy.S: Change srdi instruction
to srwi in 32-bit memcpy for power6.

2009-09-01 Andreas Schwab <schwab@redhat.com>

* include/stdio.h: Declare hidden proto for fflush.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/powerpc/powerpc32/power6/memcpy.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a050d2a

Please sign in to comment.