PATCH: More _dl_hwcap and SSE fixes (Re: The usage of _dl_hwcap and dl_hwcap_mask is confusing)

Roland McGrath roland@redhat.com
Tue Jul 22 20:52:00 GMT 2003


> 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.



More information about the Libc-alpha mailing list