How to enable SIMD optimization (“Leverage target hardware instruction set extensions”) for ARM Cortex-A / Zynq in Simulink?

7 ビュー (過去 30 日間)
Shiping
Shiping 2025 年 8 月 26 日
編集済み: Shiping 2025 年 8 月 26 日
Hi everyone, I’m developing algorithms on an ARM device using Simulink and I want to enable SIMD optimizations. I followed the official documentation: Generate SIMD code from Simulink blocks for ARM targets, and I have installed the ARM Support from Embedded Coder package.
Here’s the issue:
  • When I select Hardware Implementation → Vendor = ARM Compatible → Cortex-A, or set the Hardware Board to Zynq UltraScale+ MPSoC, the “Leverage target hardware instruction set extensions” option does not appear under Optimization.
  • The option only appears if I set the Vendor to AMD → Athlon 64.
  • However, AMD → Athlon 64 obviously cannot be used for my hardware platform.
So my questions are: is this a configuration mistake, or is this option simply not supported for ARM targets? What’s the correct way to enable SIMD optimization on ARM Cortex-A / Zynq hardware? Thanks a lot!
大家好,我在 ARM 设备上基于 Simulink 做算法开发,希望利用 SIMD 来优化程序。我参考了官方文档:生成面向 ARM 目标的 SIMD 代码,并且安装了 ARM Support from Embedded Coder 支持包。
我遇到的问题是:
  • Hardware Implementation → Vendor 中选择 ARM Compatible → Cortex-A,或者把 Hardware Board 设置为 Zynq UltraScale+ MPSoC 时,优化选项里都找不到 “Leverage target hardware instruction set extensions”
  • 只有当我把 Vendor 设置为 AMD → Athlon 64 时,这个选项才会出现。
  • 但是 AMD → Athlon 64 显然无法适配我的硬件平台。
请问这是我的配置有问题,还是说这个选项根本不支持 ARM 目标硬件?如果我想在 ARM Cortex-A / Zynq 上启用 SIMD 优化,应该怎么做?谢谢大家!

回答 (0 件)

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by