Home
last modified time | relevance | path

Searched refs:tasm (Results 1 – 25 of 32) sorted by relevance

12

/external/v8/src/compiler/mips/
Dcode-generator-mips.cc20 #define __ tasm()->
322 codegen->tasm()->And(value, value, kSpeculationPoisonRegister); in EmitWordLoadPoisoningIfNeeded()
453 FrameScope scope(tasm(), StackFrame::MANUAL); \
464 FrameScope scope(tasm(), StackFrame::MANUAL); \
512 void AdjustStackPointerForTailCall(TurboAssembler* tasm, in AdjustStackPointerForTailCall() argument
520 tasm->Subu(sp, sp, stack_slot_delta * kPointerSize); in AdjustStackPointerForTailCall()
523 tasm->Addu(sp, sp, -stack_slot_delta * kPointerSize); in AdjustStackPointerForTailCall()
532 AdjustStackPointerForTailCall(tasm(), frame_access_state(), in AssembleTailCallBeforeGap()
538 AdjustStackPointerForTailCall(tasm(), frame_access_state(), in AssembleTailCallAfterGap()
771 FrameScope scope(tasm(), StackFrame::NONE); in AssembleArchInstruction()
[all …]
/external/v8/src/compiler/mips64/
Dcode-generator-mips64.cc21 #define __ tasm()->
333 codegen->tasm()->And(value, value, kSpeculationPoisonRegister); in EmitWordLoadPoisoningIfNeeded()
466 FrameScope scope(tasm(), StackFrame::MANUAL); \
477 FrameScope scope(tasm(), StackFrame::MANUAL); \
525 void AdjustStackPointerForTailCall(TurboAssembler* tasm, in AdjustStackPointerForTailCall() argument
533 tasm->Dsubu(sp, sp, stack_slot_delta * kPointerSize); in AdjustStackPointerForTailCall()
536 tasm->Daddu(sp, sp, -stack_slot_delta * kPointerSize); in AdjustStackPointerForTailCall()
545 AdjustStackPointerForTailCall(tasm(), frame_access_state(), in AssembleTailCallBeforeGap()
551 AdjustStackPointerForTailCall(tasm(), frame_access_state(), in AssembleTailCallAfterGap()
791 FrameScope scope(tasm(), StackFrame::NONE); in AssembleArchInstruction()
[all …]
/external/v8/src/compiler/
Dcode-generator.cc120 tasm()->isolate(), deoptimization_id, deopt_kind); in AssembleDeoptimizerCall()
123 tasm()->RecordDeoptReason(deoptimization_reason, pos, deoptimization_id); in AssembleDeoptimizerCall()
125 tasm()->CallForDeoptimization(deopt_entry, deoptimization_id, in AssembleDeoptimizerCall()
136 FrameScope frame_scope(tasm(), StackFrame::MANUAL); in AssembleCode()
144 ProfileEntryHookStub::MaybeCallEntryHookDelayed(tasm(), zone()); in AssembleCode()
150 tasm()->RecordComment("-- Prologue: check code start register --"); in AssembleCode()
160 tasm()->RecordComment("-- Prologue: check for deoptimization --"); in AssembleCode()
193 if (block->IsLoopHeader() && !tasm()->jump_optimization_info()) { in AssembleCode()
194 tasm()->Align(16); in AssembleCode()
197 block_starts_[block->rpo_number().ToInt()] = tasm()->pc_offset(); in AssembleCode()
[all …]
Dcode-generator-impl.h207 TurboAssembler* tasm() { return tasm_; } in tasm() function
Dcode-generator.h125 TurboAssembler* tasm() { return &tasm_; } in tasm() function
/external/pdfium/third_party/yasm/
DCHROMIUM.diff1 diff --git a/frontends/tasm/tasm.c b/frontends/tasm/tasm.c
3 --- a/frontends/tasm/tasm.c
4 +++ b/frontends/tasm/tasm.c
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc26 #define __ tasm()->
328 gen->tasm()->mov(kSpeculationPoisonRegister, i.ToImmediate(op)); in MoveOperandIfAliasedWithPoisonRegister()
330 gen->tasm()->mov(kSpeculationPoisonRegister, i.InputOperand(poison_index)); in MoveOperandIfAliasedWithPoisonRegister()
341 codegen->tasm()->and_(value, kSpeculationPoisonRegister); in EmitWordLoadPoisoningIfNeeded()
463 CpuFeatureScope avx_scope(tasm(), AVX); \
473 CpuFeatureScope avx_scope(tasm(), AVX); \
477 CpuFeatureScope sse_scope(tasm(), SSELevel); \
534 void AdjustStackPointerForTailCall(TurboAssembler* tasm, in AdjustStackPointerForTailCall() argument
542 tasm->sub(esp, Immediate(stack_slot_delta * kPointerSize)); in AdjustStackPointerForTailCall()
545 tasm->add(esp, Immediate(-stack_slot_delta * kPointerSize)); in AdjustStackPointerForTailCall()
[all …]
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc23 #define __ tasm()->
334 codegen->tasm()->and_(value, value, Operand(kSpeculationPoisonRegister)); in EmitWordLoadPoisoningIfNeeded()
345 codegen->tasm()->mov(address, i.InputImmediate(1)); in ComputePoisonedAddressForLoad()
346 codegen->tasm()->add(address, address, i.InputRegister(0)); in ComputePoisonedAddressForLoad()
349 codegen->tasm()->add(address, i.InputRegister(0), i.InputRegister(1)); in ComputePoisonedAddressForLoad()
354 codegen->tasm()->and_(address, address, Operand(kSpeculationPoisonRegister)); in ComputePoisonedAddressForLoad()
465 FrameScope scope(tasm(), StackFrame::MANUAL); \
479 FrameScope scope(tasm(), StackFrame::MANUAL); \
564 void FlushPendingPushRegisters(TurboAssembler* tasm, in FlushPendingPushRegisters() argument
571 tasm->push((*pending_pushes)[0]); in FlushPendingPushRegisters()
[all …]
/external/v8/src/
Dmacro-assembler.h69 explicit FrameScope(TurboAssembler* tasm, StackFrame::Type type) in FrameScope() argument
70 : tasm_(tasm), type_(type), old_has_frame_(tasm->has_frame()) { in FrameScope()
71 tasm->set_has_frame(true); in FrameScope()
73 tasm->EnterFrame(type); in FrameScope()
/external/v8/src/compiler/arm64/
Dcode-generator-arm64.cc22 #define __ tasm()->
235 MemOperand ToMemOperand(InstructionOperand* op, TurboAssembler* tasm) const { in ToMemOperand()
238 return SlotToMemOperand(AllocatedOperand::cast(op)->index(), tasm); in ToMemOperand()
241 MemOperand SlotToMemOperand(int slot, TurboAssembler* tasm) const { in SlotToMemOperand()
376 codegen->tasm()->And(value, value, Operand(poison)); in EmitWordLoadPoisoningIfNeeded()
445 FrameScope scope(tasm(), StackFrame::MANUAL); \
451 FrameScope scope(tasm(), StackFrame::MANUAL); \
498 void AdjustStackPointerForTailCall(TurboAssembler* tasm, in AdjustStackPointerForTailCall() argument
507 tasm->Claim(stack_slot_delta); in AdjustStackPointerForTailCall()
510 tasm->Drop(-stack_slot_delta); in AdjustStackPointerForTailCall()
[all …]
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc24 #define __ tasm()->
350 codegen->tasm()->andq(value, kSpeculationPoisonRegister); in EmitWordLoadPoisoningIfNeeded()
485 CpuFeatureScope avx_scope(tasm(), AVX); \
602 AdjustStackPointerForTailCall(tasm(), frame_access_state(), in AssembleTailCallBeforeGap()
620 AdjustStackPointerForTailCall(tasm(), frame_access_state(), in AssembleTailCallBeforeGap()
626 AdjustStackPointerForTailCall(tasm(), frame_access_state(), in AssembleTailCallAfterGap()
890 FrameScope scope(tasm(), StackFrame::NONE); in AssembleArchInstruction()
1261 CpuFeatureScope sse_scope(tasm(), SSE4_1); in AssembleArchInstruction()
1318 CpuFeatureScope sahf_scope(tasm(), SAHF); in AssembleArchInstruction()
1468 CpuFeatureScope sse_scope(tasm(), SSE4_1); in AssembleArchInstruction()
[all …]
/external/v8/src/arm64/
Dcode-stubs-arm64.cc220 void ProfileEntryHookStub::MaybeCallEntryHookDelayed(TurboAssembler* tasm, in MaybeCallEntryHookDelayed() argument
222 if (tasm->isolate()->function_entry_hook() != nullptr) { in MaybeCallEntryHookDelayed()
223 Assembler::BlockConstPoolScope no_const_pools(tasm); in MaybeCallEntryHookDelayed()
224 DontEmitDebugCodeScope no_debug_code(tasm); in MaybeCallEntryHookDelayed()
226 tasm->Bind(&entry_hook_call_start); in MaybeCallEntryHookDelayed()
227 tasm->Push(padreg, lr); in MaybeCallEntryHookDelayed()
228 tasm->CallStubDelayed(new (zone) ProfileEntryHookStub(nullptr)); in MaybeCallEntryHookDelayed()
229 DCHECK_EQ(tasm->SizeOfCodeGeneratedSince(&entry_hook_call_start), in MaybeCallEntryHookDelayed()
231 tasm->Pop(lr, padreg); in MaybeCallEntryHookDelayed()
/external/v8/src/ppc/
Dcode-stubs-ppc.cc220 void ProfileEntryHookStub::MaybeCallEntryHookDelayed(TurboAssembler* tasm, in MaybeCallEntryHookDelayed() argument
222 if (tasm->isolate()->function_entry_hook() != nullptr) { in MaybeCallEntryHookDelayed()
223 PredictableCodeSizeScope predictable(tasm, in MaybeCallEntryHookDelayed()
229 tasm->mflr(r0); in MaybeCallEntryHookDelayed()
230 tasm->Push(r0, ip); in MaybeCallEntryHookDelayed()
231 tasm->CallStubDelayed(new (zone) ProfileEntryHookStub(nullptr)); in MaybeCallEntryHookDelayed()
232 tasm->Pop(r0, ip); in MaybeCallEntryHookDelayed()
233 tasm->mtlr(r0); in MaybeCallEntryHookDelayed()
/external/v8/src/arm/
Dcode-stubs-arm.cc225 void ProfileEntryHookStub::MaybeCallEntryHookDelayed(TurboAssembler* tasm, in MaybeCallEntryHookDelayed() argument
227 if (tasm->isolate()->function_entry_hook() != nullptr) { in MaybeCallEntryHookDelayed()
228 tasm->MaybeCheckConstPool(); in MaybeCallEntryHookDelayed()
230 tasm, TurboAssembler::kCallStubSize + 2 * kInstrSize); in MaybeCallEntryHookDelayed()
231 tasm->push(lr); in MaybeCallEntryHookDelayed()
232 tasm->CallStubDelayed(new (zone) ProfileEntryHookStub(nullptr)); in MaybeCallEntryHookDelayed()
233 tasm->pop(lr); in MaybeCallEntryHookDelayed()
/external/v8/src/s390/
Dcode-stubs-s390.cc244 void ProfileEntryHookStub::MaybeCallEntryHookDelayed(TurboAssembler* tasm, in MaybeCallEntryHookDelayed() argument
246 if (tasm->isolate()->function_entry_hook() != nullptr) { in MaybeCallEntryHookDelayed()
247 PredictableCodeSizeScope predictable(tasm, in MaybeCallEntryHookDelayed()
255 tasm->CleanseP(r14); in MaybeCallEntryHookDelayed()
256 tasm->Push(r14, ip); in MaybeCallEntryHookDelayed()
257 tasm->CallStubDelayed(new (zone) ProfileEntryHookStub(nullptr)); in MaybeCallEntryHookDelayed()
258 tasm->Pop(r14, ip); in MaybeCallEntryHookDelayed()
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc22 #define __ tasm()->
178 ConstantPoolUnavailableScope constant_pool_unavailable(tasm()); in Generate()
282 codegen->tasm()->and_(value, value, kSpeculationPoisonRegister); in EmitWordLoadPoisoningIfNeeded()
423 FrameScope scope(tasm(), StackFrame::MANUAL); \
436 FrameScope scope(tasm(), StackFrame::MANUAL); \
449 FrameScope scope(tasm(), StackFrame::MANUAL); \
756 void FlushPendingPushRegisters(TurboAssembler* tasm, in FlushPendingPushRegisters() argument
763 tasm->Push((*pending_pushes)[0]); in FlushPendingPushRegisters()
766 tasm->Push((*pending_pushes)[0], (*pending_pushes)[1]); in FlushPendingPushRegisters()
769 tasm->Push((*pending_pushes)[0], (*pending_pushes)[1], in FlushPendingPushRegisters()
[all …]
/external/v8/src/mips/
Dcode-stubs-mips.cc230 void ProfileEntryHookStub::MaybeCallEntryHookDelayed(TurboAssembler* tasm, in MaybeCallEntryHookDelayed() argument
232 if (tasm->isolate()->function_entry_hook() != nullptr) { in MaybeCallEntryHookDelayed()
233 tasm->push(ra); in MaybeCallEntryHookDelayed()
234 tasm->CallStubDelayed(new (zone) ProfileEntryHookStub(nullptr)); in MaybeCallEntryHookDelayed()
235 tasm->pop(ra); in MaybeCallEntryHookDelayed()
Dmacro-assembler-mips.cc1985 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Floor_d_d() argument
1986 tasm->floor_l_d(dst, src); in Floor_d_d()
1992 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Ceil_d_d() argument
1993 tasm->ceil_l_d(dst, src); in Ceil_d_d()
1999 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Trunc_d_d() argument
2000 tasm->trunc_l_d(dst, src); in Trunc_d_d()
2006 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Round_d_d() argument
2007 tasm->round_l_d(dst, src); in Round_d_d()
2045 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Floor_s_s() argument
2046 tasm->floor_w_s(dst, src); in Floor_s_s()
[all …]
/external/v8/src/mips64/
Dcode-stubs-mips64.cc231 void ProfileEntryHookStub::MaybeCallEntryHookDelayed(TurboAssembler* tasm, in MaybeCallEntryHookDelayed() argument
233 if (tasm->isolate()->function_entry_hook() != nullptr) { in MaybeCallEntryHookDelayed()
234 tasm->push(ra); in MaybeCallEntryHookDelayed()
235 tasm->CallStubDelayed(new (zone) ProfileEntryHookStub(nullptr)); in MaybeCallEntryHookDelayed()
236 tasm->pop(ra); in MaybeCallEntryHookDelayed()
Dmacro-assembler-mips64.cc2535 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Floor_d_d() argument
2536 tasm->floor_l_d(dst, src); in Floor_d_d()
2542 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Ceil_d_d() argument
2543 tasm->ceil_l_d(dst, src); in Ceil_d_d()
2549 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Trunc_d_d() argument
2550 tasm->trunc_l_d(dst, src); in Trunc_d_d()
2556 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Round_d_d() argument
2557 tasm->round_l_d(dst, src); in Round_d_d()
2595 [](TurboAssembler* tasm, FPURegister dst, FPURegister src) { in Floor_s_s() argument
2596 tasm->floor_w_s(dst, src); in Floor_s_s()
[all …]
/external/v8/src/x64/
Dmacro-assembler-x64.cc882 void ConvertFloatToUint64(TurboAssembler* tasm, Register dst, in ConvertFloatToUint64() argument
888 tasm->Cvttsd2siq(dst, src); in ConvertFloatToUint64()
890 tasm->Cvttss2siq(dst, src); in ConvertFloatToUint64()
893 tasm->testq(dst, dst); in ConvertFloatToUint64()
894 tasm->j(positive, &success); in ConvertFloatToUint64()
899 tasm->Move(kScratchDoubleReg, -9223372036854775808.0); in ConvertFloatToUint64()
900 tasm->addsd(kScratchDoubleReg, src); in ConvertFloatToUint64()
901 tasm->Cvttsd2siq(dst, kScratchDoubleReg); in ConvertFloatToUint64()
903 tasm->Move(kScratchDoubleReg, -9223372036854775808.0f); in ConvertFloatToUint64()
904 tasm->addss(kScratchDoubleReg, src); in ConvertFloatToUint64()
[all …]
Dcode-stubs-x64.cc181 void ProfileEntryHookStub::MaybeCallEntryHookDelayed(TurboAssembler* tasm, in MaybeCallEntryHookDelayed() argument
183 if (tasm->isolate()->function_entry_hook() != nullptr) { in MaybeCallEntryHookDelayed()
184 tasm->CallStubDelayed(new (zone) ProfileEntryHookStub(nullptr)); in MaybeCallEntryHookDelayed()
/external/v8/src/compiler/s390/
Dcode-generator-s390.cc21 #define __ tasm()->
611 FrameScope scope(tasm(), StackFrame::MANUAL); \
623 FrameScope scope(tasm(), StackFrame::MANUAL); \
635 FrameScope scope(tasm(), StackFrame::MANUAL); \
1185 void FlushPendingPushRegisters(TurboAssembler* tasm, in FlushPendingPushRegisters() argument
1192 tasm->Push((*pending_pushes)[0]); in FlushPendingPushRegisters()
1195 tasm->Push((*pending_pushes)[0], (*pending_pushes)[1]); in FlushPendingPushRegisters()
1198 tasm->Push((*pending_pushes)[0], (*pending_pushes)[1], in FlushPendingPushRegisters()
1210 TurboAssembler* tasm, FrameAccessState* state, int new_slot_above_sp, in AdjustStackPointerForTailCall() argument
1218 FlushPendingPushRegisters(tasm, state, pending_pushes); in AdjustStackPointerForTailCall()
[all …]
/external/v8/src/ia32/
Dcode-stubs-ia32.cc119 void ProfileEntryHookStub::MaybeCallEntryHookDelayed(TurboAssembler* tasm, in MaybeCallEntryHookDelayed() argument
121 if (tasm->isolate()->function_entry_hook() != nullptr) { in MaybeCallEntryHookDelayed()
122 tasm->CallStubDelayed(new (zone) ProfileEntryHookStub(nullptr)); in MaybeCallEntryHookDelayed()
/external/libpcap/msdos/
Dmakefile22 ASM = tasm.exe -t -l -mx -m2 -DDEBUG

12