In this tutorial we'll look at all the remaining MMX instructions. They are Boolean and Comparison instructions. The Boolean instructions are very easy to grasp but the comparisons require a little practice (practise?).
Getting SIMD to perform branching is a trick. We create masks of 1's and 0's in binary with the comparison instructions. We then use boolean instructions to set the values we want. The next tutorial will show more clearly what this means.
I hope I've not bitten off more than is chewable by introducing both the boolean operations and comparisons. It's just that MMX comparisons aren't usable without the boolean operations.
Also my new microphone moves a little. The first half of the tute is louder than the second...
Link to this comment:
All Comments (0)