Lines Matching refs:r0
36 movs r1, r0, lsl #1 /* remove bit sign */
39 mov r2, r0, lsl #8 /* mantissa<<8 */
41 mov r0, r2, lsr r1 /* scale to 16.16 */
42 rsbcs r0, r0, #0 /* negate if needed */
51 mov r1, r0, lsl #1 /* remove bit sign */
55 mov r2, r0, lsl #8 /* mantissa<<8 */
57 mov r3, r0
58 movs r0, r2, lsr r1 /* scale to 16.16 */
59 addcs r0, r0, #1 /* round-to-nearest */
61 rsbne r0, r0, #0 /* negate if needed */
64 0: ands r0, r0, #0x80000000 /* keep only the sign bit */
65 moveq r0, #0x7fffffff /* positive, maximum value */