Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for ctxt (0.09 sec)

  1. src/cmd/internal/obj/loong64/asm.go

    var xcmp [C_NCLASS][C_NCLASS]bool
    
    func span0(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if ctxt.Retpoline {
    		ctxt.Diag("-spectre=ret not supported on loong64")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	p := cursym.Func().Text
    	if p == nil || p.Link == nil { // handle external functions and ELF section symbols
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  2. src/cmd/internal/testdir/testdir_test.go

    	}
    
    	if strings.HasPrefix(name, "goexperiment.") {
    		return slices.Contains(build.Default.ToolTags, name)
    	}
    
    	if name == "cgo" && ctxt.cgoEnabled {
    		return true
    	}
    
    	if name == ctxt.GOOS || name == ctxt.GOARCH || name == "gc" {
    		return true
    	}
    
    	if ctxt.noOptEnv && name == "gcflags_noopt" {
    		return true
    	}
    
    	if name == "test_run" {
    		return true
    	}
    
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  3. src/runtime/traceback.go

    		// We don't have a cgo unwinder (typical case), or we do but we're not
    		// in a cgo frame or we're out of cgo context.
    		return 0
    	}
    
    	ctxt := u.g.ptr().cgoCtxt[u.cgoCtxt]
    	u.cgoCtxt--
    	cgoContextPCs(ctxt, pcBuf)
    	for i, pc := range pcBuf {
    		if pc == 0 {
    			return i
    		}
    	}
    	return len(pcBuf)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/runtime/asm_amd64.s

    	MOVQ	BX, g(CX)
    	MOVQ	(g_sched+gobuf_sp)(BX), SP
    	MOVQ	(g_sched+gobuf_bp)(BX), BP
    	CALL	runtime·newstack(SB)
    	CALL	runtime·abort(SB)	// crash if newstack returns
    	RET
    
    // morestack but not preserving ctxt.
    TEXT runtime·morestack_noctxt(SB),NOSPLIT,$0
    	MOVL	$0, DX
    	JMP	runtime·morestack(SB)
    
    // spillArgs stores return values from registers to a *internal/abi.RegArgs in R12.
    TEXT ·spillArgs(SB),NOSPLIT,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  5. src/runtime/mgcmark.go

    	}
    
    	// Scan the saved context register. This is effectively a live
    	// register that gets moved back and forth between the
    	// register and sched.ctxt without a write barrier.
    	if gp.sched.ctxt != nil {
    		scanblock(uintptr(unsafe.Pointer(&gp.sched.ctxt)), goarch.PtrSize, &oneptrmask[0], gcw, &state)
    	}
    
    	// Scan the stack. Accumulate a list of stack objects.
    	var u unwinder
    	for u.init(gp, 0); u.valid(); u.next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/regalloc.go

    			// we've seen so far. A new best spill candidate.
    			r = t
    			maxuse = n
    		}
    	}
    	if maxuse == -1 {
    		s.f.Fatalf("couldn't find register to spill")
    	}
    
    	if s.f.Config.ctxt.Arch.Arch == sys.ArchWasm {
    		// TODO(neelance): In theory this should never happen, because all wasm registers are equal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ppc64/ssa.go

    	case ssa.OpPPC64LoweredGetCallerSP:
    		// caller's SP is FixedFrameSize below the address of the first arg
    		p := s.Prog(ppc64.AMOVD)
    		p.From.Type = obj.TYPE_ADDR
    		p.From.Offset = -base.Ctxt.Arch.FixedFrameSize
    		p.From.Name = obj.NAME_PARAM
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    
    	case ssa.OpPPC64LoweredGetCallerPC:
    		p := s.Prog(obj.AGETCALLERPC)
    		p.To.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (MOVWload [off] {sym} (SB) _) && symIsRO(sym) => (MOVLconst [int32(read16(sym, int64(off), config.ctxt.Arch.ByteOrder))])
    (MOVLload [off] {sym} (SB) _) && symIsRO(sym) => (MOVQconst [int64(read32(sym, int64(off), config.ctxt.Arch.ByteOrder))])
    (MOVQload [off] {sym} (SB) _) && symIsRO(sym) => (MOVQconst [int64(read64(sym, int64(off), config.ctxt.Arch.ByteOrder))])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/out.go

    		fmt.Fprintf(fm, "void crosscall2(void(*fn)(void*) __attribute__((unused)), void *a __attribute__((unused)), int c __attribute__((unused)), size_t ctxt __attribute__((unused))) { }\n")
    		fmt.Fprintf(fm, "size_t _cgo_wait_runtime_init_done(void) { return 0; }\n")
    		fmt.Fprintf(fm, "void _cgo_release_context(size_t ctxt __attribute__((unused))) { }\n")
    		fmt.Fprintf(fm, "char* _cgo_topofstack(void) { return (char*)0; }\n")
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewrite.go

    	fn := sym.(*AuxCall).Fn
    	return fn != nil && fn.String() == name
    }
    
    // canLoadUnaligned reports if the architecture supports unaligned load operations.
    func canLoadUnaligned(c *Config) bool {
    	return c.ctxt.Arch.Alignment == 1
    }
    
    // nlzX returns the number of leading zeros.
    func nlz64(x int64) int { return bits.LeadingZeros64(uint64(x)) }
    func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top