1 /* 2 * Long integer shift. This is different from the generic 32/64-bit 3 * binary operations because vAA/vBB are 64-bit but vCC (the shift 4 * distance) is 32-bit. Also, Dalvik requires us to ignore all but the low 5 * 6 bits. 6 */ 7 /* shl-long vAA, vBB, vCC */ 8 and r2, r2, #63 @ r2<- r2 & 0x3f 9 mov r1, r1, asl r2 @ r1<- r1 << r2 10 rsb r3, r2, #32 @ r3<- 32 - r2 11 orr r1, r1, r0, lsr r3 @ r1<- r1 | (r0 << (32-r2)) 12 subs ip, r2, #32 @ ip<- r2 - 32 13 movpl r1, r0, asl ip @ if r2 >= 32, r1<- r0 << (r2-32) 14 mov r0, r0, asl r2 @ r0<- r0 << r2 15 bx lr 16