()
| 293 | |
| 294 | #[test] |
| 295 | fn xult64() { |
| 296 | for (expected, a, b) in [ |
| 297 | (0u64, 0u64, 0u64), |
| 298 | (0, 1, 0), |
| 299 | (1, 0, 1), |
| 300 | (0, u64::MAX, u64::MAX), |
| 301 | (0, u64::MAX, u64::MAX - 1), |
| 302 | (1, u64::MAX - 1, u64::MAX), |
| 303 | (0, i64::MIN as u64, 0), |
| 304 | (1, 0, i64::MIN as u64), |
| 305 | ] { |
| 306 | unsafe { |
| 307 | assert_one( |
| 308 | [(x(0), 0x1234567812345678), (x(1), a), (x(2), b)], |
| 309 | Xult64 { |
| 310 | operands: BinaryOperands { |
| 311 | dst: x(0), |
| 312 | src1: x(1), |
| 313 | src2: x(2), |
| 314 | }, |
| 315 | }, |
| 316 | x(0), |
| 317 | expected | 0x1234567800000000, |
| 318 | ); |
| 319 | } |
| 320 | } |
| 321 | } |
| 322 | |
| 323 | #[test] |
| 324 | fn xulteq64() { |
nothing calls this directly
no test coverage detected