We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a8c044 commit 471e667Copy full SHA for 471e667
crates/core_arch/src/mips/msa/macros.rs
@@ -1,5 +1,11 @@
1
//! Utility macros.
2
3
+macro_rules! static_assert_imm_s10 {
4
+ ($imm:ident) => {
5
+ let _ = $crate::core_arch::macros::ValidateConstImm::<$imm, -512, 511>::VALID;
6
+ };
7
+}
8
+
9
//immediate value: -4096:4088
10
macro_rules! constify_imm_s13 {
11
($imm_s13:expr, $expand:ident) => {
0 commit comments