()
| 261 | |
| 262 | #[test] |
| 263 | fn xslteq64() { |
| 264 | for (expected, a, b) in [ |
| 265 | (1u64, 0u64, 0u64), |
| 266 | (0, 1, 0), |
| 267 | (1, 0, 1), |
| 268 | (0, 0, -1 as _), |
| 269 | (1, -1 as _, 0), |
| 270 | (1, i64::MAX as u64, i64::MAX as u64), |
| 271 | (0, i64::MAX as u64, i64::MAX as u64 - 1), |
| 272 | (1, i64::MAX as u64 - 1, i64::MAX as u64), |
| 273 | (1, i64::MIN as u64, i64::MIN as u64), |
| 274 | (0, i64::MIN as u64 + 1, i64::MIN as u64), |
| 275 | (1, i64::MIN as u64, i64::MIN as u64 + 1), |
| 276 | ] { |
| 277 | unsafe { |
| 278 | assert_one( |
| 279 | [(x(0), 0x1234567812345678), (x(1), a), (x(2), b)], |
| 280 | Xslteq64 { |
| 281 | operands: BinaryOperands { |
| 282 | dst: x(0), |
| 283 | src1: x(1), |
| 284 | src2: x(2), |
| 285 | }, |
| 286 | }, |
| 287 | x(0), |
| 288 | expected | 0x1234567800000000, |
| 289 | ); |
| 290 | } |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | #[test] |
| 295 | fn xult64() { |
nothing calls this directly
no test coverage detected