This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[PATCH, libgfortran]: Use __get_cpud to check for SSE


Hello!

There is open-coded use of cpuid in config/fpu-387.h that can be
substituted with __get_cpuid from new cpuid.h header.

The patch was boostrapped and regression tested on i686-pc-linux-gnu.
Before that,  conifg/fpu-387.h was copied into config/fpu-glibc.h to
be sure that configure system picked new file. OK for mainline?

2007-09-07  Uros Bizjak  <ubizjak@gmail.com>

	* config/fpu-387.h: Include cpuid.h.
	(set_fpu): Use __get_cpuid to check for SSE.

Uros.

Attachment: g.diff.txt
Description: Text document


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