summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/include/npx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arch/i386/include/npx.h b/sys/arch/i386/include/npx.h
index 5d23bcf7d0d..4938e1d7da1 100644
--- a/sys/arch/i386/include/npx.h
+++ b/sys/arch/i386/include/npx.h
@@ -58,6 +58,13 @@ struct env87 {
long en_fos; /* floating operand segment selector */
};
+#define EN_SW_IE 0x0001 /* invalid operation */
+#define EN_SW_DE 0x0002 /* denormal */
+#define EN_SW_ZE 0x0004 /* divide by zero */
+#define EN_SW_OE 0x0008 /* overflow */
+#define EN_SW_UE 0x0010 /* underflow */
+#define EN_SW_PE 0x0020 /* loss of precision */
+
/* Contents of each floating point accumulator */
struct fpacc87 {
#ifdef dontdef /* too unportable */