Home | History | Annotate | Download | only in arm

Lines Matching refs:code_ptr

116 static inline void reloc_abs32(void *code_ptr, tcg_target_long target)
118 *(uint32_t *) code_ptr = target;
121 static inline void reloc_pc24(void *code_ptr, tcg_target_long target)
123 uint32_t offset = ((target - ((tcg_target_long) code_ptr + 8)) >> 2);
125 *(uint32_t *) code_ptr = ((*(uint32_t *) code_ptr) & ~0xffffff)
129 static void patch_reloc(uint8_t *code_ptr, int type,
134 reloc_abs32(code_ptr, value);
143 reloc_pc24(code_ptr, value);
360 s->code_ptr += 3;
362 s->code_ptr += 3;
854 val = addr - (tcg_target_long) s->code_ptr;
878 val = addr - (tcg_target_long) s->code_ptr;
926 tcg_out_reloc(s, s->code_ptr, R_ARM_ABS32, label_index, 31337);
927 s->code_ptr += 4;
930 tcg_out_reloc(s, s->code_ptr, R_ARM_PC24, label_index, 31337);
1070 label_ptr = (void *) s->code_ptr;
1115 reloc_pc24(label_ptr, (tcg_target_long)s->code_ptr);
1283 label_ptr = (void *) s->code_ptr;
1355 reloc_pc24(label_ptr, (tcg_target_long)s->code_ptr);
1420 uint8_t *ld_ptr = s->code_ptr;
1427 *ld_ptr = (uint8_t) (s->code_ptr - ld_ptr) - 8;
1436 s->tb_jmp_offset[args[0]] = s->code_ptr - s->code_buf;
1440 s->tb_jmp_offset[args[0]] = s->code_ptr - s->code_buf;
1446 c = (int) (s->tb_next + args[0]) - ((int) s->code_ptr + 8);
1459 s->tb_next_offset[args[0]] = s->code_ptr - s->code_buf;
1856 tb_ret_addr = s->code_ptr;