x64 Assembly and C++ Tutorial 45: MMX Boolean and Comparison Instructions 1

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
213 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 15, 2012

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...

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more