Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for memequal_varlen (0.11 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)
  3. src/runtime/stubs.go

    	// the compiler will optimize the division.
    	return (n + a - 1) / a
    }
    
    // checkASM reports whether assembly runtime checks have passed.
    func checkASM() bool
    
    func memequal_varlen(a, b unsafe.Pointer) bool
    
    // bool2int returns 0 if x is false or 1 if x is true.
    func bool2int(x bool) int {
    	// Avoid branches. In the SSA compiler, this compiles to
    	// exactly what you would want it 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)
Back to top