Lines Matching refs:bit
39 # Set indicated bit in bit string.
40 # Note: being big-endian, bit 0 is 0x80000000.
45 rlwinm r9,r3,0,29,31 /* Get bit within byte */
46 li r6,0x80 /* Start with bit 0 */
48 srw r6,r6,r9 /* Get the right bit (fits right into the load cycle) */
49 or r5,r5,r6 /* Turn on the right bit */
56 # Clear indicated bit in bit string.
57 # Note: being big-endian, bit 0 is 0x80000000.
62 rlwinm r9,r3,0,29,31 /* Get bit within byte */
63 li r6,0x80 /* Start with bit 0 */
65 srw r6,r6,r9 /* Get the right bit (fits right into the load cycle) */
66 andc r5,r5,r6 /* Turn off the right bit */
72 # * Find first bit set in bit string.
77 # Returns the bit index of the first bit set (starting from 0)
85 cntlzw ARG0, r0 /* Free inst... find the set bit... */
86 bnelr+ /* Return if bit in first word */
93 add ARG0, ARG0, r12 /* ARG0 keeps bit count */
100 * Test indicated bit in bit string.
101 * Note: being big-endian, bit 0 is 0x80000000.
107 rlwinm r9,r3,0,29,31 /* Get bit within byte */
110 rlwnm r3,r5,r9,31,31 /* Pass the bit back */