remove unused constify_imm x86 macro
This commit is contained in:
parent
93143cddb2
commit
ac2bf8c374
1 changed files with 0 additions and 12 deletions
|
|
@ -48,18 +48,6 @@ macro_rules! constify_imm3 {
|
|||
};
|
||||
}
|
||||
|
||||
macro_rules! constify_imm2 {
|
||||
($imm8:expr, $expand:ident) => {
|
||||
#[allow(overflowing_literals)]
|
||||
match ($imm8) & 0b11 {
|
||||
0 => $expand!(0),
|
||||
1 => $expand!(1),
|
||||
2 => $expand!(2),
|
||||
_ => $expand!(3),
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Constifies 5 bits along with an sae option without rounding control.
|
||||
// See: https://github.com/llvm/llvm-project/blob/bd50cf905fa7c0c7caa134301c6ca0658c81eeb1/clang/lib/Sema/SemaChecking.cpp#L3497
|
||||
#[allow(unused)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue