[PATCH] Fix alpha/alphaev6 memcpy
Jakub Jelinek
jakub@redhat.com
Wed Dec 27 09:05:00 GMT 2000
Hi!
The remaining make check failure was due to realloc bug, so this patch seems
to cure alphaev6 memcpy just fine.
2000-12-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/alphaev6/memcpy.S: Add test for fallback wh64 value
before the loop.
--- libc/sysdeps/alpha/alphaev6/memcpy.S.jj Sat Dec 9 11:56:16 2000
+++ libc/sysdeps/alpha/alphaev6/memcpy.S Wed Dec 27 11:57:05 2000
@@ -88,7 +88,8 @@ $do_unroll:
addq $16, 64, $7 # E : Initial (+1 trip) wh64 address
cmple $18, 63, $1 # E : Can we go through the unrolled loop?
bne $1, $tail_quads # U : Nope
- nop # E :
+ subq $18, 128, $2
+ cmovlt $2, $16, $7
$unroll_body:
wh64 ($7) # L1 : memory subsystem hint: 64 bytes at
Jakub
More information about the Libc-hacker
mailing list