Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for armXadd64 (0.14 sec)

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

    	CMP	$0, R0
    	BNE	cas64loop
    	MOVW	$1, R0
    
    	DMB	MB_ISH
    
    	MOVBU	R0, swapped+20(FP)
    	RET
    cas64fail:
    	MOVW	$0, R0
    	MOVBU	R0, swapped+20(FP)
    	RET
    
    TEXT armXadd64<>(SB),NOSPLIT,$0-20
    	// addr is already in R1
    	MOVW	delta_lo+4(FP), R2
    	MOVW	delta_hi+8(FP), R3
    
    add64loop:
    	LDREXD	(R1), R4	// loads R4 and R5
    	ADD.S	R2, R4
    	ADC	R3, 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