[Bug target/53399] "*ffs" pattern generates wrong code with BMI enabled (for corner cases)
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun May 20 16:18:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53399
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2012-05-20 16:02:37 UTC ---
(In reply to comment #6)
> >
> > Can you please isolate failing test?
>
> Sure, it is attached.
Please show the generated __builtin_ffs assembly codes
compiled with and without BMI. Also does
int
foo (int i)
{
return __builtin_ffs (i);
}
work OK?
More information about the Gcc-bugs
mailing list