Lines Matching defs:_val
144 .macro mov_imm _reg, _val
145 .if ((\_val) & 0xffff0000) == 0
146 mov \_reg, #(\_val)
148 movw \_reg, #((\_val) & 0xffff)
149 movt \_reg, #((\_val) >> 16)
185 * Helper macro to OR the bottom 32 bits of `_val` into `_reg_l`
186 * and the top 32 bits of `_val` into `_reg_h`. If either the bottom
187 * or top word of `_val` is zero, the corresponding OR operation
190 .macro orr64_imm _reg_l, _reg_h, _val
191 .if (\_val >> 32)
192 orr \_reg_h, \_reg_h, #(\_val >> 32)
194 .if (\_val & 0xffffffff)
195 orr \_reg_l, \_reg_l, #(\_val & 0xffffffff)
201 * `_reg_h` given a 64 bit immediate `_val`. The set bits
202 * in the bottom word of `_val` dictate which bits from
204 * the top word of `_val` dictate which bits from `_reg_h`
206 * `_val` is zero, the corresponding BIC operation is skipped.
208 .macro bic64_imm _reg_l, _reg_h, _val
209 .if (\_val >> 32)
210 bic \_reg_h, \_reg_h, #(\_val >> 32)
212 .if (\_val & 0xffffffff)
213 bic \_reg_l, \_reg_l, #(\_val & 0xffffffff)