Skip to content

use cranelift's fma for fmuladdf#1676

Draft
folkertdev wants to merge 2 commits into
rust-lang:mainfrom
folkertdev:cranelift-fma
Draft

use cranelift's fma for fmuladdf#1676
folkertdev wants to merge 2 commits into
rust-lang:mainfrom
folkertdev:cranelift-fma

Conversation

@folkertdev

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/intrinsics/mod.rs
@@ -367,12 +375,6 @@ fn codegen_float_intrinsic_call<'tcx>(
sym::fmaf64 => ("fma", 3, fx.tcx.types.f64, types::F64),
sym::fmaf128 => ("fmaf128", 3, fx.tcx.types.f128, types::F128),

@folkertdev folkertdev Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so why don't we also want this for the 4 intrinsics here? It looks to me like fmuladd is not really hooked up to anything at all in core, it just exists as an intrinsic?

View changes since the review

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.

1 participant