Searched refs:rotateRightIntWithByteDistance (Results 1 – 1 of 1) sorted by relevance
/aosp_15_r20/art/test/567-checker-builder-intrinsics/src/ |
H A D | TestRotate.java | 268 private static int rotateRightIntWithByteDistance(int value, byte distance) { in rotateRightIntWithByteDistance() method in TestRotate 695 expectEqualsInt(0x80000000, rotateRightIntWithByteDistance(0x80000000, (byte)0)); in testRotateRightIntWithByteDistance() 696 expectEqualsInt(0x40000000, rotateRightIntWithByteDistance(0x80000000, (byte)1)); in testRotateRightIntWithByteDistance() 697 expectEqualsInt(0x00000001, rotateRightIntWithByteDistance(0x80000000, (byte)31)); in testRotateRightIntWithByteDistance() 699 rotateRightIntWithByteDistance(0x80000000, (byte)32)); // overshoot in testRotateRightIntWithByteDistance() 700 expectEqualsInt(0xC0000000, rotateRightIntWithByteDistance(0x80000001, (byte)1)); in testRotateRightIntWithByteDistance() 701 expectEqualsInt(0x60000000, rotateRightIntWithByteDistance(0x80000001, (byte)2)); in testRotateRightIntWithByteDistance() 702 expectEqualsInt(0x81234567, rotateRightIntWithByteDistance(0x12345678, (byte)4)); in testRotateRightIntWithByteDistance() 703 expectEqualsInt(0xF09ABCDE, rotateRightIntWithByteDistance(0x9ABCDEF0, (byte)8)); in testRotateRightIntWithByteDistance() 706 expectEqualsInt(0x00000000, rotateRightIntWithByteDistance(0x00000000, i)); in testRotateRightIntWithByteDistance() [all …]
|