Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for memequal (0.18 sec)

  1. src/internal/bytealg/equal_native.go

    // implemented in assembly in this package but declared in another
    // package.
    
    // The compiler generates calls to runtime.memequal and runtime.memequal_varlen.
    // In addition, the runtime calls runtime.memequal explicitly.
    // Those functions are implemented in this package.
    
    //go:linkname abigen_runtime_memequal runtime.memequal
    func abigen_runtime_memequal(a, b unsafe.Pointer, size uintptr) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 789 bytes
    - Viewed (0)
  2. src/internal/bytealg/equal_riscv64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    #define	CTXT	S10
    
    // func memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25
    	// X10 = a_base
    	// X11 = b_base
    	// X12 = size
    	JMP	memequal<>(SB)
    
    // func memequal_varlen(a, b unsafe.Pointer) bool
    TEXT runtime·memequal_varlen<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. test/codegen/strings.go

    	bsink = []byte("0123456789ab")
    }
    
    // self-equality is always true. See issue 60777.
    func EqualSelf(s string) bool {
    	// amd64:`MOVL\t\$1, AX`,-`.*memequal.*`
    	return s == s
    }
    func NotEqualSelf(s string) bool {
    	// amd64:`XORL\tAX, AX`,-`.*memequal.*`
    	return s != s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:17:28 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. src/internal/bytealg/equal_loong64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    #define	REGCTXT	R29
    
    // memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25
    	BEQ	R4, R5, eq
    	ADDV	R4, R6, R7
    	PCALIGN	$16
    loop:
    	BNE	R4, R7, test
    	MOVV	$1, R4
    	RET
    test:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 875 bytes
    - Viewed (0)
  5. src/internal/bytealg/equal_mipsx.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build mips || mipsle
    
    #include "go_asm.h"
    #include "textflag.h"
    
    #define	REGCTXT	R22
    
    // memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal(SB),NOSPLIT,$0-13
    	MOVW	a+0(FP), R1
    	MOVW	b+4(FP), R2
    	BEQ	R1, R2, eq
    	MOVW	size+8(FP), R3
    	ADDU	R1, R3, R4
    loop:
    	BNE	R1, R4, test
    	MOVW	$1, R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. src/internal/bytealg/equal_386.s

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    // memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal(SB),NOSPLIT,$0-13
    	MOVL	a+0(FP), SI
    	MOVL	b+4(FP), DI
    	CMPL	SI, DI
    	JEQ	eq
    	MOVL	size+8(FP), BX
    	LEAL	ret+12(FP), AX
    	JMP	memeqbody<>(SB)
    eq:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. src/internal/bytealg/equal_wasm.s

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    // memequal(p, q unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal(SB), NOSPLIT, $0-25
    	Get SP
    	I64Load a+0(FP)
    	I64Load b+8(FP)
    	I64Load size+16(FP)
    	Call memeqbody<>(SB)
    	I64Store8 ret+24(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.memmove", 1},
    	{"runtime.memclrNoHeapPointers", 1},
    	{"runtime.memclrHasPointers", 1},
    	{"runtime.memequal", 1},
    	{"runtime.memequal0", 1},
    	{"runtime.memequal8", 1},
    	{"runtime.memequal16", 1},
    	{"runtime.memequal32", 1},
    	{"runtime.memequal64", 1},
    	{"runtime.memequal128", 1},
    	{"runtime.f32equal", 1},
    	{"runtime.f64equal", 1},
    	{"runtime.c64equal", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/internal/bytealg/equal_mips64x.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build mips64 || mips64le
    
    #include "go_asm.h"
    #include "textflag.h"
    
    #define	REGCTXT	R22
    
    // memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal(SB),NOSPLIT|NOFRAME,$0-25
    	MOVV	a+0(FP), R1
    	MOVV	b+8(FP), R2
    	BEQ	R1, R2, eq
    	MOVV	size+16(FP), R3
    	ADDV	R1, R3, R4
    
    	// chunk size is 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. src/internal/bytealg/equal_ppc64x.s

    #define PAGE_OFFSET 4095
    
    // Likewise, the BC opcode is hard to read, and no extended
    // mnemonics are offered for these forms.
    #define BGELR_CR6 BC  4, CR6LT, (LR)
    #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
    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