Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for argsize (0.18 sec)

  1. src/runtime/export_debug_test.go

    	}
    	argp := a.data
    	var argSize uintptr
    	if argp != nil {
    		argSize = (*ptrtype)(unsafe.Pointer(a._type)).Elem.Size_
    	}
    
    	h := new(debugCallHandler)
    	h.gp = gp
    	// gp may not be running right now, but we can still get the M
    	// it will run on since it's locked.
    	h.mp = gp.lockedm.ptr()
    	h.fv, h.regArgs, h.argp, h.argSize = fv, regArgs, argp, argSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    	// Bizarre syntax: $frameSize-argSize is two words, not subtraction.
    	// Both frameSize and argSize must be simple integers; only frameSize
    	// can be negative.
    	// The "-argSize" may be missing; if so, set it to objabi.ArgsSizeUnknown.
    	// Parse left to right.
    	op := operands[next]
    	if len(op) < 2 || op[0].ScanToken != '$' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. src/runtime/stack.go

    	guard = g->stackguard
    	frame = function's stack frame size
    	argsize = size of function arguments (call + return)
    
    	stack frame size <= StackSmall:
    		CMPQ guard, SP
    		JHI 3(PC)
    		MOVQ m->morearg, $(argsize << 32)
    		CALL morestack(SB)
    
    	stack frame size > StackSmall but < StackBig
    		LEAQ (frame-StackSmall)(SP), R0
    		CMPQ guard, R0
    		JHI 3(PC)
    		MOVQ m->morearg, $(argsize << 32)
    		CALL morestack(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "CALLtail", argLength: -1, reg: regInfo{clobbers: callerSave}, aux: "CallOff", clobberFlags: true, call: true, tailCall: true},                         // tail call static function aux.(*obj.LSym).  arg0=mem, auxint=argsize, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "CALLtail", argLength: -1, reg: regInfo{clobbers: callerSave}, aux: "CallOff", clobberFlags: true, call: true, tailCall: true},                                 // tail call static function aux.(*obj.LSym).  last arg=mem, auxint=argsize, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    			typ, argsize, retOffset, stack, gc, inRegs, outRegs, ptrs := FuncLayout(lt.typ, lt.rcvr)
    			if typ.Size() != lt.size {
    				t.Errorf("funcLayout(%v, %v).size=%d, want %d", lt.typ, lt.rcvr, typ.Size(), lt.size)
    			}
    			if argsize != lt.argsize {
    				t.Errorf("funcLayout(%v, %v).argsize=%d, want %d", lt.typ, lt.rcvr, argsize, lt.argsize)
    			}
    			if retOffset != lt.retOffset {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. src/runtime/asm_arm64.s

    	ADD	$8, RSP, R5;			\
    	BIC	$0xf, R4, R6;			\
    	CBZ	R6, 6(PC);			\
    	/* if R6=(argsize&~15) != 0 */		\
    	ADD	R6, R5, R6;			\
    	/* copy 16 bytes a time */		\
    	LDP.P	16(R3), (R7, R8);		\
    	STP.P	(R7, R8), 16(R5);		\
    	CMP	R5, R6;				\
    	BNE	-3(PC);				\
    	AND	$0xf, R4, R6;			\
    	CBZ	R6, 6(PC);			\
    	/* if R6=(argsize&15) != 0 */		\
    	ADD	R6, R5, R6;			\
    	/* copy 1 byte a time for the rest */	\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  8. src/runtime/asm_loong64.s

    	JMP	(R4)
    
    #define CALLFN(NAME,MAXSIZE)			\
    TEXT NAME(SB), WRAPPER, $MAXSIZE-48;		\
    	NO_LOCAL_POINTERS;			\
    	/* copy arguments to stack */		\
    	MOVV	arg+16(FP), R4;			\
    	MOVWU	argsize+24(FP), R5;			\
    	MOVV	R3, R12;				\
    	ADDV	$8, R12;			\
    	ADDV	R12, R5;				\
    	BEQ	R12, R5, 6(PC);				\
    	MOVBU	(R4), R6;			\
    	ADDV	$1, R4;			\
    	MOVBU	R6, (R12);			\
    	ADDV	$1, R12;			\
    	JMP	-5(PC);				\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    //		This avoids parsing ambiguities due to the use of - as a separator.
    //		The ± are optional.
    //		If the final argument to TEXT omits the -±y, the encoding should still
    //		use TYPE_TEXTSIZE (not TYPE_CONST), with u.argsize = ArgsSizeUnknown.
    //		Encoding:
    //			type = TYPE_TEXTSIZE
    //			offset = x
    //			val = int32(y)
    //
    //	reg<<shift, reg>>shift, reg->shift, reg@>shift
    //		Shifted register value, for ARM and ARM64.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/runtime/asm_ppc64x.s

    	CALL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // R3: framesize, R4: argsize, R5: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
Back to top