Conditional moves and saturation are part of x86 for more than a decade now, BTW.valhallasound wrote:DSP has a lot of specialized instructions that make it run audio DSP operations faster for a given clock:
- Branchless conditionals. Instead of needing a branching if() statement, you can use conditional moves, which take a single cycle. Used for level detection in compressors and the like, makes things way easier.
- Built in clipping operations, or saturating math. No if() needed for clamping things to desired bounds. Useful for cheaper polynomial waveshaping, where you need to clip within bounds.
Carry on...
