Fix inverted logic on FPU type check in fpfault(). From OpenBSD.
This commit is contained in:
parent
2567980901
commit
74ed958e0f
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.16 2007/10/17 19:54:07 garbled Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.17 2009/01/11 06:02:18 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1990, 1993
|
||||
@ -650,7 +650,7 @@ ENTRY_NOPROFILE(fpfault)
|
||||
#if defined(M68040) || defined(M68060)
|
||||
/* always null state frame on 68040, 68060 */
|
||||
cmpl #FPU_68040,_C_LABEL(fputype)
|
||||
jle Lfptnull
|
||||
jge Lfptnull
|
||||
#endif
|
||||
tstb %a0@ | null state frame?
|
||||
jeq Lfptnull | yes, safe
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.145 2008/12/21 17:42:05 tsutsui Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.146 2009/01/11 06:02:18 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1990, 1993
|
||||
@ -860,7 +860,7 @@ ENTRY_NOPROFILE(fpfault)
|
||||
#if defined(M68040) || defined(M68060)
|
||||
/* always null state frame on 68040, 68060 */
|
||||
cmpl #FPU_68040,_C_LABEL(fputype)
|
||||
jle Lfptnull
|
||||
jge Lfptnull
|
||||
#endif
|
||||
tstb %a0@ | null state frame?
|
||||
jeq Lfptnull | yes, safe
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.28 2007/10/17 19:55:04 garbled Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.29 2009/01/11 06:02:18 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1990, 1993
|
||||
@ -602,7 +602,7 @@ ENTRY_NOPROFILE(fpfault)
|
||||
#if defined(M68040) || defined(M68060)
|
||||
/* always null state frame on 68040, 68060 */
|
||||
cmpl #FPU_68040,_C_LABEL(fputype)
|
||||
jle Lfptnull
|
||||
jge Lfptnull
|
||||
#endif
|
||||
tstb %a0@ | null state frame?
|
||||
jeq Lfptnull | yes, safe
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.154 2008/06/19 13:56:22 tsutsui Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.155 2009/01/11 06:02:18 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1990 The Regents of the University of California.
|
||||
@ -631,8 +631,8 @@ ENTRY_NOPROFILE(fpfault)
|
||||
fsave %a0@ | save state
|
||||
#if defined(M68040) || defined(M68060)
|
||||
/* always null state frame on 68040, 68060 */
|
||||
cmpl #CPU_68040,_C_LABEL(cputype)
|
||||
jle Lfptnull
|
||||
cmpl #FPU_68040,_C_LABEL(fputype)
|
||||
jge Lfptnull
|
||||
#endif
|
||||
tstb %a0@ | null state frame?
|
||||
jeq Lfptnull | yes, safe
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.99 2007/10/17 19:55:48 garbled Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.100 2009/01/11 06:02:19 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1990, 1993
|
||||
@ -974,7 +974,7 @@ ENTRY_NOPROFILE(fpfault)
|
||||
#if defined(M68040) || defined(M68060)
|
||||
/* always null state frame on 68040, 68060 */
|
||||
cmpl #FPU_68040,_C_LABEL(fputype)
|
||||
jle Lfptnull
|
||||
jge Lfptnull
|
||||
#endif
|
||||
tstb %a0@ | null state frame?
|
||||
jeq Lfptnull | yes, safe
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.49 2007/10/17 19:56:04 garbled Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.50 2009/01/11 06:02:19 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Darrin B. Jewell
|
||||
@ -766,7 +766,7 @@ ENTRY_NOPROFILE(fpfault)
|
||||
#if defined(M68040) || defined(M68060)
|
||||
/* always null state frame on 68040, 68060 */
|
||||
cmpl #FPU_68040,_C_LABEL(fputype)
|
||||
jle Lfptnull
|
||||
jge Lfptnull
|
||||
#endif
|
||||
tstb %a0@ | null state frame?
|
||||
jeq Lfptnull | yes, safe
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.90 2008/12/21 06:16:06 isaki Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.91 2009/01/11 06:02:19 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1990, 1993
|
||||
@ -354,7 +354,7 @@ ENTRY_NOPROFILE(fpfault)
|
||||
#if defined(M68040) || defined(M68060)
|
||||
/* always null state frame on 68040, 68060 */
|
||||
cmpl #FPU_68040,_C_LABEL(fputype)
|
||||
jle Lfptnull
|
||||
jge Lfptnull
|
||||
#endif
|
||||
tstb %a0@ | null state frame?
|
||||
jeq Lfptnull | yes, safe
|
||||
|
Loading…
Reference in New Issue
Block a user