fixed failing tests
TODO: add comprehensive testing to everything
This commit is contained in:
@@ -464,7 +464,7 @@ fn test_shift_left_with_shamt() {
|
|||||||
let shl_instr = Instruction::ShiftLeft(RTypeArgs::new(
|
let shl_instr = Instruction::ShiftLeft(RTypeArgs::new(
|
||||||
Some(Register::Rg1),
|
Some(Register::Rg1),
|
||||||
Some(Register::Zero),
|
Some(Register::Zero),
|
||||||
None,
|
Some(Register::Rg1),
|
||||||
Some(2),
|
Some(2),
|
||||||
));
|
));
|
||||||
|
|
||||||
@@ -485,7 +485,7 @@ fn test_shift_right_with_shamt() {
|
|||||||
let shr_instr = Instruction::ShiftRight(RTypeArgs::new(
|
let shr_instr = Instruction::ShiftRight(RTypeArgs::new(
|
||||||
Some(Register::Rg1),
|
Some(Register::Rg1),
|
||||||
Some(Register::Zero),
|
Some(Register::Zero),
|
||||||
None,
|
Some(Register::Rg1),
|
||||||
Some(2),
|
Some(2),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user