Home
last modified time | relevance | path

Searched refs:gpr (Results 1 – 25 of 34) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/dfg/
DDFGJITCodeGenerator.cpp44 GPRReg gpr = allocate(); in fillInteger() local
45 JITCompiler::RegisterID reg = JITCompiler::gprToRegisterID(gpr); in fillInteger()
48 m_gprs.retain(gpr, virtualRegister, SpillOrderConstant); in fillInteger()
51 info.fillInteger(gpr); in fillInteger()
53 return gpr; in fillInteger()
65 m_gprs.retain(gpr, virtualRegister, SpillOrderSpilled); in fillInteger()
72 info.fillJSValue(gpr, DataFormatJSInteger); in fillInteger()
73 unlock(gpr); in fillInteger()
88 GPRReg gpr = info.gpr(); in fillInteger() local
89 m_gprs.lock(gpr); in fillInteger()
[all …]
DDFGSpeculativeJIT.cpp42 GPRReg gpr = allocate(); in fillSpeculateIntInternal() local
43 JITCompiler::RegisterID reg = JITCompiler::gprToRegisterID(gpr); in fillSpeculateIntInternal()
46 m_gprs.retain(gpr, virtualRegister, SpillOrderConstant); in fillSpeculateIntInternal()
49 info.fillInteger(gpr); in fillSpeculateIntInternal()
51 return gpr; in fillSpeculateIntInternal()
58 m_gprs.retain(gpr, virtualRegister, SpillOrderSpilled); in fillSpeculateIntInternal()
64 info.fillInteger(gpr); in fillSpeculateIntInternal()
66 return gpr; in fillSpeculateIntInternal()
69 info.fillJSValue(gpr, DataFormatJSInteger); in fillSpeculateIntInternal()
71 return gpr; in fillSpeculateIntInternal()
[all …]
DDFGNonSpeculativeJIT.cpp41 for (GPRReg gpr = gpr0; gpr < numberOfGPRs; next(gpr)) { in EntryLocation() local
42 VirtualRegister virtualRegister = jit->m_gprs.name(gpr); in EntryLocation()
45 m_gprInfo[gpr].nodeIndex = info.nodeIndex(); in EntryLocation()
46 m_gprInfo[gpr].format = info.registerFormat(); in EntryLocation()
48 m_gprInfo[gpr].nodeIndex = NoNode; in EntryLocation()
63 GPRReg jsValueGpr = operand.gpr(); in valueToNumber()
100 GPRReg jsValueGpr = operand.gpr(); in valueToInt32()
122 void NonSpeculativeJIT::numberToInt32(FPRReg fpr, GPRReg gpr) in numberToInt32() argument
125 JITCompiler::RegisterID reg = JITCompiler::gprToRegisterID(gpr); in numberToInt32()
129 silentSpillAllRegisters(gpr); in numberToInt32()
[all …]
DDFGGenerationInfo.h80 void initInteger(NodeIndex nodeIndex, uint32_t useCount, GPRReg gpr) in initInteger() argument
87 u.gpr = gpr; in initInteger()
89 …void initJSValue(NodeIndex nodeIndex, uint32_t useCount, GPRReg gpr, DataFormat format = DataForma…
98 u.gpr = gpr;
100 void initCell(NodeIndex nodeIndex, uint32_t useCount, GPRReg gpr) in initCell() argument
107 u.gpr = gpr; in initCell()
153 GPRReg gpr() { ASSERT(m_registerFormat && m_registerFormat != DataFormatDouble); return u.gpr; } in gpr() function
194 void fillJSValue(GPRReg gpr, DataFormat format = DataFormatJS)
198 u.gpr = gpr;
200 void fillInteger(GPRReg gpr) in fillInteger() argument
[all …]
DDFGJITCompiler.cpp66 void JITCompiler::fillInt32ToInteger(NodeIndex nodeIndex, GPRReg gpr) in fillInt32ToInteger() argument
72 move(MacroAssembler::Imm32(valueOfInt32Constant(nodeIndex)), gprToRegisterID(gpr)); in fillInt32ToInteger()
76 loadPtr(addressFor(node.virtualRegister), gprToRegisterID(gpr)); in fillInt32ToInteger()
77 jitAssertIsJSInt32(gpr); in fillInt32ToInteger()
79 load32(addressFor(node.virtualRegister), gprToRegisterID(gpr)); in fillInt32ToInteger()
84 void JITCompiler::fillToJS(NodeIndex nodeIndex, GPRReg gpr) in fillToJS() argument
91 move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), gprToRegisterID(gpr)); in fillToJS()
94 move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), gprToRegisterID(gpr)); in fillToJS()
98 move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), gprToRegisterID(gpr)); in fillToJS()
103 loadPtr(addressFor(node.virtualRegister), gprToRegisterID(gpr)); in fillToJS()
[all …]
DDFGNonSpeculativeJIT.h98 if (!info.needsSpill() || (info.gpr() == exclude))
102 JITCompiler::RegisterID reg = JITCompiler::gprToRegisterID(info.gpr());
127 if (info.gpr() == exclude)
134 JITCompiler::RegisterID reg = JITCompiler::gprToRegisterID(info.gpr());
163 JITCompiler::RegisterID reg = JITCompiler::gprToRegisterID(info.gpr());
175 for (GPRReg gpr = gpr0; gpr < numberOfGPRs; next(gpr)) { variable
176 VirtualRegister name = m_gprs.name(gpr);
190 for (GPRReg gpr = gpr0; gpr < numberOfGPRs; next(gpr)) { variable
191 VirtualRegister name = m_gprs.name(gpr);
210 for (GPRReg gpr = gpr0; gpr < numberOfGPRs; next(gpr)) { in silentFillAllRegisters() local
[all …]
DDFGSpeculativeJIT.h214 gpr(); in SpeculateIntegerOperand()
228 GPRReg gpr() in gpr() function
237 gpr(); // m_format is set when m_gpr is locked. in format()
244 return JITCompiler::gprToRegisterID(gpr()); in registerID()
263 gpr(); in SpeculateStrictInt32Operand()
277 GPRReg gpr() in gpr() function
286 return JITCompiler::gprToRegisterID(gpr()); in registerID()
304 gpr(); in SpeculateCellOperand()
318 GPRReg gpr() in gpr() function
327 return JITCompiler::gprToRegisterID(gpr()); in registerID()
DDFGJITCodeGenerator.h116 GPRReg gpr = m_gprs.allocate(spillMe); in allocate() local
119 return gpr; in allocate()
159 GPRReg boxDouble(FPRReg fpr, GPRReg gpr) in boxDouble() argument
162 JITCompiler::RegisterID reg = JITCompiler::gprToRegisterID(gpr); in boxDouble()
165 return gpr; in boxDouble()
167 FPRReg unboxDouble(GPRReg gpr, FPRReg fpr) in unboxDouble() argument
169 JITCompiler::RegisterID reg = JITCompiler::gprToRegisterID(gpr); in unboxDouble()
179 FPRReg unboxDouble(GPRReg gpr) in unboxDouble() argument
181 return unboxDouble(gpr, fprAllocate()); in unboxDouble()
200 m_gprs.release(info.gpr()); in use()
[all …]
/external/libffi/src/sparc/
Dffi.c475 void *rvalue, unsigned long *gpr, unsigned long *scratch) in ffi_closure_sparc_inner_v8() argument
493 rvalue = (void *) gpr[0]; in ffi_closure_sparc_inner_v8()
508 avalue[i] = (void *)gpr[argn++]; in ffi_closure_sparc_inner_v8()
517 scratch[0] = gpr[argn]; in ffi_closure_sparc_inner_v8()
518 scratch[1] = gpr[argn+1]; in ffi_closure_sparc_inner_v8()
527 avalue[i] = ((char *) &gpr[argn]) - arg_types[i]->size; in ffi_closure_sparc_inner_v8()
540 void *rvalue, unsigned long *gpr, double *fpr) in ffi_closure_sparc_inner_v9() argument
556 rvalue = (void *) gpr[0]; in ffi_closure_sparc_inner_v9()
573 avalue[i] = (void *)gpr[argn++]; in ffi_closure_sparc_inner_v9()
580 (char *) &gpr[argn], in ffi_closure_sparc_inner_v9()
[all …]
/external/libffi/src/x86/
Dffi64.c42 UINT64 gpr[MAX_GPR_REGS]; member
374 reg_args->gpr[gprcount++] = (long) rvalue; in ffi_call()
412 reg_args->gpr[gprcount] = 0; in ffi_call()
413 memcpy (&reg_args->gpr[gprcount], a, size < 8 ? size : 8); in ffi_call()
490 rvalue = (void *) reg_args->gpr[gprcount++]; in ffi_closure_unix64_inner()
544 avalue[i] = &reg_args->gpr[gprcount]; in ffi_closure_unix64_inner()
560 memcpy (a, &reg_args->gpr[gprcount++], 8); in ffi_closure_unix64_inner()
/external/qemu/
Dmonitor.c1890 { "r0", offsetof(CPUState, gpr[0]) },
1891 { "r1", offsetof(CPUState, gpr[1]) },
1892 { "r2", offsetof(CPUState, gpr[2]) },
1893 { "r3", offsetof(CPUState, gpr[3]) },
1894 { "r4", offsetof(CPUState, gpr[4]) },
1895 { "r5", offsetof(CPUState, gpr[5]) },
1896 { "r6", offsetof(CPUState, gpr[6]) },
1897 { "r7", offsetof(CPUState, gpr[7]) },
1898 { "r8", offsetof(CPUState, gpr[8]) },
1899 { "r9", offsetof(CPUState, gpr[9]) },
[all …]
/external/valgrind/main/coregrind/m_sigframe/
Dsigframe-ppc64-linux.c246 # define DO(gpr) frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] \ in VG_() argument
247 = tst->arch.vex.guest_GPR##gpr in VG_()
358 # define DO(gpr) tst->arch.vex.guest_GPR##gpr \ in VG_() argument
359 = frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] in VG_()
Dsigframe-ppc32-linux.c146 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr in stack_mcontext() argument
921 # define DO(gpr) tst->arch.vex.guest_GPR##gpr = mc->mc_gregs[VKI_PT_R0+gpr] in VG_() argument
/external/qemu/hw/
Dpc.c520 uint32_t gpr[8], uint16_t segs[6], uint16_t ip) in generate_bootsect()
575 *p++ = gpr[i]; in generate_bootsect()
576 *p++ = gpr[i] >> 8; in generate_bootsect()
577 *p++ = gpr[i] >> 16; in generate_bootsect()
578 *p++ = gpr[i] >> 24; in generate_bootsect()
618 uint32_t gpr[8]; in load_linux() local
758 memset(gpr, 0, sizeof gpr); in load_linux()
759 gpr[4] = cmdline_addr-real_addr-16; /* SP (-16 is paranoia) */ in load_linux()
767 generate_bootsect(option_rom, gpr, seg, 0); in load_linux()
Dsmc91c111.c28 uint16_t gpr; member
66 qemu_put_be16(f, s->gpr); in smc91c111_save()
102 s->gpr = qemu_get_be16(f); in smc91c111_load()
372 SET_LOW(gpr, value); in smc91c111_writeb()
375 SET_HIGH(gpr, value); in smc91c111_writeb()
556 return s->gpr & 0xff; in smc91c111_readb()
558 return s->gpr >> 8; in smc91c111_readb()
/external/qemu/target-mips/
Dcpu.h142 target_ulong gpr[32]; member
516 env->active_tc.gpr[29] = newsp; in cpu_clone_regs()
517 env->active_tc.gpr[7] = 0; in cpu_clone_regs()
518 env->active_tc.gpr[2] = 0; in cpu_clone_regs()
Dmachine.c12 qemu_put_betls(f, &tc->gpr[i]); in save_tc()
160 qemu_get_betls(f, &tc->gpr[i]); in load_tc()
Dop_helper.c1332 return env->active_tc.gpr[sel]; in helper_mftgpr()
1334 return env->tcs[other_tc].gpr[sel]; in helper_mftgpr()
1382 env->active_tc.gpr[sel] = arg1; in helper_mttgpr()
1384 env->tcs[other_tc].gpr[sel] = arg1; in helper_mttgpr()
1776 if (env->active_tc.gpr[4] == 0) in helper_pmon()
1777 env->active_tc.gpr[2] = -1; in helper_pmon()
1780 env->active_tc.gpr[2] = -1; in helper_pmon()
1784 printf("%c", (char)(env->active_tc.gpr[4] & 0xFF)); in helper_pmon()
1790 unsigned char *fmt = (void *)(unsigned long)env->active_tc.gpr[4]; in helper_pmon()
/external/libffi/src/powerpc/
Dppc_closure.S47 # so first save gpr 3 to gpr 10 (aligned to 4)
76 # now load up the pointer to the saved gpr registers
/external/linux-tools-perf/arch/powerpc/util/
Ddwarf-regs.c24 {.name = STR(%gpr##num), .dwarfnum = num}
/external/valgrind/main/coregrind/
Dvgdb.c917 sp = user_mod.regs.gpr[1]; in invoke_gdbserver()
919 sp = user_mod.regs.gpr[1]; in invoke_gdbserver()
981 user_mod.regs.gpr[3] = check; in invoke_gdbserver()
1055 user_mod.regs.gpr[1] = sp - 220; in invoke_gdbserver()
1056 user_mod.regs.gpr[2] = toc_addr; in invoke_gdbserver()
1060 user_mod.regs.gpr[3] = check; in invoke_gdbserver()
/external/zlib/contrib/ada/
Dreadme.txt41 gnatmake -Pzlib.gpr -L<directory where libz.a is>
/external/valgrind/main/VEX/priv/
Dhost_ppc_defs.h700 HReg gpr; member
826 extern PPCInstr* PPCInstr_RdWrLR ( Bool wrLR, HReg gpr );
/external/valgrind/main/include/vki/
Dvki-ppc32-linux.h204 unsigned long gpr[32]; member
/external/valgrind/main/coregrind/m_coredump/
Dcoredump-elf.c297 # define DO(n) regs->gpr[n] = arch->vex.guest_GPR##n in fill_prstatus()
318 # define DO(n) regs->gpr[n] = arch->vex.guest_GPR##n in fill_prstatus()

12