/arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/sampler_sig_stack/amd64/ |
H A D | SamplerSigStackAmd64.S | 36 pushq %rbp 37 movq %rsp, %rbp 39 movl %edi, -276(%rbp) // to enable writing under red zone (128 bytes) 40 movl %esi, -280(%rbp) // It is needed to enable signal stack frame override 41 movl %edx, -284(%rbp) // memory of previos frame and corrupt it 42 movl %ecx, -288(%rbp) // To avoid it we use alternate signal stack 43 movl %r8d, -292(%rbp) // If memory under red zone wasn't corrupted 44 movl %r9d, -296(%rbp) // alternate signal stack works fine 45 movl $1, -272(%rbp) 46 movl $2, -20(%rbp) [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/arch/amd64/ |
H A D | ets_async_entry_point_amd64.S | 32 pushq %rbp 34 CFI_REL_OFFSET(rbp, 0) 36 movq %rsp, %rbp // frame pointer 37 CFI_DEF_CFA_REGISTER(rbp) 70 movq %rbp, MANAGED_THREAD_FRAME_OFFSET(%THREAD_REG) 75 leaq 16(%rbp), %rcx 82 movq -((CFRAME_CALLEE_REGS_START_SLOT + 0) * 8)(%rbp), %r15 84 movq -((CFRAME_CALLEE_REGS_START_SLOT + 1) * 8)(%rbp), %r14 86 movq -((CFRAME_CALLEE_REGS_START_SLOT + 2) * 8)(%rbp), %r13 88 movq -((CFRAME_CALLEE_REGS_START_SLOT + 3) * 8)(%rbp), [all...] |
H A D | ets_napi_entry_point_amd64.S | 49 pushq %rbp 51 CFI_REL_OFFSET(rbp, 0) 53 movq %rsp, %rbp // frame pointer 54 CFI_DEF_CFA_REGISTER(rbp) 80 movq %rbp, MANAGED_THREAD_FRAME_OFFSET(%THREAD_REG) 98 leaq 16(%rbp), %rdx 121 leaq -32(%rbp), %rsp 127 popq %rbp 128 CFI_RESTORE(rbp) 143 cmpq $BYPASS_BRIDGE, (SLOT_SIZE * COMP_METHOD_OFFSET)(%rbp) [all...] |
/arkcompiler/runtime_core/static_core/runtime/bridge/arch/amd64/ |
H A D | proxy_entrypoint_amd64.S | 41 pushq %rbp 43 CFI_REL_OFFSET(rbp, 0) 44 movq %rsp, %rbp // frame pointer 45 CFI_DEF_CFA_REGISTER(rbp) 70 movq %rbp, MANAGED_THREAD_FRAME_OFFSET(%THREAD_REG) 80 leaq 24(%rbp), %rdx 110 movq -((CFRAME_HEADER_SIZE - C2I_FP_OFFSET + 0) * 8)(%rbp), %r15 112 movq -((CFRAME_HEADER_SIZE - C2I_FP_OFFSET + 1) * 8)(%rbp), %r14 114 movq -((CFRAME_HEADER_SIZE - C2I_FP_OFFSET + 2) * 8)(%rbp), %r13 116 movq -((CFRAME_HEADER_SIZE - C2I_FP_OFFSET + 3) * 8)(%rbp), [all...] |
H A D | compiled_code_to_interpreter_bridge_dyn_amd64.S | 37 // arg_i: 24(%rbp, i, 8) 47 pushq %rbp 49 CFI_REL_OFFSET(rbp, 0) 50 movq %rsp, %rbp // set frame pointer 51 CFI_DEF_CFA_REGISTER(rbp) 73 movq %rbp, MANAGED_THREAD_FRAME_OFFSET(%THREAD_REG) 77 movq 24(%rbp), %rsi 84 movq (%rbp), %r8 89 movq %rbp, %rsp 91 movq (%rbp), [all...] |
H A D | interpreter_to_compiled_code_bridge_dyn_amd64.S | 43 pushq %rbp 44 CFI_REL_OFFSET(rbp, -(2 * 8)) 46 movq %rax, %rbp // set frame pointer 47 CFI_DEF_CFA_REGISTER(rbp) 96 movq -64(%rbp), %THREAD_REG 103 movq (%rbp), %r12 // load iframe from the stack 110 leaq -56(%rbp), %rsp 121 popq %rbp 122 CFI_RESTORE(rbp) 155 pushq %rbp [all...] |
H A D | compiled_code_to_interpreter_bridge_amd64.S | 46 pushq %rbp 48 CFI_REL_OFFSET(rbp, 0) 49 movq %rsp, %rbp // set frame pointer 50 CFI_DEF_CFA_REGISTER(rbp) 72 movq %rbp, MANAGED_THREAD_FRAME_OFFSET(%THREAD_REG) 84 movq (%rbp), %r8 90 movq %rbp, %rsp 92 movq (%rbp), %rbp 94 CFI_RESTORE(rbp) [all...] |
H A D | deoptimization_amd64.S | 41 CFI_REL_OFFSET(rbp, 0) 55 CFI_REL_OFFSET(rbp, 0) 57 movq %rcx, %rbp 58 CFI_DEF_CFA_REGISTER(rbp) 125 popq %rbp 126 CFI_RESTORE(rbp) 146 CFI_REL_OFFSET(rbp, 0) 153 movq %rcx, %rbp 154 CFI_DEF_CFA_REGISTER(rbp) 177 popq %rbp [all...] |
H A D | interpreter_to_compiled_code_bridge_amd64.S | 142 // | %rbp | 147 // +--------------+ <- %rbp 238 pushq %rbp 239 CFI_REL_OFFSET(rbp, -(2 * 8)) 241 movq %rax, %rbp // set frame pointer 242 CFI_DEF_CFA_REGISTER(rbp) 322 movq -64(%rbp), %THREAD_REG 334 movq (%rbp), %r12 // load iframe from the stack 386 leaq -56(%rbp), %rsp 397 popq %rbp [all...] |
H A D | compiled_code_to_runtime_bridge_amd64.S | 195 mov %rbp, (BRIDGE_FRAME_SIZE - 3 * 8)(%rsp) 196 CFI_REL_OFFSET(rbp, (BRIDGE_FRAME_SIZE - 3 * 8)) 203 SAVE_CALLER_GP_REGS rbp, \paramsnum 206 movq (-CFRAME_FLAGS_SLOT * 8)(%rbp), %r12 210 SAVE_CALLER_FP_REGS rbp 217 movq %rbp, MANAGED_THREAD_FRAME_OFFSET(%THREAD_REG) 219 RESTORE_CALLER_GP_REGS rbp, \ret_type 224 RESTORE_CALLER_FP_REGS rbp, \ret_type 234 movq (-CALLER_REG0_OFFSET + 0)(%rbp), %rax 237 movsd (-CALLER_VREG0_OFFSET + 0)(%rbp), [all...] |
H A D | expand_compiled_code_args_dyn_amd64.S | 41 addq %rdx, %rbp
|
/arkcompiler/runtime_core/static_core/runtime/tests/arch/amd64/ |
H A D | invokation_helper.S | 29 pushq %rbp 31 CFI_REL_OFFSET(rbp, 0) 33 movq %rsp, %rbp 34 CFI_DEF_CFA_REGISTER(rbp) 86 leaq -16(%rbp), %rsp 91 popq %rbp 92 CFI_RESTORE(rbp) 108 pushq %rbp 110 CFI_REL_OFFSET(rbp, 0) 111 movq %rsp, %rbp [all...] |
H A D | stack_walker_hook_bridge.S | 24 movq %rbp, %rsi
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
H A D | common_call.cpp | 47 __ Pushq(rbp); in PushAsmInterpBridgeFrame() 49 __ Leaq(Operand(rsp, 24), rbp); // 24: skip pc, prevSp and frame type in PushAsmInterpBridgeFrame() local 60 __ Movq(Operand(rbp, FRAME_SLOT_SIZE), r13); in GetArgvAtStack() 61 __ Movq(Operand(rbp, 2 * FRAME_SLOT_SIZE), r14); // 2: skip second argv in GetArgvAtStack() 71 __ Popq(rbp); in PopAsmInterpBridgeFrame() 128 __ Pushq(rbp); in PushAsmBridgeFrame() 130 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); in PushAsmBridgeFrame() local 136 __ Popq(rbp); in PopAsmBridgeFrame()
|
H A D | common_call.h | 280 assembler_->Pushq(rbp); in JsFunctionArgsConfigFrameScope() 283 assembler_->Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); in JsFunctionArgsConfigFrameScope() local 293 assembler_->Movq(rbp, rsp); in ~JsFunctionArgsConfigFrameScope() 300 assembler_->Pop(rbp); in ~JsFunctionArgsConfigFrameScope() 314 assembler_->Pushq(rbp); in OptimizedUnfoldArgVFrameFrameScope() 319 assembler_->Leaq(Operand(rsp, 2 * FRAME_SLOT_SIZE), rbp); in OptimizedUnfoldArgVFrameFrameScope() local 325 assembler_->Movq(rbp, rsp); in ~OptimizedUnfoldArgVFrameFrameScope() 330 assembler_->Popq(rbp); in ~OptimizedUnfoldArgVFrameFrameScope() 344 assembler_->Pushq(rbp); in OptimizedUnfoldArgVFrameFrame1Scope() 349 assembler_->Leaq(Operand(rsp, 2 * FRAME_SLOT_SIZE), rbp); in OptimizedUnfoldArgVFrameFrame1Scope() local [all...] |
H A D | optimized_call.cpp | 80 __ Popq(rbp); in JSFunctionEntry() 147 __ Pushq(rbp); in OptimizedCallAndPushArgv() 149 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); in OptimizedCallAndPushArgv() local 216 __ Pop(rbp); in OptimizedCallAndPushArgv() 285 __ Leaq(Operand(rbp, DOUBLE_SLOT_SIZE), rdi); // 2: skip rbp & return Addr in CallBuiltinTrampoline() 333 // push rbp & frameType in CallBuiltinConstructorStub() 338 __ Movq(rbp, rsp); in CallBuiltinConstructorStub() 339 __ Pop(rbp); in CallBuiltinConstructorStub() 477 __ Pushq(rbp); in GenJSCall() 479 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); GenJSCall() local 856 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); ThrowNonCallableInternal() local 888 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); JSBoundFunctionCallInternal() local 1033 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); // 8: skip frame type CallRuntime() local 1106 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); CallRuntimeWithArgv() local 1187 __ Leaq(Operand(rsp, 2 * FRAME_SLOT_SIZE), rbp); PushJSFunctionEntryFrame() local 1230 __ Leaq(Operand(rsp, 2 * FRAME_SLOT_SIZE), rbp); PushOptimizedUnfoldArgVFrame() local 1447 __ Movq(Operand(context, AsmStackContext::GetCallerFpOffset(false)), rbp); DeoptHandlerAsm() local [all...] |
H A D | asm_interpreter_call.cpp | 89 Register prevSpRegister = rbp; in GeneratorReEnterAsmInterpDispatch() 136 // prevSp - %rbp 238 __ Pushq(rbp); in PushAsmInterpEntryFrame() 249 __ Leaq(Operand(rsp, 3 * FRAME_SLOT_SIZE), rbp); // 3: 24 means skip frame type, prevSp and pc in PushAsmInterpEntryFrame() local 258 __ Popq(rbp); in PopAsmInterpEntryFrame() 355 // %rbp - sp // %rbp - sp 679 // Input: %rbp - sp 689 Register prevSpRegister = rbp; in PushVregs() 748 __ Movq(newSpRegister, rbp); in PushVregs() 868 __ Leaq(Operand(rsp, numArgs, Times8, 5 * FRAME_SLOT_SIZE), rbp); CallNativeWithArgv() local 909 __ Leaq(Operand(rsp, 5 * FRAME_SLOT_SIZE), rbp); CallNativeWithArgv() local 1103 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); // 8: skip frame type PushBuiltinFrame() local 1545 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); // skip frame type PreserveMostCall() local 1855 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); // skip frame type ThrowStackOverflowExceptionAndReturn() local 1885 __ Leaq(Operand(rsp, FRAME_SLOT_SIZE), rbp); // skip frame type ThrowStackOverflowExceptionAndReturnToAotFrame() local 1899 __ Movq(Operand(rbp, -2 * FRAME_SLOT_SIZE), rbp); // 2: skip returnAddr and frameType in AsmBridgeFrame ThrowStackOverflowExceptionAndReturnToAotFrame() local [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/ |
H A D | macro_assembler_x64.cpp | 24 x64::Register baseReg = (dstStackSlot.IsFrameBase()) ? x64::rbp : x64::rsp; in Move() 33 x64::Register dstBaseReg = (dstStackSlot.IsFrameBase()) ? x64::rbp : x64::rsp; in Move() 34 x64::Register srcBaseReg = (srcStackSlot.IsFrameBase()) ? x64::rbp : x64::rsp; in Move() 43 x64::Register baseReg = (stackSlot.IsFrameBase()) ? x64::rbp : x64::rsp; in Cmp() 71 x64::Register dstBaseReg = (dstStackSlot.IsFrameBase()) ? x64::rbp : x64::rsp; in SaveReturnRegister() 86 assembler.Movq(x64::Operand(x64::rbp, FUNCTION_OFFSET_FROM_SP), LOCAL_SCOPE_REGISTER); in MovParameterIntoParamReg() 94 assembler.Movq(x64::rbp, paramReg); in MovParameterIntoParamReg() 98 assembler.Movq(x64::Operand(x64::rbp, FUNCTION_OFFSET_FROM_SP), LOCAL_SCOPE_REGISTER); in MovParameterIntoParamReg() 133 x64::Register dstBaseReg = (stackSlotOpnd.IsFrameBase()) ? x64::rbp : x64::rsp; in MovParameterIntoParamReg()
|
H A D | extended_assembler_x64.cpp | 22 r13, rbp, r12, rbx, r14, rsi, rdi, r8, r9 25 rdi, rbp, rsi, rdx, rcx, r8, r9, rInvalid, rInvalid
|
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/amd64/ |
H A D | switch.S | 45 CFI_OFFSET(%rbp, GPR_O(RBP)) 46 movq GPR_O(RBP)(%rsi), %rbp
|
H A D | helpers.S | 26 movq %rbp, GPR_O(RBP)(\ctx_baseaddr_reg)
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/ |
H A D | callconv.cpp | 146 GetMasm()->push(asmjit::x86::rbp); // frame pointer in GeneratePrologue() 220 GetMasm()->pop(asmjit::x86::rbp); // frame pointer in GenerateEpilogue()
|
H A D | regfile.cpp | 147 regMask.set(ConvertRegNumber(asmjit::x86::rbp.id())); in GetDefaultRegMask()
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/ |
H A D | assembler_x64_test.cpp | 135 __ Pushq(rbp); in HWTEST_F_L0() 143 __ Popq(rbp); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/irtoc/lang/ |
H A D | irtoc.rb | 84 :rbp => 9,
|