diff options
| author | Folkert de Vries <folkert@folkertdev.nl> | 2025-02-24 17:26:56 +0100 |
|---|---|---|
| committer | Folkert de Vries <folkert@folkertdev.nl> | 2025-02-27 12:22:59 +0100 |
| commit | d8a067b9310c4a4ca561f7b303cf069b1ff2c71a (patch) | |
| tree | f281475ce16488cf6b1e1e79bba9f3d1d5ed2ad2 /tests/codegen/simd/simd_arith_offset.rs | |
| parent | 96cfc75584359ae7ad11cc45968059f29e7b44b7 (diff) | |
| download | rust-d8a067b9310c4a4ca561f7b303cf069b1ff2c71a.tar.gz rust-d8a067b9310c4a4ca561f7b303cf069b1ff2c71a.zip | |
remove most `simd_` intrinsic declaration in tests
instead, we can just import the intrinsics from core
Diffstat (limited to 'tests/codegen/simd/simd_arith_offset.rs')
| -rw-r--r-- | tests/codegen/simd/simd_arith_offset.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/codegen/simd/simd_arith_offset.rs b/tests/codegen/simd/simd_arith_offset.rs index e14fce1d418..475ac37804f 100644 --- a/tests/codegen/simd/simd_arith_offset.rs +++ b/tests/codegen/simd/simd_arith_offset.rs @@ -5,9 +5,7 @@ #![crate_type = "lib"] #![feature(repr_simd, 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)] |
