Main Content

FMA

Whether to use SIMD instructions for fused multiply add operations

Since R2024a

Description

App Configuration Pane: Speed

Configuration Objects: coder.EmbeddedCodeConfig

The FMA parameter specifies whether to use SIMD instructions from the Neon v7 instruction set for fused multiply add (FMA) operations. See Generate SIMD Code from Simulink Blocks for ARM Platforms (Embedded Coder).

When using GPU Coder™, the code generator disables this parameter.

Settings

Off

The code generator does not use SIMD instructions from the Neon v7 instruction set for FMA operations. This value is the default value.

On

The code generator uses SIMD instructions from the Neon v7 instruction set for FMA operations.

Dependencies

To enable this parameter, set Leverage target hardware instruction set extensions to Neon v7.

Programmatic Use

Property: InstructionSetExtensionsConfig.FMA
Values: false | true
Default: false

Version History

Introduced in R2024a