SIMD Code Generation
You can generate SIMD code for certain algorithms in DSP System Toolbox that are computationally intensive for Intel® platforms, Apple silicon and ARM® Cortex®-A processors. The SIMD intrinsics significantly improve the performance of the code generated for these algorithms, in most cases meeting or exceeding the simulation performance. SIMD is a computing paradigm in which a single instruction processes multiple data. Many modern processors have SIMD capabilities that, for example, perform several additions or multiplications at once.
For more information on the DSP System Toolbox features that support this workflow, see System objects in DSP System Toolbox that Support SIMD Code Generation, Simulink Blocks in DSP System Toolbox that Support SIMD Code Generation.
Topics
MATLAB Workflow
- System objects in DSP System Toolbox that Support SIMD Code Generation
List of System objects that support SIMD code generation. - Use Intel AVX2 Code Replacement Library to Generate SIMD Code from MATLAB Algorithms
Generate high performance SIMD Code from MATLAB® algorithms in DSP System Toolbox using Intel AVX2 code replacement library. - Use Target Hardware Instruction Set Extensions to Generate SIMD Code for MATLAB System Objects for Intel Platforms
Generate high performance SIMD Code for MATLAB System objects in DSP System Toolbox for Intel platforms using the InstructionSetExtensions configuration parameter. - Use Target Hardware Instruction Set Extensions to Generate SIMD Code from MATLAB System Objects for Apple silicon and ARM Cortex-A Processors
Generate high performance SIMD Code from MATLAB System objects in DSP System Toolbox for Apple silicon and ARM Cortex-A processors using the InstructionSetExtensions configuration parameter.
Simulink Workflow
- Simulink Blocks in DSP System Toolbox that Support SIMD Code Generation
List of Simulink® blocks in DSP System Toolbox that support SIMD code generation. - Use Intel AVX2 Code Replacement Library to Generate SIMD Code from Simulink Blocks
Generate high performance SIMD code from Simulink blocks in DSP System Toolbox using Intel AVX2 code replacement library. - Use Target Hardware Instruction Set Extensions to Generate SIMD Code from Simulink Blocks for Intel Platforms
Generate high performance SIMD Code from Simulink Blocks in DSP System Toolbox by using the Leverage target hardware instruction set extensions model configuration parameter. - Use Target Hardware Instruction Set Extensions to Generate SIMD Code from Simulink Blocks for Apple silicon
Generate high performance SIMD Code from Simulink Blocks in DSP System Toolbox by using the ARM Neon technology for Apple silicon platforms. - Use Target Hardware Instruction Set Extensions to Generate SIMD Code from Simulink Blocks for ARM Cortex-A Processors
Generate high performance SIMD Code from Simulink Blocks in DSP System Toolbox by using the Embedded Coder® Support Package for ARM Cortex-A Processors.
