Main Content

SIMD Code Generation

Generate SIMD code from certain algorithms in DSP System Toolbox™ using Intel AVX2 technology

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

Process to generate SIMD code from MATLAB System objects. List of supported features and the conditions under which the support is available.

Simulink Blocks in DSP System Toolbox that Support SIMD Code Generation

Process to generate SIMD code from Simulink blocks. List of supported features and the conditions under which the support is available.