()
| 322 | |
| 323 | #[test] |
| 324 | fn xulteq64() { |
| 325 | for (expected, a, b) in [ |
| 326 | (1u64, 0u64, 0u64), |
| 327 | (0, 1, 0), |
| 328 | (1, 0, 1), |
| 329 | (1, u64::MAX, u64::MAX), |
| 330 | (0, u64::MAX, u64::MAX - 1), |
| 331 | (1, u64::MAX - 1, u64::MAX), |
| 332 | (0, i64::MIN as u64, 0), |
| 333 | (1, 0, i64::MIN as u64), |
| 334 | ] { |
| 335 | unsafe { |
| 336 | assert_one( |
| 337 | [(x(0), 0x1234567812345678), (x(1), a), (x(2), b)], |
| 338 | Xulteq64 { |
| 339 | operands: BinaryOperands { |
| 340 | dst: x(0), |
| 341 | src1: x(1), |
| 342 | src2: x(2), |
| 343 | }, |
| 344 | }, |
| 345 | x(0), |
| 346 | expected | 0x1234567800000000, |
| 347 | ); |
| 348 | } |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | #[test] |
| 353 | fn xeq32() { |
nothing calls this directly
no test coverage detected