Searched refs:rotateRightShort (Results 1 – 1 of 1) sorted by relevance
/art/test/567-checker-builder-intrinsics/src/ |
D | TestRotate.java | 111 private static int rotateRightShort(short value, int distance) { in rotateRightShort() method in TestRotate 401 expectEqualsInt(0xFFFF8000, rotateRightShort((short)0x8000, 0)); in testRotateRightShort() 402 expectEqualsInt(0x7FFFC000, rotateRightShort((short)0x8000, 1)); in testRotateRightShort() 403 expectEqualsInt(0xFFFF0001, rotateRightShort((short)0x8000, 31)); in testRotateRightShort() 404 expectEqualsInt(0xFFFF8000, rotateRightShort((short)0x8000, 32)); // overshoot in testRotateRightShort() 405 expectEqualsInt(0xFFFFC000, rotateRightShort((short)0x8001, 1)); in testRotateRightShort() 406 expectEqualsInt(0x7FFFE000, rotateRightShort((short)0x8001, 2)); in testRotateRightShort() 407 expectEqualsInt(0x40000123, rotateRightShort((short)0x1234, 4)); in testRotateRightShort() 408 expectEqualsInt(0xBCFFFF9A, rotateRightShort((short)0x9ABC, 8)); in testRotateRightShort() 411 expectEqualsInt(0x00000000, rotateRightShort((short)0x0000, i)); in testRotateRightShort() [all …]
|