about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-04-02 13:42:27 +1030
committerAlan Modra <amodra@gmail.com>2014-04-02 13:42:27 +1030
commitaf6b17973cbc07ac06cfb40eeab5cc2391fb489a (patch)
treed765bddc1fc129ee09998a983d93cc5fd894c78f
parent483818d768ed99a5edf4114298a75ebedaee8d5c (diff)
downloadglibc-af6b17973cbc07ac06cfb40eeab5cc2391fb489a.tar.gz
glibc-af6b17973cbc07ac06cfb40eeab5cc2391fb489a.tar.xz
glibc-af6b17973cbc07ac06cfb40eeab5cc2391fb489a.zip
Correct prefetch hint in power7 memrchr.
Typo fix.

	* sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/powerpc/powerpc64/power7/memrchr.S2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 13e2c935ac..7c737abaf8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-04-02  Alan Modra  <amodra@gmail.com>
 
+	* sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
+
+2014-04-02  Alan Modra  <amodra@gmail.com>
+
 	* sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
 
 2014-04-01  Will Newton  <will.newton@linaro.org>
diff --git a/sysdeps/powerpc/powerpc64/power7/memrchr.S b/sysdeps/powerpc/powerpc64/power7/memrchr.S
index 40e436f853..0c01ca2900 100644
--- a/sysdeps/powerpc/powerpc64/power7/memrchr.S
+++ b/sysdeps/powerpc/powerpc64/power7/memrchr.S
@@ -29,7 +29,7 @@ ENTRY (__memrchr)
 	mr	r10,r3
 	clrrdi	r6,r7,7
 	li	r9,3<<5
-	dcbt	r9,r6,16      /* Stream hint, decreasing addresses.  */
+	dcbt	r9,r6,8       /* Stream hint, decreasing addresses.  */
 
 	/* Replicate BYTE to doubleword.  */
 	insrdi	r4,r4,8,48