Lines Matching refs:bit
78 .macro BT reg1, reg2, bit
79 .if \bit > 31
82 .if \bit < 16
83 andi \reg1, \reg2, (1 << \bit)
85 andhi \reg1, \reg2, (1 << (\bit - 16))
97 .macro BTBZ reg1, reg2, bit, label
98 BT \reg1, \reg2, \bit
109 .macro BTBNZ reg1, reg2, bit, label
110 BT \reg1, \reg2, \bit
121 .macro BTC reg1, reg2, bit
122 .if \bit > 31
125 .if \bit < 16
126 andi \reg1, \reg2, (1 << \bit)
127 xori \reg2, \reg2, (1 << \bit)
129 andhi \reg1, \reg2, (1 << (\bit - 16))
130 xorhi \reg2, \reg2, (1 << (\bit - 16))
142 .macro BTS reg1, reg2, bit
143 .if \bit > 31
146 .if \bit < 16
147 andi \reg1, \reg2, (1 << \bit)
148 ori \reg2, \reg2, (1 << \bit)
150 andhi \reg1, \reg2, (1 << (\bit - 16))
151 orhi \reg2, \reg2, (1 << (\bit - 16))
163 .macro BTR reg1, reg2, bit
164 .if \bit > 31
167 .if \bit < 16
168 andi \reg1, \reg2, (1 << \bit)
169 andi \reg2, \reg2, %lo(~(1 << \bit))
171 andhi \reg1, \reg2, (1 << (\bit - 16))
172 andhi \reg2, \reg2, %lo(~(1 << (\bit - 16)))
185 .macro BTCBZ reg1, reg2, bit, label
186 BTC \reg1, \reg2, \bit
198 .macro BTCBNZ reg1, reg2, bit, label
199 BTC \reg1, \reg2, \bit
211 .macro BTSBZ reg1, reg2, bit, label
212 BTS \reg1, \reg2, \bit
224 .macro BTSBNZ reg1, reg2, bit, label
225 BTS \reg1, \reg2, \bit
237 .macro BTRBZ reg1, reg2, bit, label
238 BTR \reg1, \reg2, \bit
250 .macro BTRBNZ reg1, reg2, bit, label
251 BTR \reg1, \reg2, \bit