SIMD 代码生成
为 DSP System Toolbox™ 中某些计算密集型算法生成 SIMD 代码
您可以为 DSP System Toolbox 中针对 Intel® 平台、Apple 芯片和 ARM® Cortex®-A 处理器计算密集的某些算法生成 SIMD 代码。SIMD 固有函数可显著提高为这些算法生成的代码的性能,在大多数情况下能够满足或超出仿真性能。SIMD 是一种计算范式,在该范式下,一条指令可处理多种数据。许多现代处理器都有 SIMD 功能,例如,一次执行多次加法或乘法运算的 SIMD 指令。
有关支持此工作流的 DSP System Toolbox 功能的详细信息,请参阅System objects in DSP System Toolbox that Support SIMD Code Generation、Simulink Blocks in DSP System Toolbox that Support SIMD Code Generation。
主题
MATLAB 工作流
- 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 工作流
- 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.
