Lines Matching refs:reg_base
56 #define OP_LDR_W_HI(reg_base) (0xf8d0 | (reg_base)) argument
446 static inline void asm_thumb_ldr_reg_reg_i12(asm_thumb_t *as, uint reg_dest, uint reg_base, uint wo… in asm_thumb_ldr_reg_reg_i12() argument
447 asm_thumb_op32(as, OP_LDR_W_HI(reg_base), OP_LDR_W_LO(reg_dest, word_offset * 4)); in asm_thumb_ldr_reg_reg_i12()
451 void asm_thumb_ldr_reg_reg_i12_optimised(asm_thumb_t *as, uint reg_dest, uint reg_base, uint word_o… in asm_thumb_ldr_reg_reg_i12_optimised() argument
452 if (reg_dest < ASM_THUMB_REG_R8 && reg_base < ASM_THUMB_REG_R8 && UNSIGNED_FIT5(word_offset)) { in asm_thumb_ldr_reg_reg_i12_optimised()
453 asm_thumb_ldr_rlo_rlo_i5(as, reg_dest, reg_base, word_offset); in asm_thumb_ldr_reg_reg_i12_optimised()
456 asm_thumb_ldr_reg_reg_i12(as, reg_dest, reg_base, word_offset); in asm_thumb_ldr_reg_reg_i12_optimised()
459 if (reg_dest < ASM_THUMB_REG_R8 && reg_base < ASM_THUMB_REG_R8) { in asm_thumb_ldr_reg_reg_i12_optimised()
460 if (UNSIGNED_FIT8(word_offset) && (word_offset < 64 || reg_dest != reg_base)) { in asm_thumb_ldr_reg_reg_i12_optimised()
462 if (reg_dest != reg_base) { in asm_thumb_ldr_reg_reg_i12_optimised()
463 asm_thumb_mov_reg_reg(as, reg_dest, reg_base); in asm_thumb_ldr_reg_reg_i12_optimised()
469 asm_thumb_add_rlo_rlo_rlo(as, reg_dest, reg_dest, reg_base); in asm_thumb_ldr_reg_reg_i12_optimised()
472 if (reg_dest != reg_base) { in asm_thumb_ldr_reg_reg_i12_optimised()