Skip to content

Commit

Permalink
Merge pull request #13 from 6293/test-shl
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky authored Jul 13, 2023
2 parents 9a6e145 + 51fcc8a commit f7e71b5
Show file tree
Hide file tree
Showing 2 changed files with 455 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -777,14 +777,14 @@ macro_rules! instr {
$crate::_reg_idx!($idx2),
))
};
(shr $reg1:ident[$idx1:literal], $reg2:ident[$idx2:literal]) => {
(shr $reg1:ident[$idx1:literal], $reg2:ident[$idx2:literal]) => {{
Instr::Bitwise(BitwiseOp::ShrR(
$crate::_reg_tya2!(Reg, $reg1),
$crate::_reg_idx!($idx1),
$crate::_reg_ty!(Reg, $reg2),
$crate::_reg_idx!($idx2),
))
};
}};
(scl $reg1:ident[$idx1:literal], $reg2:ident[$idx2:literal]) => {
Instr::Bitwise(BitwiseOp::Scl(
$crate::_reg_tya2!(Reg, $reg1),
Expand Down
Loading

0 comments on commit f7e71b5

Please sign in to comment.