This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r169883 - in /branches/gcc-4_5-branch/gcc/tests...
- From: ro at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 07 Feb 2011 13:15:15 -0000
- Subject: r169883 - in /branches/gcc-4_5-branch/gcc/tests...
Author: ro
Date: Mon Feb 7 13:15:14 2011
New Revision: 169883
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169883
Log:
Backport from mainline:
2010-07-23 Uros Bizjak <ubizjak@gmail.com>
* lib/target-supports.exp (check_avx_hw_available): New procedure.
(check_effective_target_avx_runtime): New procedure.
* gcc.dg/compat/vector-1b_main.c: Use avx_runtime effective target.
Remove cpuid.h include and __get_cpuid test.
* gcc.dg/compat/vector-2b_main.c: Ditto.
* gcc.target/i386/avx-check.h (main): Also check bit_OSXSAVE.
Modified:
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/compat/vector-1b_main.c
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/compat/vector-2b_main.c
branches/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/avx-check.h
branches/gcc-4_5-branch/gcc/testsuite/lib/target-supports.exp