This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/53399] "*ffs" pattern generates wrong code with BMI enabled (for corner cases)


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]