This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]