()
| 123 | #[test] |
| 124 | fn rv64i_branches() { |
| 125 | assert_enc!(Beq::new(5, 6, 4), 0x00628263u32); |
| 126 | assert_enc!(Bne::new(5, 6, -4), 0xfe629ee3u32); |
| 127 | assert_enc!(Blt::new(5, 6, 4094), 0x7e62cfe3u32); |
| 128 | assert_enc!(Bge::new(5, 6, -4096), 0x8062d063u32); |
| 129 | } |
| 130 | |
| 131 | #[test] |
| 132 | fn rv64i_jump() { |
| 133 | assert_enc!(Jal::new(1, 4), 0x004000efu32); |
nothing calls this directly
no outgoing calls
no test coverage detected