Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Bugfix: add missing cmp instruction...



details:   https://anonhg.NetBSD.org/src/rev/18ce18e4fa26
branches:  trunk
changeset: 797317:18ce18e4fa26
user:      palle <palle%NetBSD.org@localhost>
date:      Sun Jul 13 22:09:01 2014 +0000

description:
Bugfix: add missing cmp instruction to GET_MAXCWP macro

diffstat:

 sys/arch/sparc64/sparc64/locore.s |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 3b92570a125d -r 18ce18e4fa26 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Sun Jul 13 22:06:56 2014 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Sun Jul 13 22:09:01 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.361 2014/06/30 12:59:48 palle Exp $       */
+/*     $NetBSD: locore.s,v 1.362 2014/07/13 22:09:01 palle Exp $       */
 
 /*
  * Copyright (c) 2006-2010 Matthew R. Green
@@ -106,6 +106,7 @@
 #ifdef SUN4V
        sethi   %hi(cputyp), \reg
        ld      [\reg + %lo(cputyp)], \reg
+       cmp     \reg, CPU_SUN4V
        bne,pt  %icc, 2f
         nop
        /* sun4v */



Home | Main Index | Thread Index | Old Index