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 remove redundant NOP_L. we do not use the...



details:   https://anonhg.NetBSD.org/src/rev/9862528edb6e
branches:  trunk
changeset: 348855:9862528edb6e
user:      maya <maya%NetBSD.org@localhost>
date:      Fri Nov 11 16:45:14 2016 +0000

description:
remove redundant NOP_L. we do not use the register immediately after
load, so it's not needed.

diffstat:

 sys/arch/mips/mips/spl.S |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 0ca9a94b80ff -r 9862528edb6e sys/arch/mips/mips/spl.S
--- a/sys/arch/mips/mips/spl.S  Fri Nov 11 16:41:32 2016 +0000
+++ b/sys/arch/mips/mips/spl.S  Fri Nov 11 16:45:14 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spl.S,v 1.12 2016/08/13 08:08:11 skrll Exp $   */
+/*     $NetBSD: spl.S,v 1.13 2016/11/11 16:45:14 maya Exp $    */
 
 /*-
  * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #include <mips/asm.h>
 #include <mips/cpuregs.h>
 
-RCSID("$NetBSD: spl.S,v 1.12 2016/08/13 08:08:11 skrll Exp $")
+RCSID("$NetBSD: spl.S,v 1.13 2016/11/11 16:45:14 maya Exp $")
 
 #include "assym.h"
 
@@ -133,7 +133,6 @@
        INT_L   a1, (v1)                        # load SR bits for this IPL
 1:
        mfc0    v1, MIPS_COP_0_STATUS           # fetch status register
-       NOP_L                                   # load delay
        xor     a1, MIPS_INT_MASK               # invert SR bits
        or      v1, a1                          # set any bits for this IPL
        DYNAMIC_STATUS_MASK(v1,t0)              # machine dependent masking



Home | Main Index | Thread Index | Old Index