Lines Matching defs:_val
135 .macro mov_imm _reg, _val
136 .if ((\_val) & 0xffff0000) == 0
137 mov \_reg, #(\_val)
139 movw \_reg, #((\_val) & 0xffff)
140 movt \_reg, #((\_val) >> 16)
176 * Helper macro to OR the bottom 32 bits of `_val` into `_reg_l`
177 * and the top 32 bits of `_val` into `_reg_h`. If either the bottom
178 * or top word of `_val` is zero, the corresponding OR operation
181 .macro orr64_imm _reg_l, _reg_h, _val
182 .if (\_val >> 32)
183 orr \_reg_h, \_reg_h, #(\_val >> 32)
185 .if (\_val & 0xffffffff)
186 orr \_reg_l, \_reg_l, #(\_val & 0xffffffff)
192 * `_reg_h` given a 64 bit immediate `_val`. The set bits
193 * in the bottom word of `_val` dictate which bits from
195 * the top word of `_val` dictate which bits from `_reg_h`
197 * `_val` is zero, the corresponding BIC operation is skipped.
199 .macro bic64_imm _reg_l, _reg_h, _val
200 .if (\_val >> 32)
201 bic \_reg_h, \_reg_h, #(\_val >> 32)
203 .if (\_val & 0xffffffff)
204 bic \_reg_l, \_reg_l, #(\_val & 0xffffffff)