From: Sebastian Siewior <linux-crypto@xxxxxxxxxxxxxxxx> Date: Wed, 21 May 2008 09:20:59 +0200 > Yes, that could be case. However a "manual" swap has three opcodes here, > the le load has one. I should not end up with more code in the latter > cases hould I? You indeed can, because GCC has less information to work with when the inline asm powerpc has for byteswapped loads is used. For example, only limited addressing modes work with those inline asms, so gcc has to load addresses into registers. In fact it's even worse, look at the inline asm in asm-powerpc/byteorder.h, it always loads the final address into a register, so there is zero possiblity of using indexed addressing modes. So yes, you should in fact see more code :-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html