Convert vld1_lane_* and other methods to const generics (#1034)
This commit is contained in:
parent
4f8872b617
commit
fc407fb98b
2 changed files with 225 additions and 306 deletions
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)]
|
||||
macro_rules! static_assert_imm2 {
|
||||
($imm:ident) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue