Skip to content

Commit

Permalink
Small fix to POWER7 32-bit memset
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Machado authored and Ulrich Drepper committed May 25, 2010
1 parent b32b8b4 commit ebd2e13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2010-05-24 Luis Machado <luisgpm@br.ibm.com>

* sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.

2010-05-21 Ulrich Drepper <drepper@redhat.com>

* elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
Expand Down
5 changes: 2 additions & 3 deletions sysdeps/powerpc/powerpc32/power7/memset.S
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,19 @@ L(big_loop):
/* Now that we're probably past the LHS window, use the VSX to
speed up the loop. */
L(big_loop_fast_setup):
li 0,0
li 11,24
li 6,16
lxvdsx 4,1,11

.align 4
L(big_loop_fast):
addi 12,10,32
stxvd2x 4,10,0
stxvd2x 4,0,10
stxvd2x 4,10,6
bdz L(tail_bytes)

addi 10,10,64
stxvd2x 4,12,0
stxvd2x 4,0,12
stxvd2x 4,12,6
bdnz L(big_loop_fast)

Expand Down

0 comments on commit ebd2e13

Please sign in to comment.