aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-15 23:14:02 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-15 23:14:02 +0000
commit2c8aeff8bb08761e5d09c5ffa09026cc46a8761e (patch)
tree7d62f0a88b82655f730612df541265bb9003836e /sysdeps/sparc
parentb117f744e10e769a5d219cf0b69cc10f81738650 (diff)
downloadglibc-2c8aeff8bb08761e5d09c5ffa09026cc46a8761e.tar
glibc-2c8aeff8bb08761e5d09c5ffa09026cc46a8761e.tar.gz
glibc-2c8aeff8bb08761e5d09c5ffa09026cc46a8761e.tar.bz2
glibc-2c8aeff8bb08761e5d09c5ffa09026cc46a8761e.zip
Update.
1999-03-11 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable masks. * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/fpu/fpu_control.h9
-rw-r--r--sysdeps/sparc/sparc64/fpu/fpu_control.h9
2 files changed, 16 insertions, 2 deletions
diff --git a/sysdeps/sparc/sparc32/fpu/fpu_control.h b/sysdeps/sparc/sparc32/fpu/fpu_control.h
index 127f13b54c..7cbdf6db9b 100644
--- a/sysdeps/sparc/sparc32/fpu/fpu_control.h
+++ b/sysdeps/sparc/sparc32/fpu/fpu_control.h
@@ -1,5 +1,5 @@
/* FPU control word bits. SPARC version.
- Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Miguel de Icaza
@@ -24,6 +24,13 @@
#include <features.h>
+/* masking of interrupts */
+#define _FPU_MASK_IM 0x08000000
+#define _FPU_MASK_OM 0x04000000
+#define _FPU_MASK_UM 0x02000000
+#define _FPU_MASK_ZM 0x01000000
+#define _FPU_MASK_PM 0x00800000
+
/* precision control */
#define _FPU_EXTENDED 0x00000000 /* RECOMMENDED */
#define _FPU_DOUBLE 0x20000000
diff --git a/sysdeps/sparc/sparc64/fpu/fpu_control.h b/sysdeps/sparc/sparc64/fpu/fpu_control.h
index 82571fc7a7..b684fa934e 100644
--- a/sysdeps/sparc/sparc64/fpu/fpu_control.h
+++ b/sysdeps/sparc/sparc64/fpu/fpu_control.h
@@ -1,5 +1,5 @@
/* FPU control word bits. SPARC v9 version.
- Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Miguel de Icaza
@@ -24,6 +24,13 @@
#include <features.h>
+/* masking of interrupts */
+#define _FPU_MASK_IM 0x08000000
+#define _FPU_MASK_OM 0x04000000
+#define _FPU_MASK_UM 0x02000000
+#define _FPU_MASK_ZM 0x01000000
+#define _FPU_MASK_PM 0x00800000
+
/* precision control */
#define _FPU_EXTENDED 0x00000000 /* RECOMMENDED */
#define _FPU_DOUBLE 0x20000000