aboutsummaryrefslogtreecommitdiff
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.zip
glibc-af6b17973cbc07ac06cfb40eeab5cc2391fb489a.tar.gz
glibc-af6b17973cbc07ac06cfb40eeab5cc2391fb489a.tar.bz2
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 13e2c93..7c737ab 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 40e436f..0c01ca2 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