Commit 128ded1e by Mike Stump Committed by Mike Stump

target-supports.exp (check_effective_target_avx): Early out if not x86 to…

target-supports.exp (check_effective_target_avx): Early out if not x86 to prevent x86 flags on non-x86 targets.

	* lib/target-supports.exp (check_effective_target_avx): Early out
	if not x86 to prevent x86 flags on non-x86 targets.

From-SVN: r210616
parent b17f08dd
2014-05-19 Mike Stump <mikestump@comcast.net>
* lib/target-supports.exp (check_effective_target_avx): Early out
if not x86 to prevent x86 flags on non-x86 targets.
2014-05-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/61221
......
......@@ -5318,6 +5318,9 @@ proc check_effective_target_avx512f { } {
# Return 1 if avx instructions can be compiled.
proc check_effective_target_avx { } {
if { !([istarget x86_64-*-*] || [istarget i?86-*-*]) } {
return 0
}
return [check_no_compiler_messages avx object {
void _mm256_zeroall (void)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment