Commit 542550cf by Jakub Jelinek Committed by Jakub Jelinek

i386.exp (check_effective_target_bmi): Make sure the builtin isn't optimized away.

	* gcc.target/i386/i386.exp (check_effective_target_bmi): Make sure
	the builtin isn't optimized away.

From-SVN: r176859
parent 1c9275a9
2011-07-28 Jakub Jelinek <jakub@redhat.com>
* gcc.target/i386/i386.exp (check_effective_target_bmi): Make sure
the builtin isn't optimized away.
2011-07-27 Tobias Burnus <burnus@net-b.de>
PR fortran/45586
......
......@@ -189,9 +189,9 @@ proc check_effective_target_xop { } {
# Return 1 if bmi instructions can be compiled.
proc check_effective_target_bmi { } {
return [check_no_compiler_messages bmi object {
void __bextr_u32 (void)
unsigned int __bextr_u32 (unsigned int __X, unsigned int __Y)
{
__builtin_ia32_bextr_u32 (0, 0);
return __builtin_ia32_bextr_u32 (__X, __Y);
}
} "-mbmi" ]
}
......
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