Skip to content

Commit

Permalink
Remove remaining uses of #[rustc_args_required_const] (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu authored Apr 11, 2021
1 parent 92ca389 commit 09d2a2c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crates/core_arch/src/simd_llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,12 @@ extern "platform-intrinsic" {
pub fn simd_gt<T, U>(x: T, y: T) -> U;
pub fn simd_ge<T, U>(x: T, y: T) -> U;

#[rustc_args_required_const(2)]
pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
#[rustc_args_required_const(2)]
pub fn simd_shuffle4<T, U>(x: T, y: T, idx: [u32; 4]) -> U;
#[rustc_args_required_const(2)]
pub fn simd_shuffle8<T, U>(x: T, y: T, idx: [u32; 8]) -> U;
#[rustc_args_required_const(2)]
pub fn simd_shuffle16<T, U>(x: T, y: T, idx: [u32; 16]) -> U;
#[rustc_args_required_const(2)]
pub fn simd_shuffle32<T, U>(x: T, y: T, idx: [u32; 32]) -> U;
#[rustc_args_required_const(2)]
pub fn simd_shuffle64<T, U>(x: T, y: T, idx: [u32; 64]) -> U;
#[rustc_args_required_const(2)]
pub fn simd_shuffle128<T, U>(x: T, y: T, idx: [u32; 128]) -> U;

#[rustc_const_unstable(feature = "const_simd_insert", issue = "none")]
Expand Down

0 comments on commit 09d2a2c

Please sign in to comment.