Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for armXchg64 (0.09 sec)

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

    	ADC	R3, R5
    
    	DMB	MB_ISHST
    
    	STREXD	R4, (R1), R0	// stores R4 and R5
    	CMP	$0, R0
    	BNE	add64loop
    
    	DMB	MB_ISH
    
    	MOVW	R4, new_lo+12(FP)
    	MOVW	R5, new_hi+16(FP)
    	RET
    
    TEXT armXchg64<>(SB),NOSPLIT,$0-20
    	// addr is already in R1
    	MOVW	new_lo+4(FP), R2
    	MOVW	new_hi+8(FP), R3
    
    swap64loop:
    	LDREXD	(R1), R4	// loads R4 and R5
    
    	DMB	MB_ISHST
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top