macro_rules! dispatch_fma {
($core:expr, $fma:ident, $plain:ident, ( $($arg:expr),* $(,)? )) => { ... };
}Expand description
Dispatch one indicator call to its hardware-FMA clone when the CPU supports FMA, else to the portable implementation.
Both paths compute IEEE-754 correctly-rounded fused multiply-adds (vfmadd
vs libm fma()), so which one runs can change speed, never bits.
ยงContract (enforced by ta_codegen, not checkable by a macro)
$fma must name a method whose only #[target_feature] requirement is
fma; the generator emits the clone and this dispatch call as a pair.