()
| 417 | fn pseudo_not() { |
| 418 | assert_pseudo_expands_to!( |
| 419 | PseudoInstruction::Not { rd: 10, rs: 11 }, |
| 420 | vec![RealInstruction::Xori(Xori::new(10, 11, -1))] |
| 421 | ); |
| 422 | } |
| 423 | |
| 424 | #[test] |
| 425 | fn pseudo_li_small() { |
| 426 | assert_pseudo_expands_to!( |
| 427 | PseudoInstruction::Li { rd: 5, imm: 42 }, |
nothing calls this directly
no outgoing calls
no test coverage detected