This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53399] "*ffs" pattern generates wrong code with BMI enabled (for corner cases)
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 20 May 2012 16:02:37 +0000
- Subject: [Bug target/53399] "*ffs" pattern generates wrong code with BMI enabled (for corner cases)
- Auto-submitted: auto-generated
- References: <bug-53399-4@http.gcc.gnu.org/bugzilla/>
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?