Skip to content

Commit a3a4245

Browse files
authored
Rollup merge of #133395 - calebzulawski:simd_relaxed_fma, r=workingjubilee
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?
2 parents 7c8599b + d6bf793 commit a3a4245

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/intrinsic/simd.rs

+1
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,7 @@ pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>(
772772
sym::simd_flog => "log",
773773
sym::simd_floor => "floor",
774774
sym::simd_fma => "fma",
775+
sym::simd_relaxed_fma => "fma", // FIXME: this should relax to non-fused multiply-add when necessary
775776
sym::simd_fpowi => "__builtin_powi",
776777
sym::simd_fpow => "pow",
777778
sym::simd_fsin => "sin",

0 commit comments

Comments
 (0)