Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for memory_barrier (0.15 sec)

  1. src/internal/runtime/atomic/sys_linux_arm.s

    // this for us.
    
    // Use kernel helper version of memory_barrier, when compiled with GOARM < 7.
    TEXT memory_barrier<>(SB),NOSPLIT|NOFRAME,$0
    	MOVW	$0xffff0fa0, R15 // R15 is hardware PC.
    
    TEXT	·Load(SB),NOSPLIT,$0-8
    	MOVW	addr+0(FP), R0
    	MOVW	(R0), R1
    
    	MOVB	runtime·goarm(SB), R11
    	CMP	$7, R11
    	BGE	native_barrier
    	BL	memory_barrier<>(SB)
    	B	end
    native_barrier:
    	DMB	MB_ISH
    end:
    	MOVW	R1, ret+4(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top