Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PUSH_REGS_HOST_TO_ABI0 (0.24 sec)

  1. src/runtime/cgo/abi_amd64.h

    // pointer, though it's harmless to not do this.
    
    #ifdef GOOS_windows
    
    // REGS_HOST_TO_ABI0_STACK is the stack bytes used by
    // PUSH_REGS_HOST_TO_ABI0.
    #define REGS_HOST_TO_ABI0_STACK (28*8 + 8)
    
    // PUSH_REGS_HOST_TO_ABI0 prepares for transitioning from
    // the host ABI to Go ABI0 code. It saves all registers that are
    // callee-save in the host ABI and caller-save in Go ABI0 and prepares
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 12:38:13 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/runtime/sys_dragonfly_amd64.s

    	ANDQ	$~15, SP	// alignment for x86_64 ABI
    	CALL	AX
    	MOVQ	BX, SP
    	RET
    
    // 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: Tue Jun 06 18:49:01 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top