Searched refs:rotateLeftIntWithByteDistance (Results 1 – 1 of 1) sorted by relevance
/art/test/567-checker-builder-intrinsics/src/ |
D | TestRotate.java | 165 private static int rotateLeftIntWithByteDistance(int value, byte distance) { in rotateLeftIntWithByteDistance() method in TestRotate 474 expectEqualsInt(0x00000001, rotateLeftIntWithByteDistance(0x00000001, (byte)0)); in testRotateLeftIntWithByteDistance() 475 expectEqualsInt(0x00000002, rotateLeftIntWithByteDistance(0x00000001, (byte)1)); in testRotateLeftIntWithByteDistance() 476 expectEqualsInt(0x80000000, rotateLeftIntWithByteDistance(0x00000001, (byte)31)); in testRotateLeftIntWithByteDistance() 477 expectEqualsInt(0x00000001, rotateLeftIntWithByteDistance(0x00000001, (byte)32)); // overshoot in testRotateLeftIntWithByteDistance() 478 expectEqualsInt(0x00000003, rotateLeftIntWithByteDistance(0x80000001, (byte)1)); in testRotateLeftIntWithByteDistance() 479 expectEqualsInt(0x00000006, rotateLeftIntWithByteDistance(0x80000001, (byte)2)); in testRotateLeftIntWithByteDistance() 480 expectEqualsInt(0x23456781, rotateLeftIntWithByteDistance(0x12345678, (byte)4)); in testRotateLeftIntWithByteDistance() 481 expectEqualsInt(0xBCDEF09A, rotateLeftIntWithByteDistance(0x9ABCDEF0, (byte)8)); in testRotateLeftIntWithByteDistance() 484 expectEqualsInt(0x00000000, rotateLeftIntWithByteDistance(0x00000000, i)); in testRotateLeftIntWithByteDistance() [all …]
|