FreeBSD port (27): fpu_control.h for alpha

Bruno Haible bruno@clisp.org
Fri Jul 12 04:33:00 GMT 2002


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 */



More information about the Libc-alpha mailing list