Skip to content

Commit

Permalink
Rollup merge of #133395 - calebzulawski:simd_relaxed_fma, r=workingju…
Browse files Browse the repository at this point in the history
…bilee

Add simd_relaxed_fma intrinsic

Adds compiler support for rust-lang/portable-simd#387 (comment)

r? `@workingjubilee`

cc `@RalfJung` is this kind of nondeterminism a problem for miri/opsem?
  • Loading branch information
matthiaskrgr authored Dec 3, 2024
2 parents 7c8599b + d6bf793 commit a3a4245
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/intrinsic/simd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>(
sym::simd_flog => "log",
sym::simd_floor => "floor",
sym::simd_fma => "fma",
sym::simd_relaxed_fma => "fma", // FIXME: this should relax to non-fused multiply-add when necessary
sym::simd_fpowi => "__builtin_powi",
sym::simd_fpow => "pow",
sym::simd_fsin => "sin",
Expand Down

0 comments on commit a3a4245

Please sign in to comment.