()
| 85 | #[test] |
| 86 | fn rv64i_shift_imm() { |
| 87 | assert_enc!(Slli::new(10, 11, 5), 0x00559513u32); |
| 88 | assert_enc!(Srli::new(10, 11, 5), 0x0055d513u32); |
| 89 | assert_enc!(Srai::new(10, 11, 5), 0x4055d513u32); |
| 90 | assert_enc!(Slli::new(10, 11, 63), 0x03f59513u32); |
| 91 | } |
| 92 | |
| 93 | #[test] |
| 94 | fn rv64i_w_shift_imm() { |
| 95 | assert_enc!(Slliw::new(10, 11, 4), 0x0045951bu32); |
nothing calls this directly
no outgoing calls
no test coverage detected