Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 503 for sP (0.02 sec)

  1. test/fixedbugs/issue19137.go

    // SP. Folding arg's address into load/store may cause odd offset.
    func move(a, b [20]byte) [20]byte {
    	var x [1000]int // a large stack frame
    	_ = x
    	return b // b is not 8-byte aligned to SP
    }
    func zero() ([20]byte, [20]byte) {
    	var x [1000]int // a large stack frame
    	_ = x
    	return [20]byte{}, [20]byte{} // the second return value is not 8-byte aligned to SP
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 22:28:17 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    	if sp != 0 && (sp < gp.stack.lo || gp.stack.hi < sp) {
    		print("recover: ", hex(sp), " not in [", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n")
    		throw("bad recovery")
    	}
    
    	// Make the deferproc for this d return again,
    	// this time returning 1. The calling function will
    	// jump to the standard return epilogue.
    	gp.sched.sp = sp
    	gp.sched.pc = pc
    	gp.sched.lr = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. src/syscall/asm9_unix2_amd64.s

    	MOVQ	a8+64(FP), R12
    	MOVQ	a9+72(FP), R13
    
    	// only the first 6 arguments can be passed in registers,
    	// the last three should be placed at the top of the stack.
    	MOVQ	R11, 8(SP)	// arg 7
    	MOVQ	R12, 16(SP)	// arg 8
    	MOVQ	R13, 24(SP)	// arg 9
    
    	SYSCALL
    	JCC	ok9
    	MOVQ	$-1, r1+80(FP)	// r1
    	MOVQ	$0, r2+88(FP)	// r2
    	MOVQ	AX, err+96(FP)	// errno
    	CALL	runtime·exitsyscall<ABIInternal>(SB)
    	RET
    ok9:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 16:59:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/internal/abi/stack.go

    	// whether the stack frame of a function is small, big, or huge.
    
    	// After a stack split check the SP is allowed to be StackSmall bytes below
    	// the stack guard.
    	//
    	// Functions that need frames <= StackSmall can perform the stack check
    	// using a single comparison directly between the stack guard and the SP
    	// because we ensure that StackSmall bytes of stack space are available
    	// beyond the stack guard.
    	StackSmall = 128
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    			// Format the sparse map.
    			formatSPD := func(sp sparseDatas, sa sparseArray) sparseDatas {
    				for i := 0; len(sp) > 0 && i < sa.MaxEntries(); i++ {
    					f.formatNumeric(sa.Entry(i).Offset(), sp[0].Offset)
    					f.formatNumeric(sa.Entry(i).Length(), sp[0].Length)
    					sp = sp[1:]
    				}
    				if len(sp) > 0 {
    					sa.IsExtended()[0] = 1
    				}
    				return sp
    			}
    			sp2 := formatSPD(spd, blk.GNU().Sparse())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/runtime/os_windows.go

    	gp := gFromSP(mp, c.sp())
    
    	sigprof(c.ip(), c.sp(), c.lr(), gp, mp)
    }
    
    func gFromSP(mp *m, sp uintptr) *g {
    	if gp := mp.g0; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi {
    		return gp
    	}
    	if gp := mp.gsignal; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi {
    		return gp
    	}
    	if gp := mp.curg; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi {
    		return gp
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  7. src/runtime/print.go

    // should use printhex instead of printuint (decimal).
    type hex uint64
    
    func bytes(s string) (ret []byte) {
    	rp := (*slice)(unsafe.Pointer(&ret))
    	sp := stringStructOf(&s)
    	rp.array = sp.str
    	rp.len = sp.len
    	rp.cap = sp.len
    	return
    }
    
    var (
    	// printBacklog is a circular buffer of messages written with the builtin
    	// print* functions, for use in postmortem analysis of core dumps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. test/codegen/zerosize.go

    // See issue 24993.
    
    package codegen
    
    func zeroSize() {
    	c := make(chan struct{})
    	// amd64:`MOVQ\t\$0, command-line-arguments\.s\+56\(SP\)`
    	var s *int
    	// force s to be a stack object, also use some (fixed) stack space
    	g(&s, 1, 2, 3, 4, 5)
    
    	// amd64:`LEAQ\tcommand-line-arguments\..*\+55\(SP\)`
    	c <- struct{}{}
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 18:19:47 UTC 2022
    - 650 bytes
    - Viewed (0)
  9. src/runtime/memmove_arm.s

    	AND.S	$3, FROM, TMP
    	BNE	_bunaligned
    
    	ADD	$31, TS, TMP	/* do 32-byte chunks if possible */
    	MOVW	TS, savedts-4(SP)
    _b32loop:
    	CMP	TMP, TE
    	BLS	_b4tail
    
    	MOVM.DB.W (FROM), [R0-R7]
    	MOVM.DB.W [R0-R7], (TE)
    	B	_b32loop
    
    _b4tail:				/* do remaining words if possible */
    	MOVW	savedts-4(SP), TS
    	ADD	$3, TS, TMP
    _b4loop:
    	CMP	TMP, TE
    	BLS	_b1tail
    
    	MOVW.W	-4(FROM), TMP1	/* pre-indexed */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  10. src/runtime/asm_arm.s

    	// Save current m->g0->sched.sp on stack and then set it to SP.
    	// Save current sp in m->g0->sched.sp in preparation for
    	// switch back to m->curg stack.
    	// NOTE: unwindm knows that the saved g->sched.sp is at 4(R13) aka savedsp-12(SP).
    	MOVW	m_g0(R8), R3
    	MOVW	(g_sched+gobuf_sp)(R3), R4
    	MOVW	R4, savedsp-12(SP)	// must match frame size
    	MOVW	R13, (g_sched+gobuf_sp)(R3)
    
    	// Switch to m->curg stack and call runtime.cgocallbackg.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
Back to top