SIMD Code Generation
You can generate SIMD code from certain algorithms in DSP System Toolbox using Intel AVX2 technology. SIMD is a computing paradigm in which a single instruction processes multiple data. Many modern processors have SIMD instructions that, for example, perform several additions or multiplications at once.
Certain algorithms in the DSP System Toolbox, such as FIR filter and LMS filter, are computationally intensive. The Intel AVX2 SIMD intrinsics significantly improve the performance of the code generated using these algorithms on Intel platforms, in most cases meeting or exceeding the simulation performance.
To generate SIMD code from MATLAB® System objects, you need MATLAB Coder™ and Embedded Coder®. To generate SIMD code from Simulink blocks, you need Simulink® Coder and Embedded Coder.
Topics
- System objects in DSP System Toolbox that Support SIMD Code Generation
List of System objects that support SIMD code generation, and the conditions under which the support is available.
- Simulink Blocks in DSP System Toolbox that Support SIMD Code Generation
List of blocks that support SIMD code generation, and the conditions under which the support is available.
- Generate High Performance SIMD Code on Intel from MATLAB Algorithms in DSP System Toolbox
Process to generate high performance SIMD code from MATLAB algorithms.
- Generate High Performance SIMD Code on Intel from Simulink Blocks in DSP System Toolbox
Process to generate high performance SIMD code from Simulink blocks.