Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for argSize (0.17 sec)

  1. src/internal/abi/abi.go

    // by the CPU correctly.
    func (r *RegArgs) IntRegArgAddr(reg int, argSize uintptr) unsafe.Pointer {
    	if argSize > goarch.PtrSize || argSize == 0 || argSize&(argSize-1) != 0 {
    		panic("invalid argSize")
    	}
    	offset := uintptr(0)
    	if goarch.BigEndian {
    		offset = goarch.PtrSize - argSize
    	}
    	return unsafe.Pointer(uintptr(unsafe.Pointer(&r.Ints[reg])) + offset)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 15:51:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/reflect/abi.go

    }
    
    // intFromReg loads an argSize sized integer from reg and places it at to.
    //
    // argSize must be non-zero, fit in a register, and a power-of-two.
    func intFromReg(r *abi.RegArgs, reg int, argSize uintptr, to unsafe.Pointer) {
    	memmove(to, r.IntRegArgAddr(reg, argSize), argSize)
    }
    
    // intToReg loads an argSize sized integer and stores it into reg.
    //
    // argSize must be non-zero, fit in a register, and a power-of-two.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/reflect/asm_386.s

    #include "textflag.h"
    #include "funcdata.h"
    
    // makeFuncStub is the code half of the function returned by MakeFunc.
    // See the comment on the declaration of makeFuncStub in makefunc.go
    // for more details.
    // No argsize here, gc generates argsize info at call site.
    TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$20
    	NO_LOCAL_POINTERS
    	MOVL	DX, 0(SP)
    	LEAL	argframe+0(FP), CX
    	MOVL	CX, 4(SP)
    	MOVB	$0, 16(SP)
    	LEAL	16(SP), AX
    	MOVL	AX, 8(SP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 02 16:53:18 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. src/reflect/asm_arm.s

    #include "textflag.h"
    #include "funcdata.h"
    
    // makeFuncStub is jumped to by the code generated by MakeFunc.
    // See the comment on the declaration of makeFuncStub in makefunc.go
    // for more details.
    // No argsize here, gc generates argsize info at call site.
    TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$20
    	NO_LOCAL_POINTERS
    	MOVW	R7, 4(R13)
    	MOVW	$argframe+0(FP), R1
    	MOVW	R1, 8(R13)
    	MOVW	$0, R1
    	MOVB	R1, 20(R13)
    	ADD	$20, R13, R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 02 16:53:18 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/export_debug_arm64_test.go

    	// Write the argument frame size.
    	*(*uintptr)(unsafe.Pointer(uintptr(sp - 16))) = h.argSize
    	// Save current registers.
    	h.sigCtxt.savedRegs = *ctxt.regs()
    }
    
    // case 0
    func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(unsafe.Pointer(uintptr(sp)+8), h.argp, h.argSize)
    	if h.regArgs != nil {
    		storeRegArgs(ctxt.regs(), h.regArgs)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. src/runtime/export_debug_ppc64le_test.go

    	// Write the argument frame size.
    	*(*uintptr)(unsafe.Pointer(uintptr(sp - 32))) = h.argSize
    	// Save current registers.
    	h.sigCtxt.savedRegs = *ctxt.cregs()
    }
    
    // case 0
    func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(unsafe.Pointer(uintptr(sp)+32), h.argp, h.argSize)
    	if h.regArgs != nil {
    		storeRegArgs(ctxt.cregs(), h.regArgs)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/runtime/export_debug_amd64_test.go

    	*(*uintptr)(unsafe.Pointer(uintptr(rsp - 16))) = h.argSize
    	// Save current registers.
    	h.sigCtxt.savedRegs = *ctxt.regs()
    	h.sigCtxt.savedFP = *h.sigCtxt.savedRegs.fpstate
    	h.sigCtxt.savedRegs.fpstate = nil
    }
    
    // case 0
    func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) {
    	rsp := ctxt.rsp()
    	memmove(unsafe.Pointer(uintptr(rsp)), h.argp, h.argSize)
    	if h.regArgs != nil {
    		storeRegArgs(ctxt.regs(), h.regArgs)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. src/reflect/export_test.go

    func FuncLayout(t Type, rcvr Type) (frametype Type, argSize, retOffset uintptr, stack, gc, inReg, outReg []byte, ptrs bool) {
    	var ft *abi.Type
    	var abid abiDesc
    	if rcvr != nil {
    		ft, _, abid = funcLayout((*funcType)(unsafe.Pointer(t.common())), rcvr.common())
    	} else {
    		ft, _, abid = funcLayout((*funcType)(unsafe.Pointer(t.(*rtype))), nil)
    	}
    	// Extract size information.
    	argSize = abid.stackCallArgsSize
    	retOffset = abid.retOffset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "LoweredTailCall", argLength: 1, reg: regInfo{clobbers: callerSave}, aux: "CallOff", 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: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
Back to top