Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 158 for NoSplit (0.81 sec)

  1. 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)
  2. src/runtime/traceruntime.go

    	lockInit(&trace.lock, lockRankTrace)
    }
    
    // lockRankMayTraceFlush records the lock ranking effects of a
    // potential call to traceFlush.
    //
    // nosplit because traceAcquire is nosplit.
    //
    //go:nosplit
    func lockRankMayTraceFlush() {
    	lockWithRankMayAcquire(&trace.lock, getLockRank(&trace.lock))
    }
    
    // traceBlockReason is an enumeration of reasons a goroutine might block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/p256_asm_amd64.s

    TEXT ·p256OrdLittleToBig(SB),NOSPLIT,$0
    	JMP ·p256BigToLittle(SB)
    /* ---------------------------------------*/
    // func p256OrdBigToLittle(res *p256OrdElement, in *[32]byte)
    TEXT ·p256OrdBigToLittle(SB),NOSPLIT,$0
    	JMP ·p256BigToLittle(SB)
    /* ---------------------------------------*/
    // func p256LittleToBig(res *[32]byte, in *p256Element)
    TEXT ·p256LittleToBig(SB),NOSPLIT,$0
    	JMP ·p256BigToLittle(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/internal/runtime/syscall/asm_linux_amd64.s

    // r1  | AX          | AX
    // r2  | BX          | DX
    // err | CX          | part of AX
    //
    // Note that this differs from "standard" ABI convention, which would pass 4th
    // arg in CX, not R10.
    TEXT ·Syscall6<ABIInternal>(SB),NOSPLIT,$0
    	// a6 already in R9.
    	// a5 already in R8.
    	MOVQ	SI, R10 // a4
    	MOVQ	DI, DX  // a3
    	MOVQ	CX, SI  // a2
    	MOVQ	BX, DI  // a1
    	// num already in AX.
    	SYSCALL
    	CMPQ	AX, $0xfffffffffffff001
    	JLS	ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top