()
| 508 | RealInstruction::Auipc(Auipc::new(1, 0)), |
| 509 | RealInstruction::Jalr(Jalr::new(1, 1, 0)), |
| 510 | ] |
| 511 | ); |
| 512 | } |
| 513 | |
| 514 | #[test] |
| 515 | fn pseudo_fp_mv_neg_abs() { |
| 516 | assert_pseudo_expands_to!( |
| 517 | PseudoInstruction::FmvS { fd: 10, fs: 11 }, |
| 518 | vec![RealInstruction::Fsgnj(Fsgnj::new(10, 11, 11))] |
| 519 | ); |
| 520 | assert_pseudo_expands_to!( |
| 521 | PseudoInstruction::FnegS { fd: 10, fs: 11 }, |
| 522 | vec![RealInstruction::Fsgnjn(Fsgnjn::new(10, 11, 11))] |
| 523 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected