From 2c8aeff8bb08761e5d09c5ffa09026cc46a8761e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 15 Mar 1999 23:14:02 +0000 Subject: Update. 1999-03-11 David S. Miller * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable masks. * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. --- sysdeps/sparc/sparc32/fpu/fpu_control.h | 9 ++++++++- sysdeps/sparc/sparc64/fpu/fpu_control.h | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'sysdeps/sparc') 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 +/* 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 +/* 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 -- cgit v1.2.3