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]

Re: [PATCH, i386]: Remove sse{,2} effective target check from compile-time tests


On Fri, Jul 23, 2010 at 5:59 PM, H.J. Lu <hjl.tools@gmail.com> wrote:

>>> First we have to decide when there is no hardware/OS support,
>>> do we want to run the run-time tests. If the answer is yes,
>>> we can use my first AVX run-time check patch is at
>>>
>>> http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01791.html
>
> This should be:
>
> http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01491.html

This is correct approach, since for AVX, OS and hw checks can be
blended together due to OSXSAVE. Can you please commit this patch
(modulo gcc.dg/compat/* and avx-check.h changes)?

	* gcc.target/i386/aes-avx-check.h (main): Likewise.
	* gcc.target/i386/avx-check.h (main): Likewise.
	* gcc.target/i386/pclmul-avx-check.h (main): Likewise.
	* gcc.target/x86_64/abi/avx/avx-check.h (main): Likewise.

Thanks,
Uros.


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