Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PUSH_REGS_HOST_TO_ABI0 (0.23 sec)

  1. src/runtime/sys_windows_amd64.s

    // exception record and context pointers.
    // DX is the kind of sigtramp function.
    // Return value of sigtrampgo is stored in AX.
    TEXT sigtramp<>(SB),NOSPLIT,$0-0
    	// Switch from the host ABI to the Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// Set up ABIInternal environment: cleared X15 and R14.
    	// R14 is cleared in case there's a non-zero value in there
    	// if called from a non-go thread.
    	XORPS	X15, X15
    	XORQ	R14, R14
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/runtime/cgo/asm_amd64.s

    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    // This signature is known to SWIG, so we can't change it.
    TEXT crosscall2(SB),NOSPLIT,$0-0
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// Make room for arguments to cgocallback.
    	ADJSP	$0x18
    #ifndef GOOS_windows
    	MOVQ	DI, 0x0(SP)	/* fn */
    	MOVQ	SI, 0x8(SP)	/* arg */
    	// Skip n in DX.
    	MOVQ	CX, 0x10(SP)	/* ctxt */
    #else
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/runtime/sys_darwin_amd64.s

    // a signal is received. It just redirects to the Go function sigtrampgo.
    // Called using C ABI.
    TEXT runtimeĀ·sigtramp(SB),NOSPLIT|TOPFRAME|NOFRAME,$0
    	// Transition from C ABI to Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// Set up ABIInternal environment: g in R14, cleared X15.
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	PXOR	X15, X15
    
    	// Reserve space for spill slots.
    	NOP	SP		// disable vet stack checking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. src/runtime/race_amd64.s

    	MOVQ	g(RARG0), RARG0
    	MOVQ	g_m(RARG0), RARG0
    	MOVQ	m_p(RARG0), RARG0
    	MOVQ	p_raceprocctx(RARG0), RARG0
    	MOVQ	RARG0, (RARG1)
    	RET
    
    rest:
    	// Transition from C ABI to Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    	// Set g = g0.
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	MOVQ	g_m(R14), R13
    	MOVQ	m_g0(R13), R15
    	CMPQ	R13, R15
    	JEQ	noswitch	// branch if already on g0
    	MOVQ	R15, g(R12)	// g = m->g0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/runtime/asm_amd64.s

    // We expect argc and argv to be passed in the usual C ABI registers
    // DI and SI.
    TEXT _rt0_amd64_lib(SB),NOSPLIT|NOFRAME,$0
    	// Transition from C ABI to Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	MOVQ	DI, _rt0_amd64_lib_argc<>(SB)
    	MOVQ	SI, _rt0_amd64_lib_argv<>(SB)
    
    	// Synchronous initialization.
    	CALL	runtimeĀ·libpreinit(SB)
    
    	// Create a new thread to finish Go runtime initialization.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top