Searched refs:rotateRightLong (Results 1 – 1 of 1) sorted by relevance
/art/test/567-checker-builder-intrinsics/src/ |
D | TestRotate.java | 150 private static long rotateRightLong(long value, int distance) { in rotateRightLong() method in TestRotate 454 expectEqualsLong(0x8000000000000000L, rotateRightLong(0x8000000000000000L, 0)); in testRotateRightLong() 455 expectEqualsLong(0x4000000000000000L, rotateRightLong(0x8000000000000000L, 1)); in testRotateRightLong() 456 expectEqualsLong(0x0000000000000001L, rotateRightLong(0x8000000000000000L, 63)); in testRotateRightLong() 457 expectEqualsLong(0x8000000000000000L, rotateRightLong(0x8000000000000000L, 64)); // overshoot in testRotateRightLong() 458 expectEqualsLong(0xC000000000000000L, rotateRightLong(0x8000000000000001L, 1)); in testRotateRightLong() 459 expectEqualsLong(0x6000000000000000L, rotateRightLong(0x8000000000000001L, 2)); in testRotateRightLong() 460 expectEqualsLong(0x0123456789ABCDEFL, rotateRightLong(0x123456789ABCDEF0L, 4)); in testRotateRightLong() 461 expectEqualsLong(0xF0123456789ABCDEL, rotateRightLong(0x123456789ABCDEF0L, 8)); in testRotateRightLong() 464 expectEqualsLong(0x0000000000000000L, rotateRightLong(0x0000000000000000L, i)); in testRotateRightLong() [all …]
|