Convert vld1_lane_* and other methods to const generics (#1034)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -9,6 +9,13 @@ impl<const IMM: i32, const BITS: i32> ValidateConstImm<IMM, BITS> {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused)]
|
||||||
|
macro_rules! static_assert_imm1 {
|
||||||
|
($imm:ident) => {
|
||||||
|
let _ = $crate::core_arch::macros::ValidateConstImm::<$imm, 1>::VALID;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
#[allow(unused)]
|
#[allow(unused)]
|
||||||
macro_rules! static_assert_imm2 {
|
macro_rules! static_assert_imm2 {
|
||||||
($imm:ident) => {
|
($imm:ident) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user