Original Post
I need a fast implementation of saturation arithmetics for Intel processors. I already tried doing it with MMX, but it only works for 8-bit and 16-bit values, and I need signed 32-bit saturation arithmetic. I'm doing an audio sequencer which handles pretty much everything as a 32-bit sample. The code is mostly C++, with some assembler code (I'm an optimization freak). So, if there's a way to do it in assembler... I would be very thankful...