Home
last modified time | relevance | path

Searched refs:regT0 (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/JavaScriptCore/jit/
DJITArithmetic.cpp56 emitGetVirtualRegisters(op1, regT0, op2, regT2); in emit_op_lshift()
58 emitJumpSlowCaseIfNotImmediateInteger(regT0); in emit_op_lshift()
60 emitFastArithImmToInt(regT0); in emit_op_lshift()
62 lshift32(regT2, regT0); in emit_op_lshift()
63 emitFastArithReTagImmediate(regT0, regT0); in emit_op_lshift()
78 stubCall.addArgument(regT0); in emitSlow_op_lshift()
91 emitGetVirtualRegister(op1, regT0); in emit_op_rshift()
92 emitJumpSlowCaseIfNotImmediateInteger(regT0); in emit_op_rshift()
94 rshift32(Imm32(getConstantOperandImmediateInt(op2) & 0x1f), regT0); in emit_op_rshift()
96 emitGetVirtualRegisters(op1, regT0, op2, regT2); in emit_op_rshift()
[all …]
DJITOpcodes.cpp54 Jump string_failureCases1 = emitJumpIfNotJSCell(regT0); in privateCompileCTIMachineTrampolines()
55 …Jump string_failureCases2 = branchPtr(NotEqual, Address(regT0), TrustedImmPtr(m_globalData->jsStri… in privateCompileCTIMachineTrampolines()
58 load32(Address(regT0, OBJECT_OFFSETOF(JSString, m_length)), regT0); in privateCompileCTIMachineTrampolines()
60 Jump string_failureCases3 = branch32(LessThan, regT0, TrustedImm32(0)); in privateCompileCTIMachineTrampolines()
63 emitFastArithIntToImmNoCheck(regT0, regT0); in privateCompileCTIMachineTrampolines()
80 callLinkFailures.append(branchTestPtr(Zero, regT0)); in privateCompileCTIMachineTrampolines()
83 jump(regT0); in privateCompileCTIMachineTrampolines()
93 callLinkFailures.append(branchTestPtr(Zero, regT0)); in privateCompileCTIMachineTrampolines()
96 jump(regT0); in privateCompileCTIMachineTrampolines()
103 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
[all …]
DThunkGenerators.cpp40 jit.loadJSStringArgument(SpecializedThunkJIT::ThisArgument, SpecializedThunkJIT::regT0); in stringCharLoad()
44 …jit.load32(MacroAssembler::Address(SpecializedThunkJIT::regT0, ThunkHelpers::jsStringLengthOffset(… in stringCharLoad()
45 …oAssembler::Address(SpecializedThunkJIT::regT0, ThunkHelpers::jsStringValueOffset()), SpecializedT… in stringCharLoad()
46 …Assembler::Address(SpecializedThunkJIT::regT0, ThunkHelpers::stringImplDataOffset()), SpecializedT… in stringCharLoad()
55 …BaseIndex(SpecializedThunkJIT::regT0, SpecializedThunkJIT::regT1, MacroAssembler::TimesTwo, 0), Sp… in stringCharLoad()
70 jit.returnInt32(SpecializedThunkJIT::regT0); in charCodeAtThunkGenerator()
78 …charToString(jit, globalData, SpecializedThunkJIT::regT0, SpecializedThunkJIT::regT0, SpecializedT… in charAtThunkGenerator()
79 jit.returnJSCell(SpecializedThunkJIT::regT0); in charAtThunkGenerator()
87 jit.loadInt32Argument(0, SpecializedThunkJIT::regT0); in fromCharCodeThunkGenerator()
88 …charToString(jit, globalData, SpecializedThunkJIT::regT0, SpecializedThunkJIT::regT0, SpecializedT… in fromCharCodeThunkGenerator()
[all …]
DJITArithmetic32_64.cpp55 emitLoad(src, regT1, regT0); in emit_op_negate()
58 addSlowCase(branchTest32(Zero, regT0, TrustedImm32(0x7fffffff))); in emit_op_negate()
59 neg32(regT0); in emit_op_negate()
60 emitStoreInt32(dst, regT0, (dst == src)); in emit_op_negate()
70 store32(regT0, payloadFor(dst)); in emit_op_negate()
83 stubCall.addArgument(regT1, regT0); in emitSlow_op_negate()
98 emitLoad(op2, regT1, regT0); in emit_op_jnless()
101 emitLoadCharacterString(regT0, regT0, failures); in emit_op_jnless()
103 …addJump(branch32(LessThanOrEqual, regT0, Imm32(asString(getConstantOperand(op1))->tryGetValue()[0]… in emit_op_jnless()
107 emitLoad(op1, regT1, regT0); in emit_op_jnless()
[all …]
DJITOpcodes32_64.cpp56 …Jump string_failureCases2 = branchPtr(NotEqual, Address(regT0), TrustedImmPtr(m_globalData->jsStri… in privateCompileCTIMachineTrampolines()
59 load32(Address(regT0, OBJECT_OFFSETOF(JSString, m_length)), regT2); in privateCompileCTIMachineTrampolines()
62 move(regT2, regT0); in privateCompileCTIMachineTrampolines()
79 callLinkFailures.append(branchTestPtr(Zero, regT0)); in privateCompileCTIMachineTrampolines()
82 jump(regT0); in privateCompileCTIMachineTrampolines()
93 callLinkFailures.append(branchTestPtr(Zero, regT0)); in privateCompileCTIMachineTrampolines()
95 jump(regT0); in privateCompileCTIMachineTrampolines()
104 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
110 callLinkFailures.append(branchTestPtr(Zero, regT0)); in privateCompileCTIMachineTrampolines()
113 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
[all …]
DJITPropertyAccess.cpp57 … failures.append(jit.branchPtr(NotEqual, Address(regT0), TrustedImmPtr(globalData->jsStringVPtr))); in stringGetByValStubGenerator()
58 …failures.append(jit.branchTest32(NonZero, Address(regT0, OBJECT_OFFSETOF(JSString, m_fiberCount)))… in stringGetByValStubGenerator()
61 jit.load32(Address(regT0, ThunkHelpers::jsStringLengthOffset()), regT2); in stringGetByValStubGenerator()
62 jit.loadPtr(Address(regT0, ThunkHelpers::jsStringValueOffset()), regT0); in stringGetByValStubGenerator()
63 jit.loadPtr(Address(regT0, ThunkHelpers::stringImplDataOffset()), regT0); in stringGetByValStubGenerator()
69 jit.load16(BaseIndex(regT0, regT1, TimesTwo, 0), regT0); in stringGetByValStubGenerator()
71 failures.append(jit.branch32(AboveOrEqual, regT0, TrustedImm32(0x100))); in stringGetByValStubGenerator()
73 jit.loadPtr(BaseIndex(regT1, regT0, ScalePtr, 0), regT0); in stringGetByValStubGenerator()
77 jit.move(TrustedImm32(0), regT0); in stringGetByValStubGenerator()
90 emitGetVirtualRegisters(base, regT0, property, regT1); in emit_op_get_by_val()
[all …]
DJITCall.cpp52 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_scopeChain)), regT3); // scopeChain in compileOpCallInitializeCallFrame()
54 emitPutCellToCallFrameHeader(regT0, RegisterFile::Callee); in compileOpCallInitializeCallFrame()
72 emitGetVirtualRegister(callee, regT0); in compileOpCallVarargs()
76 emitJumpSlowCaseIfNotJSCell(regT0); in compileOpCallVarargs()
77 addSlowCase(branchPtr(NotEqual, Address(regT0), TrustedImmPtr(m_globalData->jsFunctionVPtr))); in compileOpCallVarargs()
97 stubCall.addArgument(regT0); in compileOpCallVarargsSlowCase()
119 stubCall.addArgument(callee, regT0); in compileOpCall()
123 wasEval = branchPtr(NotEqual, regT0, TrustedImmPtr(JSValue::encode(JSValue()))); in compileOpCall()
126 emitGetVirtualRegister(callee, regT0); in compileOpCall()
129 emitJumpSlowCaseIfNotJSCell(regT0); in compileOpCall()
[all …]
DJITPropertyAccess32_64.cpp211 emitLoad(base, regT1, regT0); in emit_op_method_check()
216 …Jump structureCheck = branchPtrWithPatch(NotEqual, Address(regT0, JSCell::structureOffset()), info… in emit_op_method_check()
221 DataLabelPtr putFunction = moveWithPatch(TrustedImmPtr(0), regT0); in emit_op_method_check()
241 emitStore(dst, regT1, regT0); in emit_op_method_check()
242 map(m_bytecodeOffset + OPCODE_LENGTH(op_method_check), dst, regT1, regT0); in emit_op_method_check()
274 … failures.append(jit.branchPtr(NotEqual, Address(regT0), TrustedImmPtr(globalData->jsStringVPtr))); in stringGetByValStubGenerator()
275 …failures.append(jit.branchTest32(NonZero, Address(regT0, OBJECT_OFFSETOF(JSString, m_fiberCount)))… in stringGetByValStubGenerator()
278 jit.load32(Address(regT0, ThunkHelpers::jsStringLengthOffset()), regT1); in stringGetByValStubGenerator()
279 jit.loadPtr(Address(regT0, ThunkHelpers::jsStringValueOffset()), regT0); in stringGetByValStubGenerator()
280 jit.loadPtr(Address(regT0, ThunkHelpers::stringImplDataOffset()), regT0); in stringGetByValStubGenerator()
[all …]
DSpecializedThunkJIT.h88 if (src != regT0) in returnJSValue()
89 move(src, regT0); in returnJSValue()
97 moveDoubleToPtr(src, regT0); in returnDouble()
98 subPtr(tagTypeNumberRegister, regT0); in returnDouble()
102 …Address(stackPointerRegister, OBJECT_OFFSETOF(JSValue, u.asBits.payload) - sizeof(double)), regT0); in returnDouble()
110 if (src != regT0) in returnInt32()
111 move(src, regT0); in returnInt32()
119 if (src != regT0) in returnJSCell()
120 move(src, regT0); in returnJSCell()
142 orPtr(tagTypeNumberRegister, regT0); in tagReturnAsInt32()
DJITCall32_64.cpp52 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_scopeChain)), regT3); // scopeChain in compileOpCallInitializeCallFrame()
54 emitPutCellToCallFrameHeader(regT0, RegisterFile::Callee); in compileOpCallInitializeCallFrame()
61 emitStore(dst, regT1, regT0); in emit_op_call_put_result()
70 emitLoad(callee, regT1, regT0); in compileOpCallVarargs()
75 addSlowCase(branchPtr(NotEqual, Address(regT0), TrustedImmPtr(m_globalData->jsFunctionVPtr))); in compileOpCallVarargs()
99 stubCall.addArgument(regT1, regT0); in compileOpCallVarargsSlowCase()
111 emitLoad(dst, regT1, regT0); in emit_op_ret()
124 emitLoad(result, regT1, regT0); in emit_op_ret_object_or_this()
126 loadPtr(Address(regT0, JSCell::structureOffset()), regT2); in emit_op_ret_object_or_this()
137 emitLoad(thisReg, regT1, regT0); in emit_op_ret_object_or_this()
[all …]
DJSInterfaceJIT.h63 static const RegisterID regT0 = X86Registers::eax; variable
82 static const RegisterID regT0 = X86Registers::eax;
96 static const RegisterID regT0 = ARMRegisters::r0;
116 static const RegisterID regT0 = ARMRegisters::r0;
139 static const RegisterID regT0 = MIPSRegisters::v0;
160 static const RegisterID regT0 = SH4Registers::r0;
DJITStubCall.h144 m_jit->emitLoad(srcVirtualRegister, JIT::regT1, JIT::regT0); in addArgument()
145 addArgument(JIT::regT1, JIT::regT0); in addArgument()
197 m_jit->emitStore(dst, JIT::regT1, JIT::regT0); in call()
DJIT.cpp98 stubCall.addArgument(regT1, regT0); // save last result registers. in emitTimeoutCheck()
100 stubCall.getArgument(0, regT1, regT0); // reload last result registers. in emitTimeoutCheck()
DJIT.h525 void emitPutVirtualRegister(unsigned dst, RegisterID from = regT0);
/external/webkit/Source/JavaScriptCore/yarr/
DYarrJIT.cpp48 static const RegisterID regT0 = ARMRegisters::r5; member in JSC::Yarr::YarrGenerator
58 static const RegisterID regT0 = MIPSRegisters::t4; member in JSC::Yarr::YarrGenerator
68 static const RegisterID regT0 = SH4Registers::r0; member in JSC::Yarr::YarrGenerator
78 static const RegisterID regT0 = X86Registers::ebx; member in JSC::Yarr::YarrGenerator
88 static const RegisterID regT0 = X86Registers::eax; member in JSC::Yarr::YarrGenerator
1081 const RegisterID indexTemporary = regT0; in generateCode()
1175 const RegisterID character = regT0; in generateAssertionBOL()
1200 const RegisterID character = regT0; in generateAssertionEOL()
1223 const RegisterID character = regT0; in matchAssertionWordchar()
1235 const RegisterID character = regT0; in generateAssertionWordBoundary()
[all …]
/external/webkit/Source/JavaScriptCore/dfg/
DDFGJITCompiler.cpp153 moveDoubleToPtr(fprToRegisterID(fpr), regT0); in jumpFromSpeculativeToNonSpeculative()
154 subPtr(tagTypeNumberRegister, regT0); in jumpFromSpeculativeToNonSpeculative()
155 storePtr(regT0, addressFor(virtualRegister)); in jumpFromSpeculativeToNonSpeculative()
342 move(regT0, callFrameRegister); in compileFunction()
DDFGJITCompiler.h134 static const RegisterID regT0 = X86Registers::eax; variable
158 static const RegisterID returnValueRegister = regT0;
225 …static const RegisterID idForRegister[numberOfGPRs] = { regT0, regT1, regT2, regT3, regT4, regT5 }; in gprToRegisterID()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2010-05-24633 registers (regT0, or regT1:regT0 in JSVALUE32_64). op_call_put_result stores
20653 Bring the 32_64 & non-32_64 JITs into line with each other, callee in regT0.
23100 found in { regT1, regT0 }.
23171 (JSC::JITStubCall::addArgument): Always use { regT1, regT0 }, to facilitate
23217 Converted op_mod to put { tag, payload } in { regT1, regT0 }, and
23234 { regT1, regT0 }.
23245 { regT1, regT0 }, and added a case for subtract constant.
23287 { regT1, regT0 }.
23361 { regT1, regT0 } where possible.
23433 payload } in { regT1, regT0 }.
[all …]
DChangeLog-2011-02-1610913 … Change op_catch such that the new CallFrame value is returned from op_throw / vm_throw in regT0.
DChangeLog-2009-06-162540 op_loop_if_less (imm < op) was loading op into regT1, but in the slow path spills regT0.