Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Simplify. LOONGSON2 and MIPSNNR2 not poss...



details:   https://anonhg.NetBSD.org/src/rev/e09b985faaf4
branches:  trunk
changeset: 348042:e09b985faaf4
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Oct 02 09:06:35 2016 +0000

description:
Simplify. LOONGSON2 and MIPSNNR2 not possible.

diffstat:

 sys/arch/mips/mips/mipsX_subr.S |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 77e23b15f98e -r e09b985faaf4 sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S   Sun Oct 02 04:46:07 2016 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S   Sun Oct 02 09:06:35 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mipsX_subr.S,v 1.93 2016/08/27 07:22:14 skrll Exp $    */
+/*     $NetBSD: mipsX_subr.S,v 1.94 2016/10/02 09:06:35 maya Exp $     */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -387,11 +387,7 @@
        dmfc0   k0, MIPS_COP_0_BAD_VADDR        #0d: k0=bad address (again)
        PTR_L   k1, 0(k1)                       #0e: k1=seg entry
        b       MIPSX(tlb_miss_common)          #0f
-#ifdef MIPSNNR2
-        _EXT   k0, k0, SEGSHIFT, SEGLENGTH     #10: k0=seg index
-#else
         PTR_SRL k0, SEGSHIFT - PTR_SCALESHIFT  #10: k0=seg offset (almost)
-#endif
 #endif /* LP64 */
 2: /* handle useg addresses */
        lui     k1, %hi(CPUVAR(PMAP_SEG0TAB))   #11: k1=hi of seg0tab



Home | Main Index | Thread Index | Old Index