aarch64: Add support for fnmadd
/fmsub
/fnmsub
#8603
Labels
cranelift:area:aarch64
Issues related to AArch64 backend.
cranelift:E-compiler-easy
Beginner–Intermediate compiler issues.
cranelift:E-easy
Issues suitable for newcomers to investigate, including Rust newcomers!
👋 Hey,
Feature
Add support for the
fnmadd
/fmsub
/fnmsub
instructions in the aarch64 backend.Benefit
This improves instruction selection quality for a few special fma cases.
Implementation
We already have support for the scalar
fmadd
instruction here. So we adding support for these instructions should be a matter of introducing the new opcodes and implementing lowering rules similar to what already exists today.Something similar was done in #8588 for the RISC-V backend. If anyone needs help implementing this, let me know!
The text was updated successfully, but these errors were encountered: