/external/v8/src/compiler/mips/ |
D | code-generator-mips.cc | 454 __ PrepareCallCFunction(0, 2, kScratchReg); \ 465 __ PrepareCallCFunction(0, 1, kScratchReg); \ 544 __ ComputeCodeStartAddress(kScratchReg); in AssembleCodeStartRegisterCheck() 546 kJavaScriptCallCodeStartRegister, Operand(kScratchReg)); in AssembleCodeStartRegisterCheck() 558 __ lw(kScratchReg, MemOperand(kJavaScriptCallCodeStartRegister, offset)); in BailoutIfDeoptimized() 559 __ lw(kScratchReg, in BailoutIfDeoptimized() 560 FieldMemOperand(kScratchReg, in BailoutIfDeoptimized() 562 __ And(kScratchReg, kScratchReg, in BailoutIfDeoptimized() 569 __ Jump(code, RelocInfo::CODE_TARGET, ne, kScratchReg, Operand(zero_reg)); in BailoutIfDeoptimized() 577 __ ComputeCodeStartAddress(kScratchReg); in GenerateSpeculationPoisonFromCodeStartRegister() [all …]
|
/external/v8/src/wasm/baseline/mips64/ |
D | liftoff-assembler-mips64.h | 488 TurboAssembler::li(kScratchReg, 1); in emit_i32_divs() 490 TurboAssembler::LoadZeroOnCondition(kScratchReg, lhs, Operand(kMinInt), eq); in emit_i32_divs() 492 daddu(kScratchReg, kScratchReg, kScratchReg2); in emit_i32_divs() 493 TurboAssembler::Branch(trap_div_unrepresentable, eq, kScratchReg, in emit_i32_divs() 572 TurboAssembler::li(kScratchReg, 1); in emit_i64_divs() 575 kScratchReg, lhs.gp(), Operand(std::numeric_limits<int64_t>::min()), eq); in emit_i64_divs() 577 daddu(kScratchReg, kScratchReg, kScratchReg2); in emit_i64_divs() 578 TurboAssembler::Branch(trap_div_unrepresentable, eq, kScratchReg, in emit_i64_divs() 753 TurboAssembler::Addu(kScratchReg, dst.gp(), 1); in FP_BINOP() 754 TurboAssembler::Slt(kScratchReg2, kScratchReg, dst.gp()); in FP_BINOP() [all …]
|
/external/v8/src/compiler/mips64/ |
D | code-generator-mips64.cc | 467 __ PrepareCallCFunction(0, 2, kScratchReg); \ 478 __ PrepareCallCFunction(0, 1, kScratchReg); \ 557 __ ComputeCodeStartAddress(kScratchReg); in AssembleCodeStartRegisterCheck() 559 kJavaScriptCallCodeStartRegister, Operand(kScratchReg)); in AssembleCodeStartRegisterCheck() 571 __ Ld(kScratchReg, MemOperand(kJavaScriptCallCodeStartRegister, offset)); in BailoutIfDeoptimized() 572 __ Lw(kScratchReg, in BailoutIfDeoptimized() 573 FieldMemOperand(kScratchReg, in BailoutIfDeoptimized() 575 __ And(kScratchReg, kScratchReg, in BailoutIfDeoptimized() 582 __ Jump(code, RelocInfo::CODE_TARGET, ne, kScratchReg, Operand(zero_reg)); in BailoutIfDeoptimized() 590 __ ComputeCodeStartAddress(kScratchReg); in GenerateSpeculationPoisonFromCodeStartRegister() [all …]
|
/external/v8/src/builtins/mips/ |
D | builtins-mips.cc | 494 __ LoadRoot(kScratchReg, Heap::kRealStackLimitRootIndex); in Generate_ResumeGeneratorTrampoline() 495 __ Branch(&stack_overflow, lo, sp, Operand(kScratchReg)); in Generate_ResumeGeneratorTrampoline() 522 __ Lsa(kScratchReg, t1, t2, kPointerSizeLog2); in Generate_ResumeGeneratorTrampoline() 523 __ lw(kScratchReg, FieldMemOperand(kScratchReg, FixedArray::kHeaderSize)); in Generate_ResumeGeneratorTrampoline() 524 __ Push(kScratchReg); in Generate_ResumeGeneratorTrampoline() 900 __ Lsa(kScratchReg, kInterpreterDispatchTableRegister, t3, kPointerSizeLog2); in Generate_InterpreterEntryTrampoline() 901 __ lw(kJavaScriptCallCodeStartRegister, MemOperand(kScratchReg)); in Generate_InterpreterEntryTrampoline() 1105 __ SmiTst(kInterpreterBytecodeArrayRegister, kScratchReg); in Generate_InterpreterEnterBytecode() 1108 kScratchReg, Operand(zero_reg)); in Generate_InterpreterEnterBytecode() 1422 __ Lsa(kScratchReg, sp, a0, kPointerSizeLog2); in Generate_FunctionPrototypeCall() [all …]
|
/external/v8/src/mips64/ |
D | code-stubs-mips64.cc | 216 __ IndirectLoadConstant(kScratchReg, GetCode()); in GenerateCall() 217 __ Daddu(kScratchReg, kScratchReg, in GenerateCall() 219 __ Call(kScratchReg); in GenerateCall() 226 __ li(kScratchReg, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); in GenerateCall() 227 __ Call(kScratchReg); in GenerateCall() 405 __ Ld(kScratchReg, MemOperand(s5, kLimitOffset)); in CallApiFunctionAndReturn() 406 __ Branch(&delete_allocated_handles, ne, s1, Operand(kScratchReg)); in CallApiFunctionAndReturn() 422 __ li(kScratchReg, ExternalReference::scheduled_exception_address(isolate)); in CallApiFunctionAndReturn() 423 __ Ld(a5, MemOperand(kScratchReg)); in CallApiFunctionAndReturn() 502 __ Daddu(kScratchReg, scratch, in Generate() [all …]
|
D | deoptimizer-mips64.cc | 265 __ li(kScratchReg, i); in GeneratePrologue() 269 __ li(kScratchReg, i); // In the delay slot. in GeneratePrologue() 279 __ Push(kScratchReg); in GeneratePrologue() 290 __ li(kScratchReg, i); in GeneratePrologue() 297 __ li(kScratchReg, i); // In the delay slot. in GeneratePrologue() 306 __ Push(kScratchReg); in GeneratePrologue()
|
D | macro-assembler-mips64.h | 825 li(kScratchReg, Operand(b)); in JumpIfEqual() 826 Branch(dest, eq, a, Operand(kScratchReg)); in JumpIfEqual() 830 li(kScratchReg, Operand(b)); in JumpIfLessThan() 831 Branch(dest, lt, a, Operand(kScratchReg)); in JumpIfLessThan()
|
D | macro-assembler-mips64.cc | 2973 dmfc1(kScratchReg, kDoubleCompareReg); in LoadZeroIfFPUCondition() 2974 LoadZeroIfConditionNotZero(dest, kScratchReg); in LoadZeroIfFPUCondition() 2982 dmfc1(kScratchReg, kDoubleCompareReg); in LoadZeroIfNotFPUCondition() 2983 LoadZeroIfConditionZero(dest, kScratchReg); in LoadZeroIfNotFPUCondition()
|
D | assembler-mips64.h | 329 constexpr Register kScratchReg = s3; variable
|
/external/v8/src/wasm/baseline/mips/ |
D | liftoff-assembler-mips.h | 110 assm->TurboAssembler::Move(kScratchReg, tmp.low_gp()); in ChangeEndiannessLoad() 112 assm->TurboAssembler::Move(tmp.high_gp(), kScratchReg); in ChangeEndiannessLoad() 138 assm->TurboAssembler::Move(kScratchReg, tmp.low_gp()); in ChangeEndiannessLoad() 140 assm->TurboAssembler::ByteSwapSigned(tmp.high_gp(), kScratchReg, 4); in ChangeEndiannessLoad() 183 assm->TurboAssembler::Move(kScratchReg, tmp.low_gp()); in ChangeEndiannessStore() 185 assm->TurboAssembler::Move(tmp.high_gp(), kScratchReg); in ChangeEndiannessStore() 207 assm->TurboAssembler::Move(kScratchReg, tmp.low_gp()); in ChangeEndiannessStore() 209 assm->TurboAssembler::ByteSwapSigned(tmp.high_gp(), kScratchReg, 4); in ChangeEndiannessStore() 562 TurboAssembler::li(kScratchReg, 1); in emit_i32_divs() 564 TurboAssembler::LoadZeroOnCondition(kScratchReg, lhs, Operand(kMinInt), eq); in emit_i32_divs() [all …]
|
/external/v8/src/builtins/mips64/ |
D | builtins-mips64.cc | 385 __ LoadRoot(kScratchReg, Heap::kRealStackLimitRootIndex); in Generate_ResumeGeneratorTrampoline() 386 __ Branch(&stack_overflow, lo, sp, Operand(kScratchReg)); in Generate_ResumeGeneratorTrampoline() 415 __ Dlsa(kScratchReg, t1, t2, kPointerSizeLog2); in Generate_ResumeGeneratorTrampoline() 416 __ Ld(kScratchReg, FieldMemOperand(kScratchReg, FixedArray::kHeaderSize)); in Generate_ResumeGeneratorTrampoline() 417 __ Push(kScratchReg); in Generate_ResumeGeneratorTrampoline() 899 __ Dlsa(kScratchReg, kInterpreterDispatchTableRegister, a7, kPointerSizeLog2); in Generate_InterpreterEntryTrampoline() 900 __ Ld(kJavaScriptCallCodeStartRegister, MemOperand(kScratchReg)); in Generate_InterpreterEntryTrampoline() 1104 __ SmiTst(kInterpreterBytecodeArrayRegister, kScratchReg); in Generate_InterpreterEnterBytecode() 1107 kScratchReg, Operand(zero_reg)); in Generate_InterpreterEnterBytecode() 1424 __ Dlsa(kScratchReg, sp, a0, kPointerSizeLog2); in Generate_FunctionPrototypeCall() [all …]
|
/external/v8/src/mips/ |
D | code-stubs-mips.cc | 217 __ IndirectLoadConstant(kScratchReg, GetCode()); in GenerateCall() 218 __ Call(kScratchReg, Code::kHeaderSize - kHeapObjectTag); in GenerateCall() 225 __ li(kScratchReg, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); in GenerateCall() 226 __ Call(kScratchReg); in GenerateCall() 401 __ lw(kScratchReg, MemOperand(s5, kLimitOffset)); in CallApiFunctionAndReturn() 402 __ Branch(&delete_allocated_handles, ne, s1, Operand(kScratchReg)); in CallApiFunctionAndReturn() 419 __ li(kScratchReg, ExternalReference::scheduled_exception_address(isolate)); in CallApiFunctionAndReturn() 420 __ lw(t1, MemOperand(kScratchReg)); in CallApiFunctionAndReturn() 499 __ Addu(kScratchReg, scratch, in Generate() 501 __ sw(kScratchReg, MemOperand(a0, 1 * kPointerSize)); in Generate() [all …]
|
D | deoptimizer-mips.cc | 268 __ li(kScratchReg, i); in GeneratePrologue() 272 __ li(kScratchReg, i); // In the delay slot. in GeneratePrologue() 281 __ Push(kScratchReg); in GeneratePrologue() 292 __ li(kScratchReg, i); in GeneratePrologue() 299 __ li(kScratchReg, i); // In the delay slot. in GeneratePrologue() 308 __ Push(kScratchReg); in GeneratePrologue()
|
D | macro-assembler-mips.h | 818 li(kScratchReg, Operand(b)); in JumpIfEqual() 819 Branch(dest, eq, a, Operand(kScratchReg)); in JumpIfEqual() 823 li(kScratchReg, Operand(b)); in JumpIfLessThan() 824 Branch(dest, lt, a, Operand(kScratchReg)); in JumpIfLessThan()
|
D | macro-assembler-mips.cc | 2443 mfc1(kScratchReg, kDoubleCompareReg); in LoadZeroIfFPUCondition() 2444 LoadZeroIfConditionNotZero(dest, kScratchReg); in LoadZeroIfFPUCondition() 2452 mfc1(kScratchReg, kDoubleCompareReg); in LoadZeroIfNotFPUCondition() 2453 LoadZeroIfConditionZero(dest, kScratchReg); in LoadZeroIfNotFPUCondition()
|
D | assembler-mips.h | 324 constexpr Register kScratchReg = s3; variable
|
/external/v8/src/compiler/ppc/ |
D | code-generator-ppc.cc | 24 #define kScratchReg r11 macro 346 i.InputRegister(1), kScratchReg, r0); \ 349 i.InputInt32(1), kScratchReg, r0); \ 358 i.InputRegister(1), kScratchReg, r0); \ 361 -i.InputInt32(1), kScratchReg, r0); \ 370 __ extsw(kScratchReg, kScratchReg, SetRC); \ 376 __ extsw(kScratchReg, kScratchReg, SetRC); \ 414 const Register scratch = kScratchReg; \ 424 __ PrepareCallCFunction(0, 2, kScratchReg); \ 437 __ PrepareCallCFunction(0, 1, kScratchReg); \ [all …]
|
/external/v8/src/compiler/s390/ |
D | code-generator-s390.cc | 23 #define kScratchReg ip macro 612 __ PrepareCallCFunction(0, 2, kScratchReg); \ 624 __ PrepareCallCFunction(0, 1, kScratchReg); \ 636 __ PrepareCallCFunction(0, 2, kScratchReg); \ 958 Register addr = kScratchReg; \ 993 Register addr = kScratchReg; \ 1015 Register addr = kScratchReg; \ 1097 Register temp = kScratchReg; \ 1120 Register temp = kScratchReg; \ 1448 __ LoadP(kScratchReg, in AssembleArchInstruction() [all …]
|