On Wed, May 23, 2012 at 11:35 AM, David Miller <davem@xxxxxxxxxxxxx> wrote: > > FWIW, when I code this end case in assembler on sparc64 I just go for > a bunch of conditional moves, so I'll try to come up with something > similar to the above that gcc will emit reasonably. .. and yes, it's possible that the keep-it-simple-and-stupid code you posted first will actually generate better code if gcc can change it all to cmov's. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html