Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/ibm4xx pmap_procwr(): use dcbst instead of ...



details:   https://anonhg.NetBSD.org/src/rev/975dad810890
branches:  trunk
changeset: 1007936:975dad810890
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Mar 05 01:35:00 2020 +0000

description:
pmap_procwr(): use dcbst instead of dcbf as a tiny optimization.

diffstat:

 sys/arch/powerpc/ibm4xx/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 70ec98a07859 -r 975dad810890 sys/arch/powerpc/ibm4xx/pmap.c
--- a/sys/arch/powerpc/ibm4xx/pmap.c    Thu Mar 05 01:33:36 2020 +0000
+++ b/sys/arch/powerpc/ibm4xx/pmap.c    Thu Mar 05 01:35:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.82 2020/03/05 01:33:36 rin Exp $    */
+/*     $NetBSD: pmap.c,v 1.83 2020/03/05 01:35:00 rin Exp $    */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.82 2020/03/05 01:33:36 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.83 2020/03/05 01:35:00 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -1183,7 +1183,7 @@
                "mtpid %2;"
                "sync; isync;"
                "1:"
-               "dcbf 0,%3;"
+               "dcbst 0,%3;"
                "icbi 0,%3;"
                "add %3,%3,%5;"
                "addc. %4,%4,%6;"



Home | Main Index | Thread Index | Old Index