On Sat, Mar 23, 2013 at 04:52:56PM +0100, Borislav Petkov wrote: > And wow, the XOR is *actually* faster. That's whopping three cycles on > AMD. Similar observation on SNB.
Ok, correction: I was looking at the wrong row in the table. The XOR version with an immediate and mem access is actually as fast as the INC/DEC mem versions: 4 cycles on AMD F10h and 6 on SNB, according to the docs. I should've realized that there's still a mem access there... Anyway, the rest stands. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/