diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-03 07:48:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-03 07:48:33 +0100 |
| commit | 9709334061d7af36e696f1f020208d179b691419 (patch) | |
| tree | cb6bfc62cc970f941cf442c3039f3eac44da5330 /compiler/rustc_codegen_gcc | |
| parent | 8aa5853b588a26cb04ddb754c80a16d7b95d1365 (diff) | |
| parent | 402f6a3530e23b5c822bae0ba10ea1bb4bd55047 (diff) | |
| download | rust-9709334061d7af36e696f1f020208d179b691419.tar.gz rust-9709334061d7af36e696f1f020208d179b691419.zip | |
Rollup merge of #133395 - calebzulawski:simd_relaxed_fma, r=workingjubilee
Add simd_relaxed_fma intrinsic Adds compiler support for https://github.com/rust-lang/portable-simd/issues/387#issuecomment-2337169786 r? `@workingjubilee` cc `@RalfJung` is this kind of nondeterminism a problem for miri/opsem?
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/src/intrinsic/simd.rs b/compiler/rustc_codegen_gcc/src/intrinsic/simd.rs index 604678a9af4..79d1a06dd46 100644 --- a/compiler/rustc_codegen_gcc/src/intrinsic/simd.rs +++ b/compiler/rustc_codegen_gcc/src/intrinsic/simd.rs @@ -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", |
