* gcc.target/i386/i386.exp (check_effective_target_bmi): Make sure
the builtin isn't optimized away.
From-SVN: r176859
+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
# 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" ]
}