about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-02-23 18:26:39 +0100
committerRalf Jung <post@ralfj.de>2024-02-25 08:14:52 +0100
commitcc3df0af7ba25a9a7bc82dac52e4b0fbb9d9713a (patch)
treea9b54681b58740a5c762c41f56d42a1f68e0efcb /compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs
parente9f95949138125bb1b98ed213a41b9aa825bacf5 (diff)
downloadrust-cc3df0af7ba25a9a7bc82dac52e4b0fbb9d9713a.tar.gz
rust-cc3df0af7ba25a9a7bc82dac52e4b0fbb9d9713a.zip
remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsics
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs b/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs
index 80a2776ca1e..eebd77083ec 100644
--- a/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs
+++ b/compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs
@@ -4,14 +4,14 @@
 
 // Test that the simd_f{min,max} intrinsics produce the correct results.
 
-#![feature(repr_simd, platform_intrinsics)]
+#![feature(repr_simd, intrinsics)]
 #![allow(non_camel_case_types)]
 
 #[repr(simd)]
 #[derive(Copy, Clone, PartialEq, Debug)]
 struct f32x4(pub f32, pub f32, pub f32, pub f32);
 
-extern "platform-intrinsic" {
+extern "intrinsic" {
     fn simd_fmin<T>(x: T, y: T) -> T;
     fn simd_fmax<T>(x: T, y: T) -> T;
 }