about summary refs log tree commit diff
path: root/sysdeps/s390/fpu/fenv_libc.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-24 09:57:58 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-24 09:57:58 +0000
commit0067c4cffb0081b03b15e81580469af8a8ac9050 (patch)
treebf0f951eeab7f45f0533868f01c113be013cfa08 /sysdeps/s390/fpu/fenv_libc.h
parent3b526f89b596f308b3a03e0dc0b00ed4673dc449 (diff)
downloadglibc-0067c4cffb0081b03b15e81580469af8a8ac9050.tar.gz
glibc-0067c4cffb0081b03b15e81580469af8a8ac9050.tar.xz
glibc-0067c4cffb0081b03b15e81580469af8a8ac9050.zip
Update.
2000-08-24  Denis Joseph Barrow    <djbarrow@de.ibm.com>

	* sysdeps/s390/fpu/fedisblxcpt.c: New file.
	* sysdeps/s390/fpu/feenablxcpt.c: New file.
	* sysdeps/s390/fpu/fegetexcept.c: New file.
	* sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
	FPC_VALID_MASK.
Diffstat (limited to 'sysdeps/s390/fpu/fenv_libc.h')
-rw-r--r--sysdeps/s390/fpu/fenv_libc.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/sysdeps/s390/fpu/fenv_libc.h b/sysdeps/s390/fpu/fenv_libc.h
index d4c7b3ea32..26308b198a 100644
--- a/sysdeps/s390/fpu/fenv_libc.h
+++ b/sysdeps/s390/fpu/fenv_libc.h
@@ -22,16 +22,19 @@
 
 #include <fenv.h>
 
-/* Definitions from asm/s390-regs-common.h that are needed in th glibc. */
+/* Definitions from asm/s390-regs-common.h that are needed in glibc.  */
+
 
-#define FPC_DXC_MASK		0x0000FF00
 #define FPC_EXCEPTION_MASK	0xF8000000
 #define FPC_FLAGS_MASK		0x00F80000
+#define FPC_DXC_MASK		0x0000FF00
 #define FPC_RM_MASK		0x00000003
+#define FPC_VALID_MASK		((FPC_EXCEPTION_MASK|FPC_FLAGS_MASK| \
+				 FPC_DXC_MASK|FPC_RM_MASK))
 
-#define FPC_EXCEPTION_MASK_SHIFT  24
-#define FPC_FLAGS_SHIFT		  16
-#define FPC_DXC_SHIFT		  8
-#define FPC_NOT_FPU_EXCEPTION	  0x300
+#define FPC_EXCEPTION_MASK_SHIFT	24
+#define FPC_FLAGS_SHIFT			16
+#define FPC_DXC_SHIFT			8
+#define FPC_NOT_FPU_EXCEPTION		0x300
 
 #endif /* _FENV_LIBC_H */