Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for publicationBarrier (0.26 sec)

  1. src/runtime/stubs.go

    // call on the stack will cause gentraceback to stop walking the stack
    // prematurely and if there is leftover state it may panic.
    func goexit(neverCallThisFunction)
    
    // publicationBarrier performs a store/store barrier (a "publication"
    // or "export" barrier). Some form of synchronization is required
    // between initializing an object and making that object accessible to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. src/runtime/sys_windows_arm.s

    	BL	runtime·emptyfunc(SB)	// fault if stack check is wrong
    	BL	runtime·mstart(SB)
    
    	// Exit the thread.
    	MOVW	$0, R0
    	MOVM.IA.W (R13), [R4-R11, R15]		// pop {r4-r11, pc}
    
    TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	B	runtime·armPublicationBarrier(SB)
    
    // never called (this is a GOARM=7 platform)
    TEXT runtime·read_tls_fallback(SB),NOSPLIT,$0
    	MOVW	$0xabcd, R0
    	MOVW	R0, (R0)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. src/runtime/sys_netbsd_arm.s

    	MOVW arg+8(FP), R2
    	SWI $SYS_fcntl
    	MOVW $0, R1
    	MOVW.CS R0, R1
    	MOVW.CS $-1, R0
    	MOVW R0, ret+12(FP)
    	MOVW R1, errno+16(FP)
    	RET
    
    // TODO: this is only valid for ARMv7+
    TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	B	runtime·armPublicationBarrier(SB)
    
    TEXT runtime·read_tls_fallback(SB),NOSPLIT|NOFRAME,$0
    	MOVM.WP [R1, R2, R3, R12], (R13)
    	SWI $SYS__lwp_getprivate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. src/runtime/asm_wasm.s

    	JMP	runtime·memhash64Fallback(SB)
    
    TEXT runtime·return0(SB), NOSPLIT, $0-0
    	MOVD $0, RET0
    	RET
    
    TEXT runtime·asminit(SB), NOSPLIT, $0-0
    	// No per-thread init.
    	RET
    
    TEXT ·publicationBarrier(SB), NOSPLIT, $0-0
    	RET
    
    TEXT runtime·procyield(SB), NOSPLIT, $0-0 // FIXME
    	RET
    
    TEXT runtime·breakpoint(SB), NOSPLIT, $0-0
    	UNDEF
    
    // func switchToCrashStack0(fn func())
    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/sys_freebsd_arm.s

    	MOVW $SYS_fcntl, R7
    	SWI $0
    	MOVW $0, R1
    	MOVW.CS R0, R1
    	MOVW.CS $-1, R0
    	MOVW R0, ret+12(FP)
    	MOVW R1, errno+16(FP)
    	RET
    
    // TODO: this is only valid for ARMv7+
    TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	B	runtime·armPublicationBarrier(SB)
    
    // TODO(minux): this only supports ARMv6K+.
    TEXT runtime·read_tls_fallback(SB),NOSPLIT|NOFRAME,$0
    	WORD $0xee1d0f70 // mrc p15, 0, r0, c13, c0, 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. src/runtime/sys_linux_arm.s

    // this for us.
    
    TEXT kernelPublicationBarrier<>(SB),NOSPLIT,$0
    	// void __kuser_memory_barrier(void);
    	MOVW	$0xffff0fa0, R11
    	CALL	(R11)
    	RET
    
    TEXT ·publicationBarrier(SB),NOSPLIT,$0
    	MOVB	·goarm(SB), R11
    	CMP	$7, R11
    	BLT	2(PC)
    	JMP	·armPublicationBarrier(SB)
    	JMP	kernelPublicationBarrier<>(SB) // extra layer so this function is leaf and no SP adjustment on GOARM=7
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  7. src/runtime/asm_arm.s

    // On earlier ARM revisions, armPublicationBarrier is a no-op.
    // This will not work on SMP ARMv6 machines, if any are in use.
    // To implement publicationBarrier in sys_$GOOS_arm.s using the native
    // instructions, use:
    //
    //	TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    //		B	runtime·armPublicationBarrier(SB)
    //
    TEXT runtime·armPublicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·goarm(SB), R11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  8. src/runtime/sys_openbsd_arm.s

    	BL	runtime·load_g(SB)
    
    	MOVW	R1, 8(R13)
    	MOVW	R2, 12(R13)
    	BL	runtime·sigtrampgo(SB)
    
    	// Restore callee-save registers.
    	ADD	$16, R13
    	MOVM.IA.W (R13), [R4-R11]
    
    	RET
    
    TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	B	runtime·armPublicationBarrier(SB)
    
    // TODO(jsing): OpenBSD only supports GOARM=7 machines... this
    // should not be needed, however the linker still allows GOARM=5
    // on this platform.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  9. src/runtime/asm_s390x.s

    	BYTE $0x07; BYTE $0x00; // 2-byte nop
    	BL	runtime·goexit1(SB)	// does not return
    	// traceback from goexit1 must hit code range of goexit
    	BYTE $0x07; BYTE $0x00; // 2-byte nop
    
    TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	// Stores are already ordered on s390x, so this is just a
    	// compile barrier.
    	RET
    
    // This is called from .init_array and follows the platform, not Go, ABI.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/runtime/malloc.go

    	// the caller can make x observable to the garbage
    	// collector. Otherwise, on weakly ordered machines,
    	// the garbage collector could follow a pointer to x,
    	// but see uninitialized memory or stale heap bits.
    	publicationBarrier()
    	// As x and the heap bits are initialized, update
    	// freeIndexForScan now so x is seen by the GC
    	// (including conservative scan) as an allocated object.
    	// While this pointer can't escape into user code as a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top