Skip to content

use native fused multiply-add instructions for flfma - #1095

Merged
mflatt merged 1 commit into
cisco:mainfrom
samth:flfma-v3-v4-only
Nov 7, 2026
Merged

mflatt merged 1 commit into
cisco:mainfrom
samth:flfma-v3-v4-only

Conversation

@samth

@samth samth commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Lower flfma to native instructions on AArch64, RISC-V, LoongArch, and PowerPC. On x86_64, select FMA3 at compile time when configured for x86-64 level 3 or 4. Include explicit rounding and register-overlap regressions.

Detecting appropriate behavior for x86-64 is trickier than with other instructions, so I've left that out. You can see what it would look like here: samth@f4f2ecd

Lower flfma to native instructions on AArch64, RISC-V, LoongArch,
and PowerPC. On x86_64, select FMA3 at compile time when configured
for x86-64 level 3 or 4. Include explicit rounding and
register-overlap regressions.
@mflatt
mflatt merged commit d533f2e into cisco:main Nov 7, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants