Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for STACK_AND_SAVE_HOST_TO_GO_ABI (0.29 sec)

  1. src/runtime/cgo/abi_ppc64x.h

    // This assumes the caller's frame is compliant with the host ABI.
    // CR and LR are saved into the caller's frame per the host ABI.
    // R0 is initialized to $0 as expected by Go.
    #define STACK_AND_SAVE_HOST_TO_GO_ABI(extra)                       \
    	MOVD	LR, R0                                             \
    	MOVD	R0, 16(R1)                                         \
    	MOVW	CR, R0                                             \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 03 20:17:02 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/runtime/cgo/asm_ppc64x.s

    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	// Start with standard C stack frame layout and linkage, allocate
    	// 32 bytes of argument space, save callee-save regs, and set R0 to $0.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(32)
    	// The above will not preserve R2 (TOC). Save it in case Go is
    	// compiled without a TOC pointer (e.g -buildmode=default).
    	MOVD	R2, 24(R1)
    
    	// Load the current g.
    	BL	runtime·load_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. src/runtime/rt0_linux_ppc64le.s

    	BR _main<>(SB)
    
    TEXT _rt0_ppc64le_linux_lib(SB),NOSPLIT|NOFRAME,$0
    	// This is called with ELFv2 calling conventions. Convert to Go.
    	// Allocate argument storage for call to newosproc0.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(16)
    
    	MOVD	R3, _rt0_ppc64le_linux_lib_argc<>(SB)
    	MOVD	R4, _rt0_ppc64le_linux_lib_argv<>(SB)
    
    	// Synchronous initialization.
    	MOVD	$runtime·libpreinit(SB), R12
    	MOVD	R12, CTR
    	BL	(CTR)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/runtime/sys_linux_ppc64x.s

    TEXT runtime·sigtramp(SB),NOSPLIT|NOFRAME,$0
    #endif
    	// This is called with ELF calling conventions. Convert to Go.
    	// Allocate space for argument storage to call runtime.sigtrampgo.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(32)
    
    	// this might be called in external code context,
    	// where g is not set.
    	MOVBZ	runtime·iscgo(SB), R6
    	CMP	R6, $0
    	BEQ	2(PC)
    	BL	runtime·load_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/runtime/race_ppc64le.s

    	MOVD	g_m(R11), R3
    	MOVD	m_p(R3), R3
    	MOVD	p_raceprocctx(R3), R3
    	MOVD	R3, (R4)
    	RET
    
    rest:
    	// Save registers according to the host PPC64 ABI
    	// and reserve 16B for argument storage.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(16)
    
    	// Load g, and switch to g0 if not already on it.
    	MOVD	runtime·tls_g(SB), R10
    	MOVD	0(R10), g
    
    	MOVD	g_m(g), R7
    	MOVD	m_g0(R7), R8
    	CMP	g, R8
    	BEQ	noswitch
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top