()
| 159 | |
| 160 | #[test] |
| 161 | fn xadd64() { |
| 162 | for (expected, a, b) in [(42u64, 10u64, 32u64), (0, u64::MAX, 1)] { |
| 163 | unsafe { |
| 164 | assert_one( |
| 165 | [(x(0), 0x1234567812345678), (x(1), a), (x(2), b)], |
| 166 | Xadd64 { |
| 167 | operands: BinaryOperands { |
| 168 | dst: x(0), |
| 169 | src1: x(1), |
| 170 | src2: x(2), |
| 171 | }, |
| 172 | }, |
| 173 | x(0), |
| 174 | expected, |
| 175 | ); |
| 176 | } |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | #[test] |
| 181 | fn xeq64() { |
no test coverage detected