This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Fix alpha/alphaev6 memcpy


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]