about summary refs log tree commit diff
path: root/tests/codegen/simd/simd_arith_offset.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/simd/simd_arith_offset.rs')
-rw-r--r--tests/codegen/simd/simd_arith_offset.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/codegen/simd/simd_arith_offset.rs b/tests/codegen/simd/simd_arith_offset.rs
index e14fce1d418..b8af6fce332 100644
--- a/tests/codegen/simd/simd_arith_offset.rs
+++ b/tests/codegen/simd/simd_arith_offset.rs
@@ -3,11 +3,9 @@
 //
 
 #![crate_type = "lib"]
-#![feature(repr_simd, intrinsics)]
+#![feature(repr_simd, core_intrinsics)]
 
-extern "rust-intrinsic" {
-    pub(crate) fn simd_arith_offset<T, U>(ptrs: T, offsets: U) -> T;
-}
+use std::intrinsics::simd::simd_arith_offset;
 
 /// A vector of *const T.
 #[derive(Debug, Copy, Clone)]