CMOV usage

Steven Johnson stejohns at
Wed Apr 16 16:50:28 PDT 2008

I came across a rather lengthy comment by Linus Torvalds about how the x86
CMOV instruction was almost always a bad idea on modern (P4+) CPUs:

Moh, we currently use CMOVs a lot in generated traces in Tamarin-Tracing...
and in the context we use it, I'm guessing that it won't make much
difference. But I'd be curious to hear the take on this from someone at

More information about the Tamarin-devel mailing list