Searched refs:rotateLeftShort (Results 1 – 1 of 1) sorted by relevance
/art/test/567-checker-builder-intrinsics/src/ |
D | TestRotate.java | 43 private static int rotateLeftShort(short value, int distance) { in rotateLeftShort() method in TestRotate 257 expectEqualsInt(0x00000001, rotateLeftShort((short)0x0001, 0)); in testRotateLeftShort() 258 expectEqualsInt(0x00000002, rotateLeftShort((short)0x0001, 1)); in testRotateLeftShort() 259 expectEqualsInt(0x80000000, rotateLeftShort((short)0x0001, 31)); in testRotateLeftShort() 260 expectEqualsInt(0x00000001, rotateLeftShort((short)0x0001, 32)); // overshoot in testRotateLeftShort() 261 expectEqualsInt(0xFFFF0003, rotateLeftShort((short)0x8001, 1)); in testRotateLeftShort() 262 expectEqualsInt(0xFFFE0007, rotateLeftShort((short)0x8001, 2)); in testRotateLeftShort() 263 expectEqualsInt(0x00012340, rotateLeftShort((short)0x1234, 4)); in testRotateLeftShort() 264 expectEqualsInt(0xFF9ABCFF, rotateLeftShort((short)0x9ABC, 8)); in testRotateLeftShort() 267 expectEqualsInt(0x00000000, rotateLeftShort((short)0x0000, i)); in testRotateLeftShort() [all …]
|