This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
FreeBSD port (27): fpu_control.h for alpha
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 12 Jul 2002 13:35:09 +0200 (CEST)
- Subject: FreeBSD port (27): fpu_control.h for alpha
Hi,
I think it's worth telling the users that putting _FPU_EXTENDED or
_FPU_SINGLE into fpu_control has no effect on Alpha, due to the hardware.
diff -r -c3 glibc-20020627.bak/sysdeps/alpha/fpu/fpu_control.h glibc-20020627/sysdeps/alpha/fpu/fpu_control.h
--- glibc-20020627.bak/sysdeps/alpha/fpu/fpu_control.h Tue Jul 10 23:00:13 2001
+++ glibc-20020627/sysdeps/alpha/fpu/fpu_control.h Fri Jul 5 01:17:07 2002
@@ -1,5 +1,5 @@
-/* FPU control word bits. Alpha-maped-to-Intel version.
- Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc.
+/* FPU control word bits. Alpha-mapped-to-Intel version.
+ Copyright (C) 1996, 1998, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Olaf Flebbe.
@@ -65,7 +65,7 @@
#define _FPU_MASK_UM 0x10
#define _FPU_MASK_PM 0x20
-/* precision control */
+/* precision control -- without effect on Alpha */
#define _FPU_EXTENDED 0x300 /* RECOMMENDED */
#define _FPU_DOUBLE 0x200
#define _FPU_SINGLE 0x0 /* DO NOT USE */