From af6b17973cbc07ac06cfb40eeab5cc2391fb489a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 2 Apr 2014 13:42:27 +1030 Subject: [PATCH] Correct prefetch hint in power7 memrchr. Typo fix. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint. --- ChangeLog | 4 ++++ sysdeps/powerpc/powerpc64/power7/memrchr.S | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 13e2c93..7c737ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2014-04-02 Alan Modra + * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint. + +2014-04-02 Alan Modra + * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference. 2014-04-01 Will Newton 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 -- 2.7.4