Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for memclrNoHeapPointers (0.35 sec)

  1. test/codegen/slices.go

    	// ppc64x:-`.*runtime\.makeslice`
    	// ppc64x:-`.*runtime\.panicmakeslicelen`
    	return append(s, make([]int, uint(1<<2))...)
    }
    
    // On ppc64x continue to use memclrNoHeapPointers
    // for sizes >= 512.
    func SliceExtensionConst512(s []int) []int {
    	// amd64:-`.*runtime\.memclrNoHeapPointers`
    	// ppc64x:`.*runtime\.memclrNoHeapPointers`
    	return append(s, make([]int, 1<<9)...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 18:57:27 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. src/runtime/memclr_plan9_amd64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB),NOSPLIT,$0-16
    	MOVQ	ptr+0(FP), DI
    	MOVQ	n+8(FP), CX
    	MOVQ	CX, BX
    	ANDQ	$7, BX
    	SHRQ	$3, CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 29 19:11:07 UTC 2021
    - 511 bytes
    - Viewed (0)
  3. test/codegen/issue52635.go

    type T struct {
    	a *[10]int
    	b [10]int
    }
    
    func (t *T) f() {
    	// amd64:-".*runtime.memclrNoHeapPointers"
    	// amd64:"DUFFZERO"
    	for i := range t.a {
    		t.a[i] = 0
    	}
    
    	// amd64:-".*runtime.memclrNoHeapPointers"
    	// amd64:"DUFFZERO"
    	for i := range *t.a {
    		t.a[i] = 0
    	}
    
    	// amd64:-".*runtime.memclrNoHeapPointers"
    	// amd64:"DUFFZERO"
    	for i := range t.a {
    		(*t.a)[i] = 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 18:11:24 UTC 2023
    - 816 bytes
    - Viewed (0)
  4. src/runtime/memclr_wasm.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB), NOSPLIT, $0-16
    	MOVD ptr+0(FP), R0
    	MOVD n+8(FP), R1
    
    	Get R0
    	I32WrapI64
    	I32Const $0
    	Get R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 10:37:01 UTC 2022
    - 485 bytes
    - Viewed (0)
  5. src/runtime/memclr_plan9_386.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB), NOSPLIT, $0-8
    	MOVL	ptr+0(FP), DI
    	MOVL	n+4(FP), BX
    	XORL	AX, AX
    
    tail:
    	TESTL	BX, BX
    	JEQ	_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 29 19:11:07 UTC 2021
    - 983 bytes
    - Viewed (0)
  6. src/runtime/memclr_arm.s

    // THE SOFTWARE.
    
    #include "textflag.h"
    
    #define TO	R8
    #define TOE	R11
    #define N	R12
    #define TMP	R12				/* N and TMP don't overlap */
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    // Also called from assembly in sys_windows_arm.s without g (but using Go stack convention).
    TEXT runtime·memclrNoHeapPointers(SB),NOSPLIT,$0-8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 19 00:41:03 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. src/runtime/memclr_mipsx.s

    #include "textflag.h"
    
    #ifdef GOARCH_mips
    #define MOVWHI  MOVWL
    #define MOVWLO  MOVWR
    #else
    #define MOVWHI  MOVWR
    #define MOVWLO  MOVWL
    #endif
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB),NOSPLIT,$0-8
    	MOVW	n+4(FP), R2
    	MOVW	ptr+0(FP), R1
    
    	SGTU	$4, R2, R3
    	ADDU	R2, R1, R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. src/runtime/memclr_s390x.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB),NOSPLIT|NOFRAME,$0-16
    	MOVD	ptr+0(FP), R4
    	MOVD	n+8(FP), R5
    
    start:
    	CMPBLE	R5, $3, clear0to3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 29 19:11:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. src/runtime/memclr_loong64.s

    // Copyright 2022 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"
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers<ABIInternal>(SB),NOSPLIT,$0-16
    	ADDV	R4, R5, R6
    
    	// if less than 8 bytes, do one byte at a time
    	SGTU	$8, R5, R8
    	BNE	R8, out
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 766 bytes
    - Viewed (0)
  10. src/runtime/memclr_mips64x.s

    // license that can be found in the LICENSE file.
    
    //go:build mips64 || mips64le
    
    #include "go_asm.h"
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB),NOSPLIT,$0-16
    	MOVV	ptr+0(FP), R1
    	MOVV	n+8(FP), R2
    	ADDV	R1, R2, R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top