()
| 94 | |
| 95 | #[test] |
| 96 | fn xconst16() { |
| 97 | for (expected, imm) in [(42u64, 42i16), (u64::MAX, -1i16)] { |
| 98 | unsafe { |
| 99 | assert_one( |
| 100 | [(x(0), 0x1234567812345678u64)], |
| 101 | Xconst16 { dst: x(0), imm }, |
| 102 | x(0), |
| 103 | expected, |
| 104 | ); |
| 105 | } |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | #[test] |
| 110 | fn xconst32() { |
no test coverage detected