Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for NoSplit (0.14 sec)

  1. src/internal/runtime/syscall/asm_linux_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"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	MOVD	num+0(FP), R1	// syscall entry
    	MOVD	a1+8(FP), R2
    	MOVD	a2+16(FP), R3
    	MOVD	a3+24(FP), R4
    	MOVD	a4+32(FP), R5
    	MOVD	a5+40(FP), R6
    	MOVD	a6+48(FP), R7
    	SYSCALL
    	MOVD	$0xfffffffffffff001, R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 663 bytes
    - Viewed (0)
  2. src/internal/runtime/syscall/asm_linux_ppc64x.s

    // license that can be found in the LICENSE file.
    
    //go:build linux && (ppc64 || ppc64le)
    
    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    TEXT ·Syscall6<ABIInternal>(SB),NOSPLIT,$0-80
    	MOVD	R3, R10	// Move syscall number to R10. SYSCALL will move it R0, and restore R0.
    	MOVD	R4, R3
    	MOVD	R5, R4
    	MOVD	R6, R5
    	MOVD	R7, R6
    	MOVD	R8, R7
    	MOVD	R9, R8
    	SYSCALL	R10
    	MOVD	$-1, R6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 702 bytes
    - Viewed (0)
  3. src/crypto/ecdsa/ecdsa_s390x.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !purego
    
    #include "textflag.h"
    
    // func kdsa(fc uint64, params *[4096]byte) (errn uint64)
    TEXT ·kdsa(SB), NOSPLIT|NOFRAME, $0-24
    	MOVD fc+0(FP), R0     // function code
    	MOVD params+8(FP), R1 // address parameter block
    
    loop:
    	KDSA R0, R4      // compute digital signature authentication
    	BVS  loop        // branch back if interrupted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 891 bytes
    - Viewed (0)
  4. src/internal/runtime/syscall/asm_linux_riscv64.s

    // a4  | A4          | A3
    // a5  | A5          | A4
    // a6  | A6          | A5
    //
    // r1  | A0          | A0
    // r2  | A1          | A1
    // err | A2          | part of A0
    TEXT ·Syscall6<ABIInternal>(SB),NOSPLIT,$0-80
    	MOV	A0, A7
    	MOV	A1, A0
    	MOV	A2, A1
    	MOV	A3, A2
    	MOV	A4, A3
    	MOV	A5, A4
    	MOV	A6, A5
    	ECALL
    	MOV	$-4096, T0
    	BLTU	T0, A0, err
    	// r1 already in A0
    	// r2 already in A1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 969 bytes
    - Viewed (0)
  5. src/internal/runtime/syscall/asm_linux_arm.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    TEXT ·Syscall6(SB),NOSPLIT,$0-40
    	MOVW	num+0(FP), R7	// syscall entry
    	MOVW	a1+4(FP), R0
    	MOVW	a2+8(FP), R1
    	MOVW	a3+12(FP), R2
    	MOVW	a4+16(FP), R3
    	MOVW	a5+20(FP), R4
    	MOVW	a6+24(FP), R5
    	SWI	$0
    	MOVW	$0xfffff001, R6
    	CMP	R6, R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 696 bytes
    - Viewed (0)
  6. src/runtime/memclr_loong64.s

    // 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
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R4, R8
    	BEQ	R8, words
    	MOVB	R0, (R4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 766 bytes
    - Viewed (0)
  7. src/runtime/debug.go

    //
    // This must be deeply nosplit because it is called from a function
    // prologue before the stack is set up and because the compiler will
    // call it from any splittable prologue (leading to infinite
    // recursion).
    //
    // Ideally it should also use very little stack because the linker
    // doesn't currently account for this in nosplit stack depth checking.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. test/codegen/stack.go

    	runtime.GC() // use some frame
    	// amd64:`.*b\+24\(SP\)`
    	// arm:`.*b\+4\(FP\)`
    	return b[1]
    }
    
    // Check that simple functions get promoted to nosplit, even when
    // they might panic in various ways. See issue 31219.
    // amd64:"TEXT\t.*NOSPLIT.*"
    func MightPanic(a []int, i, j, k, s int) {
    	_ = a[i]     // panicIndex
    	_ = a[i:j]   // panicSlice
    	_ = a[i:j:k] // also panicSlice
    	_ = i << s   // panicShift
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/runtime/tracetime.go

    // traceClockNow returns a monotonic timestamp. The clock this function gets
    // the timestamp from is specific to tracing, and shouldn't be mixed with other
    // clock sources.
    //
    // nosplit because it's called from exitsyscall, which is nosplit.
    //
    // traceClockNow is called by golang.org/x/exp/trace using linkname.
    //
    //go:linkname traceClockNow
    //go:nosplit
    func traceClockNow() traceTime {
    	if osHasLowResClock {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/internal/runtime/syscall/asm_linux_mipsx.s

    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    //
    // The 5th and 6th arg go at sp+16, sp+20.
    // Note that frame size of 20 means that 24 bytes gets reserved on stack.
    TEXT ·Syscall6(SB),NOSPLIT,$20-40
    	MOVW	num+0(FP), R2	// syscall entry
    	MOVW	a1+4(FP), R4
    	MOVW	a2+8(FP), R5
    	MOVW	a3+12(FP), R6
    	MOVW	a4+16(FP), R7
    	MOVW	a5+20(FP), R8
    	MOVW	a6+24(FP), R9
    	MOVW	R8, 16(R29)
    	MOVW	R9, 20(R29)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 876 bytes
    - Viewed (0)
Back to top