This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: More _dl_hwcap and SSE fixes (Re: The usage of _dl_hwcap and dl_hwcap_mask is confusing)
- From: Roland McGrath <roland at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Ulrich Drepper <drepper at redhat dot com>,GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Tue, 22 Jul 2003 13:50:06 -0700
- Subject: Re: PATCH: More _dl_hwcap and SSE fixes (Re: The usage of _dl_hwcap and dl_hwcap_mask is confusing)
> 2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
>
> * elf/dl-support.c (_dl_hwcap): New.
> (_dl_aux_init): Initialize GL(dl_hwcap) for static binaries.
This part of the patch seems fine to me. Does someone know a problem with it?
> * sysdeps/i386/fpu/fclrexcpt.c: Include <unistd.h>, <ldsodefs.h>
> and <dl-procinfo.h>.
> (__feclearexcept): Clear MXCSR if needed.
> * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
>
> * sysdeps/i386/fpu_control.h (_FPU_GETCW): Commented out.
> (_FPU_SETCW): Likewise.
>
> * sysdeps/i386/setfpucw.c: New file. Support SSE and SSE2.
This seems reasonable to me, but I don't know enough about how this
hardware is used to really be sure.