Searched refs:rotateRightInt (Results 1 – 1 of 1) sorted by relevance
/aosp12/art/test/567-checker-builder-intrinsics/src/ |
H A D | TestRotate.java | 137 private static int rotateRightInt(int value, int distance) { in rotateRightInt() method in TestRotate 436 expectEqualsInt(0x80000000, rotateRightInt(0x80000000, 0)); in testRotateRightInt() 437 expectEqualsInt(0x40000000, rotateRightInt(0x80000000, 1)); in testRotateRightInt() 438 expectEqualsInt(0x00000001, rotateRightInt(0x80000000, 31)); in testRotateRightInt() 440 expectEqualsInt(0xC0000000, rotateRightInt(0x80000001, 1)); in testRotateRightInt() 441 expectEqualsInt(0x60000000, rotateRightInt(0x80000001, 2)); in testRotateRightInt() 442 expectEqualsInt(0x81234567, rotateRightInt(0x12345678, 4)); in testRotateRightInt() 443 expectEqualsInt(0xF09ABCDE, rotateRightInt(0x9ABCDEF0, 8)); in testRotateRightInt() 446 expectEqualsInt(0x00000000, rotateRightInt(0x00000000, i)); in testRotateRightInt() 447 expectEqualsInt(0xFFFFFFFF, rotateRightInt(0xFFFFFFFF, i)); in testRotateRightInt() [all …]
|