Searched refs:rotateRightChar (Results 1 – 1 of 1) sorted by relevance
/art/test/567-checker-builder-intrinsics/src/ |
D | TestRotate.java | 124 private static int rotateRightChar(char value, int distance) { in rotateRightChar() method in TestRotate 419 expectEqualsInt(0x00008000, rotateRightChar((char)0x8000, 0)); in testRotateRightChar() 420 expectEqualsInt(0x00004000, rotateRightChar((char)0x8000, 1)); in testRotateRightChar() 421 expectEqualsInt(0x00010000, rotateRightChar((char)0x8000, 31)); in testRotateRightChar() 422 expectEqualsInt(0x00008000, rotateRightChar((char)0x8000, 32)); // overshoot in testRotateRightChar() 423 expectEqualsInt(0x80004000, rotateRightChar((char)0x8001, 1)); in testRotateRightChar() 424 expectEqualsInt(0x40002000, rotateRightChar((char)0x8001, 2)); in testRotateRightChar() 425 expectEqualsInt(0x40000123, rotateRightChar((char)0x1234, 4)); in testRotateRightChar() 426 expectEqualsInt(0xBC00009A, rotateRightChar((char)0x9ABC, 8)); in testRotateRightChar() 429 expectEqualsInt(0x00000000, rotateRightChar((char)0x0000, i)); in testRotateRightChar() [all …]
|