x64 Assembly and C++ Tutorial 67: SSE Min and Max Instructions

Опубликовано: 01 Март 2026
на канале: Creel
3,532
59

This vid is a return to form. We're looking at a specific collection of instructions. Today's topic is the MIN and MAX instructions in SSE and MMX. These instructions are used to compare elements in two registers and store the minimum or maximum of each pair of elements.

There's a demo at the end of the vid which shows ASM trouncing the C++ compiler. I'm not sure where the speed-up comes from since C++ seems to know the algorithm I used in ASM, and yet it performed much slower? If you have any idea why this happens, leave a comment.


Become a patron and support What's a Creel programming vids on Patreon:
www.patreon.com/whatsacreel

FaceBook:
www.facebook.com/pages/WhatsaCreel/167732956665435