Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for Uregs (0.04 sec)

  1. src/runtime/debug_test.go

    		return x + 1, y + 1.0
    	}
    	var args *stackArgs
    	var regs abi.RegArgs
    	intRegs := regs.Ints[:]
    	floatRegs := regs.Floats[:]
    	fval := float64(42.0)
    	if len(intRegs) > 0 {
    		intRegs[0] = 42
    		floatRegs[0] = math.Float64bits(fval)
    	} else {
    		args = &stackArgs{
    			x0: 42,
    			x1: 42.0,
    		}
    	}
    
    	if _, err := runtime.InjectDebugCall(g, fn, &regs, args, debugCallTKill, false); err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/runtime/mbarrier.go

    	}
    	memmove(dst, src, size)
    
    	// Move pointers returned in registers to a place where the GC can see them.
    	for i := range regs.Ints {
    		if regs.ReturnIsPtr.Get(i) {
    			regs.Ptrs[i] = unsafe.Pointer(regs.Ints[i])
    		}
    	}
    }
    
    // typedslicecopy should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/op.go

    	scale             uint8     // amd64/386 indexed load scale
    }
    
    type inputInfo struct {
    	idx  int     // index in Args array
    	regs regMask // allowed input registers
    }
    
    type outputInfo struct {
    	idx  int     // index in output tuple
    	regs regMask // allowed output registers
    }
    
    type regInfo struct {
    	// inputs encodes the register restrictions for an instruction's inputs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. src/runtime/cgo/asm_ppc64x.s

    // the caller's frame due to issue #43228.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	// Start with standard C stack frame layout and linkage, allocate
    	// 32 bytes of argument space, save callee-save regs, and set R0 to $0.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(32)
    	// The above will not preserve R2 (TOC). Save it in case Go is
    	// compiled without a TOC pointer (e.g -buildmode=default).
    	MOVD	R2, 24(R1)
    
    	// Load the current g.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_mips64x.go

    	s.Ctim = Timespec{int64(st.Ctime), int64(st.Ctime_nsec)}
    	s.Blksize = st.Blksize
    	s.Blocks = st.Blocks
    }
    
    func (r *PtraceRegs) PC() uint64 { return r.Regs[64] }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = pc }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_mipsx.go

    	}
    
    	_, _, errno = RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func (r *PtraceRegs) PC() uint64 { return uint64(r.Regs[64]) }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = uint32(pc) }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. src/runtime/defs_linux_arm64.go

    }
    
    type stackt struct {
    	ss_sp     *byte
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	fault_address uint64
    	/* AArch64 registers */
    	regs       [31]uint64
    	sp         uint64
    	pc         uint64
    	pstate     uint64
    	_pad       [8]byte // __attribute__((__aligned__(16)))
    	__reserved [4096]byte
    }
    
    type sockaddr_un struct {
    	family uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_ppc64.go

    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	_unused     [4]uint64
    	signal      int32
    	_pad0       int32
    	handler     uint64
    	oldmask     uint64
    	regs        *ptregs
    	gp_regs     [48]uint64
    	fp_regs     [33]float64
    	v_regs      *vreg
    	vmx_reserve [101]int64
    }
    
    type ucontext struct {
    	uc_flags    uint64
    	uc_link     *ucontext
    	uc_stack    stackt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/runtime/syscall_windows.go

    	a.retPop = c.retPop
    
    	// Convert from C to Go ABI.
    	var regs abi.RegArgs
    	var frame [callbackMaxFrame]byte
    	goArgs := unsafe.Pointer(&frame)
    	for _, part := range c.abiMap.parts {
    		switch part.kind {
    		case abiPartStack:
    			memmove(add(goArgs, part.dstStackOffset), add(a.args, part.srcStackOffset), part.len)
    		case abiPartReg:
    			goReg := unsafe.Pointer(&regs.Ints[part.dstRegister])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/runtime/race_s390x.s

    	STMG	R6, R15, 48(R15)		// Save non-volatile regs.
    	BL	runtimeĀ·load_g(SB)		// Saved by racecall.
    	CMPBNE	R2, $0, rest			// raceGetProcCmd?
    	MOVD	g_m(g), R2			// R2 = thread.
    	MOVD	m_p(R2), R2			// R2 = processor.
    	MVC	$8, p_raceprocctx(R2), (R3)	// *R3 = ThreadState *.
    	LMG	48(R15), R6, R15		// Restore non-volatile regs.
    	BR	R14				// Return to C.
    rest:	MOVD	g_m(g), R4			// R4 = current thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top