small ia64 patches

Jes Sorensen jes@linuxcare.com
Fri Mar 9 12:37:00 GMT 2001


Hi

I have the following ones in my tree that I would like to have
applied. Uli, could you please apply?

Thanks
Jes

2001-03-07  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.

2001-03-07  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
	variables addr & len;

2001-02-22  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
	punctuation in asm constraint.

diff -urN -X /home/jes/exclude-libc ../cygnus/libc-2.2/sysdeps/ia64/bits/fenv.h libc-2.2/sysdeps/ia64/bits/fenv.h
--- ../cygnus/libc-2.2/sysdeps/ia64/bits/fenv.h	Thu Sep 28 18:56:51 2000
+++ libc-2.2/sysdeps/ia64/bits/fenv.h	Thu Mar  8 14:00:14 2001
@@ -79,4 +79,9 @@
 /* Floating-point environment where only FE_UNNORMAL is masked since this
    exception is not generally supported by glibc.  */
 # define FE_NOMASK_ENV	((__const fenv_t *) 0xc009804c02700302UL)
+
+/* Floating-point environment with (processor-dependent) non-IEEE
+   floating point.  In this case, turning on flush-to-zero mode for
+   s0, s2, and s3.  */
+# define FE_NONIEEE_ENV ((__const fenv_t *) 0xc009a04d0270037fUL)
 #endif
diff -urN -X /home/jes/exclude-libc ../cygnus/libc-2.2/sysdeps/ia64/fpu/feenablxcpt.c libc-2.2/sysdeps/ia64/fpu/feenablxcpt.c
--- ../cygnus/libc-2.2/sysdeps/ia64/fpu/feenablxcpt.c	Thu Sep 28 18:56:13 2000
+++ libc-2.2/sysdeps/ia64/fpu/feenablxcpt.c	Thu Feb 22 10:30:32 2001
@@ -27,7 +27,7 @@
   fenv_t new_fpsr;
 
   /* Get the current fpsr.  */
-  __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r " (old_fpsr));
+  __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (old_fpsr));
 
   new_fpsr = old_fpsr & ~((fenv_t) excepts & FE_ALL_EXCEPT);
 
diff -urN -X /home/jes/exclude-libc ../cygnus/libc-2.2/sysdeps/unix/sysv/linux/ia64/ioperm.c libc-2.2/sysdeps/unix/sysv/linux/ia64/ioperm.c
--- ../cygnus/libc-2.2/sysdeps/unix/sysv/linux/ia64/ioperm.c	Tue Feb  6 14:56:17 2001
+++ libc-2.2/sysdeps/unix/sysv/linux/ia64/ioperm.c	Wed Mar  7 13:53:34 2001
@@ -60,7 +60,10 @@
 int
 _ioperm (unsigned long int from, unsigned long int num, int turn_on)
 {
+#if 0
   unsigned long int addr, len, base;
+#endif
+  unsigned long int base;
   int prot;
 
   /* this test isn't as silly as it may look like; consider overflows! */



More information about the Libc-hacker mailing list