Home
last modified time | relevance | path

Searched refs:rotateRightInt (Results 1 – 1 of 1) sorted by relevance

/art/test/567-checker-builder-intrinsics/src/
DTestRotate.java137 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()
439 expectEqualsInt(0x80000000, rotateRightInt(0x80000000, 32)); // overshoot 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()
[all …]