Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for m_g0 (0.12 sec)

  1. src/runtime/libfuzzer_arm64.s

    	// Save the original return address in a local variable
    	MOVD	R30, savedRetAddr-8(SP)
    
    	MOVD	g_m(g), R10
    
    	// Switch to g0 stack.
    	MOVD	RSP, R19	// callee-saved, preserved across the CALL
    	MOVD	m_g0(R10), R11
    	CMP	R11, g
    	BEQ	call	// already on g0
    	MOVD	(g_sched+gobuf_sp)(R11), R12
    	MOVD	R12, RSP
    call:
    	// Load address of the ret sled into the default register for the return
    	// address.
    	ADR	ret_sled, R30
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 07 14:47:46 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. src/runtime/libfuzzer_amd64.s

    	MOVQ	s2+24(FP), RARG2
    	MOVQ	result+32(FP), RARG3
    
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	MOVQ	g_m(R14), R13
    
    	// Switch to g0 stack.
    	MOVQ	SP, R12		// callee-saved, preserved across the CALL
    	MOVQ	m_g0(R13), R10
    	CMPQ	R10, R14
    	JE	call	// already on g0
    	MOVQ	(g_sched+gobuf_sp)(R10), SP
    call:
    	ANDQ	$~15, SP	// alignment for gcc ABI
    	CALL	AX
    	MOVQ	R12, SP
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 04:57:07 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/runtime/asm_mips64x.s

    	ADDV	$const_stackGuard, R1
    	MOVV	R1, g_stackguard0(g)
    	MOVV	R1, g_stackguard1(g)
    
    	// set the per-goroutine and per-mach "registers"
    	MOVV	$runtime·m0(SB), R1
    
    	// save m->g0 = g0
    	MOVV	g, m_g0(R1)
    	// save m0 to g0->m
    	MOVV	R1, g_m(g)
    
    	JAL	runtime·check(SB)
    
    	// args are already prepared
    	JAL	runtime·args(SB)
    	JAL	runtime·osinit(SB)
    	JAL	runtime·schedinit(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  4. src/runtime/asm_wasm.s

    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    TEXT runtime·rt0_go(SB), NOSPLIT|NOFRAME|TOPFRAME, $0
    	// save m->g0 = g0
    	MOVD $runtime·g0(SB), runtime·m0+m_g0(SB)
    	// save m0 to g0->m
    	MOVD $runtime·m0(SB), runtime·g0+g_m(SB)
    	// set g to g0
    	MOVD $runtime·g0(SB), g
    	CALLNORESUME runtime·check(SB)
    #ifdef GOOS_js
    	CALLNORESUME runtime·args(SB)
    #endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/runtime/asm_riscv64.s

    	ADD	$const_stackGuard, T0
    	MOV	T0, g_stackguard0(g)
    	MOV	T0, g_stackguard1(g)
    
    	// set the per-goroutine and per-mach "registers"
    	MOV	$runtime·m0(SB), T0
    
    	// save m->g0 = g0
    	MOV	g, m_g0(T0)
    	// save m0 to g0->m
    	MOV	T0, g_m(g)
    
    	CALL	runtime·check(SB)
    
    	// args are already prepared
    	CALL	runtime·args(SB)
    	CALL	runtime·osinit(SB)
    	CALL	runtime·schedinit(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  6. src/runtime/asm_s390x.s

    	ADD	$const_stackGuard, R2
    	MOVD	R2, g_stackguard0(g)
    	MOVD	R2, g_stackguard1(g)
    
    	// set the per-goroutine and per-mach "registers"
    	MOVD	$runtime·m0(SB), R2
    
    	// save m->g0 = g0
    	MOVD	g, m_g0(R2)
    	// save m0 to g0->m
    	MOVD	R2, g_m(g)
    
    	BL	runtime·check(SB)
    
    	// argc/argv are already prepared on stack
    	BL	runtime·args(SB)
    	BL	runtime·checkS390xCPU(SB)
    	BL	runtime·osinit(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/runtime/asm_loong64.s

    	ADDV	$const_stackGuard, R19
    	MOVV	R19, g_stackguard0(g)
    	MOVV	R19, g_stackguard1(g)
    
    	// set the per-goroutine and per-mach "registers"
    	MOVV	$runtime·m0(SB), R19
    
    	// save m->g0 = g0
    	MOVV	g, m_g0(R19)
    	// save m0 to g0->m
    	MOVV	R19, g_m(g)
    
    	JAL	runtime·check(SB)
    
    	// args are already prepared
    	JAL	runtime·args(SB)
    	JAL	runtime·osinit(SB)
    	JAL	runtime·schedinit(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. src/runtime/asm_mipsx.s

    	ADD	$const_stackGuard, R1
    	MOVW	R1, g_stackguard0(g)
    	MOVW	R1, g_stackguard1(g)
    
    	// set the per-goroutine and per-mach "registers"
    	MOVW	$runtime·m0(SB), R1
    
    	// save m->g0 = g0
    	MOVW	g, m_g0(R1)
    	// save m0 to g0->m
    	MOVW	R1, g_m(g)
    
    	JAL	runtime·check(SB)
    
    	// args are already prepared
    	JAL	runtime·args(SB)
    	JAL	runtime·osinit(SB)
    	JAL	runtime·schedinit(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/runtime/asan_riscv64.s

    // Switches SP to g0 stack and calls (X14). Arguments already set.
    TEXT	asancall<>(SB), NOSPLIT, $0-0
    	MOV	X2, X8		// callee-saved
    	BEQZ	g, g0stack	// no g, still on a system stack
    	MOV	g_m(g), X21
    	MOV	m_g0(X21), X21
    	BEQ	X21, g, g0stack
    
    	MOV	(g_sched+gobuf_sp)(X21), X2
    
    g0stack:
    	JALR	RA, X14
    	MOV	X8, X2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 06:55:54 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. src/runtime/msan_loong64.s

    // Switches SP to g0 stack and calls (FARG). Arguments already set.
    TEXT	msancall<>(SB), NOSPLIT, $0-0
    	MOVV	R3, R23         // callee-saved
    	BEQ	g, g0stack      // no g, still on a system stack
    	MOVV	g_m(g), R14
    	MOVV	m_g0(R14), R15
    	BEQ	R15, g, g0stack
    
    	MOVV	(g_sched+gobuf_sp)(R15), R9
    	MOVV	R9, R3
    
    g0stack:
    	JAL	(FARG)
    	MOVV	R23, R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 01:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top