Home
last modified time | relevance | path

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

/art/test/567-checker-builder-intrinsics/src/
DTestRotate.java29 private static int rotateLeftByte(byte value, int distance) { in rotateLeftByte() method in TestRotate
239 expectEqualsInt(0x00000001, rotateLeftByte((byte)0x01, 0)); in testRotateLeftByte()
240 expectEqualsInt(0x00000002, rotateLeftByte((byte)0x01, 1)); in testRotateLeftByte()
241 expectEqualsInt(0x80000000, rotateLeftByte((byte)0x01, 31)); in testRotateLeftByte()
242 expectEqualsInt(0x00000001, rotateLeftByte((byte)0x01, 32)); // overshoot in testRotateLeftByte()
243 expectEqualsInt(0xFFFFFF03, rotateLeftByte((byte)0x81, 1)); in testRotateLeftByte()
244 expectEqualsInt(0xFFFFFE07, rotateLeftByte((byte)0x81, 2)); in testRotateLeftByte()
245 expectEqualsInt(0x00000120, rotateLeftByte((byte)0x12, 4)); in testRotateLeftByte()
246 expectEqualsInt(0xFFFF9AFF, rotateLeftByte((byte)0x9A, 8)); in testRotateLeftByte()
249 expectEqualsInt(0x00000000, rotateLeftByte((byte)0x0000, i)); in testRotateLeftByte()
[all …]