Home
last modified time | relevance | path

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

/art/test/567-checker-builder-intrinsics/src/
DTestRotate.java71 private static int rotateLeftInt(int value, int distance) { in rotateLeftInt() method in TestRotate
293 expectEqualsInt(0x00000001, rotateLeftInt(0x00000001, 0)); in testRotateLeftInt()
294 expectEqualsInt(0x00000002, rotateLeftInt(0x00000001, 1)); in testRotateLeftInt()
295 expectEqualsInt(0x80000000, rotateLeftInt(0x00000001, 31)); in testRotateLeftInt()
296 expectEqualsInt(0x00000001, rotateLeftInt(0x00000001, 32)); // overshoot in testRotateLeftInt()
297 expectEqualsInt(0x00000003, rotateLeftInt(0x80000001, 1)); in testRotateLeftInt()
298 expectEqualsInt(0x00000006, rotateLeftInt(0x80000001, 2)); in testRotateLeftInt()
299 expectEqualsInt(0x23456781, rotateLeftInt(0x12345678, 4)); in testRotateLeftInt()
300 expectEqualsInt(0xBCDEF09A, rotateLeftInt(0x9ABCDEF0, 8)); in testRotateLeftInt()
303 expectEqualsInt(0x00000000, rotateLeftInt(0x00000000, i)); in testRotateLeftInt()
[all …]