()
| 179 | |
| 180 | #[test] |
| 181 | fn xeq64() { |
| 182 | for (expected, a, b) in [ |
| 183 | (1u64, 0u64, 0u64), |
| 184 | (0, 0, 1), |
| 185 | (1, u64::MAX, u64::MAX), |
| 186 | (0, u64::MAX, u64::MAX - 1), |
| 187 | ] { |
| 188 | unsafe { |
| 189 | assert_one( |
| 190 | [(x(0), 0x1234567812345678), (x(1), a), (x(2), b)], |
| 191 | Xeq64 { |
| 192 | operands: BinaryOperands { |
| 193 | dst: x(0), |
| 194 | src1: x(1), |
| 195 | src2: x(2), |
| 196 | }, |
| 197 | }, |
| 198 | x(0), |
| 199 | expected | 0x1234567800000000, |
| 200 | ); |
| 201 | } |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | #[test] |
| 206 | fn xneq64() { |
nothing calls this directly
no test coverage detected