()
| 80 | |
| 81 | #[test] |
| 82 | fn xconst8() { |
| 83 | for (expected, imm) in [(42u64, 42i8), (u64::MAX, -1i8)] { |
| 84 | unsafe { |
| 85 | assert_one( |
| 86 | [(x(0), 0x1234567812345678u64)], |
| 87 | Xconst8 { dst: x(0), imm }, |
| 88 | x(0), |
| 89 | expected, |
| 90 | ); |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | #[test] |
| 96 | fn xconst16() { |
no test coverage detected