()
| 102 | #[test] |
| 103 | fn rv64i_loads() { |
| 104 | assert_enc!(Lb::new(5, 6, 0), 0x00030283u32); |
| 105 | assert_enc!(Lh::new(5, 6, 4), 0x00431283u32); |
| 106 | assert_enc!(Lw::new(5, 6, -8), 0xff832283u32); |
| 107 | assert_enc!(Ld::new(5, 6, 2047), 0x7ff33283u32); |
| 108 | assert_enc!(Lbu::new(5, 6, 128), 0x08034283u32); |
| 109 | assert_enc!(Lhu::new(5, 6, 128), 0x08035283u32); |
| 110 | assert_enc!(Lwu::new(5, 6, 128), 0x08036283u32); |
| 111 | } |
| 112 | |
| 113 | #[test] |
| 114 | fn rv64i_stores() { |
| 115 | assert_enc!(Sb::new(6, 5, 0), 0x00530023u32); |
nothing calls this directly
no outgoing calls
no test coverage detected