Home
last modified time | relevance | path

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

/art/test/567-checker-builder-intrinsics/src/
DTestRotate.java178 private static int rotateRightIntWithByteDistance(int value, byte distance) { in rotateRightIntWithByteDistance() method in TestRotate
493 expectEqualsInt(0x80000000, rotateRightIntWithByteDistance(0x80000000, (byte)0)); in testRotateRightIntWithByteDistance()
494 expectEqualsInt(0x40000000, rotateRightIntWithByteDistance(0x80000000, (byte)1)); in testRotateRightIntWithByteDistance()
495 expectEqualsInt(0x00000001, rotateRightIntWithByteDistance(0x80000000, (byte)31)); in testRotateRightIntWithByteDistance()
496 expectEqualsInt(0x80000000, rotateRightIntWithByteDistance(0x80000000, (byte)32)); // overshoot in testRotateRightIntWithByteDistance()
497 expectEqualsInt(0xC0000000, rotateRightIntWithByteDistance(0x80000001, (byte)1)); in testRotateRightIntWithByteDistance()
498 expectEqualsInt(0x60000000, rotateRightIntWithByteDistance(0x80000001, (byte)2)); in testRotateRightIntWithByteDistance()
499 expectEqualsInt(0x81234567, rotateRightIntWithByteDistance(0x12345678, (byte)4)); in testRotateRightIntWithByteDistance()
500 expectEqualsInt(0xF09ABCDE, rotateRightIntWithByteDistance(0x9ABCDEF0, (byte)8)); in testRotateRightIntWithByteDistance()
503 expectEqualsInt(0x00000000, rotateRightIntWithByteDistance(0x00000000, i)); in testRotateRightIntWithByteDistance()
[all …]