/external/qemu/tcg/x86_64/ |
H A D | tcg-target.c | 80 static void patch_reloc(uint8_t *code_ptr, int type, argument 88 *(uint32_t *)code_ptr = value; 93 *(uint32_t *)code_ptr = value; 96 value -= (long)code_ptr; 99 *(uint32_t *)code_ptr = value; 277 val = offset - ((tcg_target_long)s->code_ptr + 5 + (-rm - 1)); 384 disp = target - s->code_ptr - 5; 385 if (disp == (target - s->code_ptr - 5)) { 472 val = l->u.value - (tcg_target_long)s->code_ptr; 497 tcg_out_reloc(s, s->code_ptr, R_386_PC3 [all...] |
/external/qemu/tcg/arm/ |
H A D | tcg-target.c | 116 static inline void reloc_abs32(void *code_ptr, tcg_target_long target) argument 118 *(uint32_t *) code_ptr = target; 121 static inline void reloc_pc24(void *code_ptr, tcg_target_long target) argument 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, argument 134 reloc_abs32(code_ptr, value); 143 reloc_pc24(code_ptr, value); 360 s->code_ptr [all...] |
/external/qemu/tcg/hppa/ |
H A D | tcg-target.c | 147 static void patch_reloc(uint8_t *code_ptr, int type, argument 150 uint32_t *insn_ptr = (uint32_t *)code_ptr; 155 pcrel = (value - ((tcg_target_long)code_ptr + 8)) >> 2; 630 disp = (val - ((tcg_target_long)s->code_ptr + 8)) >> 2; 720 val -= (tcg_target_long)s->code_ptr + 8; 727 uint32_t old_insn = *(uint32_t *)s->code_ptr; 729 tcg_out_reloc(s, s->code_ptr, R_PARISC_PCREL17F, label_index, 0); 773 val -= (tcg_target_long)s->code_ptr + 8; 784 uint32_t old_insn = *(uint32_t *)s->code_ptr; 786 tcg_out_reloc(s, s->code_ptr, R_PARISC_PCREL12 [all...] |
/external/qemu/tcg/i386/ |
H A D | tcg-target.c | 86 static void patch_reloc(uint8_t *code_ptr, int type, argument 92 value -= (uintptr_t)code_ptr; 96 *(uint32_t *)code_ptr = value; 99 value -= (uintptr_t)code_ptr; 103 *(uint8_t *)code_ptr = value; 425 tcg_target_long pc = (tcg_target_long)s->code_ptr + 5 + ~rm; 722 val = l->u.value - (tcg_target_long)s->code_ptr; 749 tcg_out_reloc(s, s->code_ptr, R_386_PC8, label_index, -1); 750 s->code_ptr += 1; 757 tcg_out_reloc(s, s->code_ptr, R_386_PC3 [all...] |
/external/qemu/tcg/ppc/ |
H A D | tcg-target.c | 205 static void patch_reloc(uint8_t *code_ptr, int type, argument 211 reloc_pc14 (code_ptr, value); 214 reloc_pc24 (code_ptr, value); 472 disp = target - (tcg_target_long) s->code_ptr; 587 label1_ptr = s->code_ptr; 634 label2_ptr = s->code_ptr; 639 reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr); 720 reloc_pc24 (label2_ptr, (tcg_target_long) s->code_ptr); 783 label1_ptr = s->code_ptr; 834 label2_ptr = s->code_ptr; [all...] |
/external/qemu/tcg/ppc64/ |
H A D | tcg-target.c | 196 static void patch_reloc (uint8_t *code_ptr, int type, argument 202 reloc_pc14 (code_ptr, value); 205 reloc_pc24 (code_ptr, value); 492 disp = target - (tcg_target_long) s->code_ptr; 641 label1_ptr = s->code_ptr; 670 label2_ptr = s->code_ptr; 675 reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr); 760 reloc_pc24 (label2_ptr, (tcg_target_long) s->code_ptr); 787 label1_ptr = s->code_ptr; 799 label2_ptr = s->code_ptr; [all...] |
/external/qemu/tcg/sparc/ |
H A D | tcg-target.c | 103 static void patch_reloc(uint8_t *code_ptr, int type, argument 111 *(uint32_t *)code_ptr = value; 114 value -= (long)code_ptr; 118 *(uint32_t *)code_ptr = ((*(uint32_t *)code_ptr) & ~0x3fffff) | value; 121 value -= (long)code_ptr; 125 *(uint32_t *)code_ptr = ((*(uint32_t *)code_ptr) & ~0x7ffff) | value; 477 val = l->u.value - (tcg_target_long)s->code_ptr; 479 | INSN_OFF22(l->u.value - (unsigned long)s->code_ptr))); [all...] |
/external/qemu/tcg/ |
H A D | tcg.c | 68 static void patch_reloc(uint8_t *code_ptr, int type, 96 *s->code_ptr++ = v; 101 *(uint16_t *)s->code_ptr = v; 102 s->code_ptr += 2; 107 *(uint32_t *)s->code_ptr = v; 108 s->code_ptr += 4; 113 static void tcg_out_reloc(TCGContext *s, uint8_t *code_ptr, int type, argument 124 patch_reloc(code_ptr, type, l->u.value, addend); 129 r->ptr = code_ptr; 259 s->code_ptr [all...] |
H A D | tcg.h | 301 uint8_t *code_ptr; member in struct:TCGContext
|
/external/v8/src/ |
H A D | platform-macos.cc | 260 char* code_ptr = getsectdatafromheader_64( local 267 char* code_ptr = getsectdatafromheader(header, SEG_TEXT, SECT_TEXT, &size); local 269 if (code_ptr == NULL) continue; 271 const uintptr_t start = reinterpret_cast<uintptr_t>(code_ptr) + slide;
|