()
| 108 | |
| 109 | #[test] |
| 110 | fn xconst32() { |
| 111 | for (expected, imm) in [(42u64, 42i32), (u64::MAX, -1i32)] { |
| 112 | unsafe { |
| 113 | assert_one( |
| 114 | [(x(0), 0x1234567812345678u64)], |
| 115 | Xconst32 { dst: x(0), imm }, |
| 116 | x(0), |
| 117 | expected, |
| 118 | ); |
| 119 | } |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | #[test] |
| 124 | fn xconst64() { |
no test coverage detected