Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for memequal_varlen (0.31 sec)

  1. src/internal/bytealg/equal_arm64.s

    	// short path to handle 0-byte case
    	CBZ	R2, equal
    	// short path to handle equal pointers
    	CMP	R0, R1
    	BEQ	equal
    	B	memeqbody<>(SB)
    equal:
    	MOVD	$1, R0
    	RET
    
    // memequal_varlen(a, b unsafe.Pointer) bool
    TEXT runtime·memequal_varlen<ABIInternal>(SB),NOSPLIT,$0-17
    	CMP	R0, R1
    	BEQ	eq
    	MOVD	8(R26), R2    // compiler stores size at offset 8 in the closure
    	CBZ	R2, eq
    	B	memeqbody<>(SB)
    eq:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 16:07:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/internal/bytealg/equal_ppc64x.s

    #define BEQLR     BC 12, CR0EQ, (LR)
    
    // memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25
    	// R3 = a
    	// R4 = b
    	// R5 = size
    	BR	memeqbody<>(SB)
    
    // memequal_varlen(a, b unsafe.Pointer) bool
    TEXT runtime·memequal_varlen<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-17
    	// R3 = a
    	// R4 = b
    	CMP	R3, R4
    	BEQ	eq
    	MOVD	8(R11), R5    // compiler stores size at offset 8 in the closure
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top