PATCH RFA: Change MIPS ffs<mode>2 from define_insn to define_expand

Maciej W. Rozycki macro@linux-mips.org
Mon Jul 11 09:43:00 GMT 2005


On Mon, 10 Jul 2005, Ian Lance Taylor wrote:

> So I think either this patch or the previous one is an improvement,
> and I think you and Eric should pick one, or should describe a
> reasonable alternative.

 Hmm, how about using "clz" for MIPS32/MIPS64?

 Also have I missed anything or is the current implementation O(n)?  If 
so, that's rather poor.

  Maciej



More information about the Gcc-patches mailing list