Module Name: src
Committed By: dsl
Date: Fri Feb 7 19:32:50 UTC 2014
Modified Files:
src/sys/arch/i386/i386: trap.c
Log Message:
Remove the splurious check for EN_SW_DATACHAIN when looking at mxcsr traps.
The relevant bit is always masked out higher up.
The only place I can find a reference to a 'datachain' error is for the
weitek 1167 fpu. Even the 8087 has the corresponding bit of the x87
status reserved.
Quite why it has appeared here is anybodies guess.
To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 src/sys/arch/i386/i386/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/i386/trap.c
diff -u src/sys/arch/i386/i386/trap.c:1.269 src/sys/arch/i386/i386/trap.c:1.270
--- src/sys/arch/i386/i386/trap.c:1.269 Sun Jan 26 19:16:17 2014
+++ src/sys/arch/i386/i386/trap.c Fri Feb 7 19:32:50 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.269 2014/01/26 19:16:17 dsl Exp $ */
+/* $NetBSD: trap.c,v 1.270 2014/02/07 19:32:50 dsl Exp $ */
/*-
* Copyright (c) 1998, 2000, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.269 2014/01/26 19:16:17 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.270 2014/02/07 19:32:50 dsl Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -220,8 +220,6 @@ xmm_si_code(struct lwp *l)
return FPE_FLTOVF;
case EN_SW_UNDERFLOW:
return FPE_FLTUND;
- case EN_SW_DATACHAIN:
- return FPE_FLTSUB;
case 0:
default:
return 0;