Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for spills (4.53 sec)

  1. src/cmd/compile/internal/ssa/regalloc.go

    	}
    	// So can all of the spill locations.
    	for _, spillID := range stacklive {
    		v := e.s.orig[spillID]
    		spill := e.s.values[v.ID].spill
    		if !e.s.sdom.IsAncestorEq(spill.Block, e.p) {
    			// Spills were placed that only dominate the uses found
    			// during the first regalloc pass. The edge fixup code
    			// can't use a spill location if the spill doesn't dominate
    			// the edge.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug.go

    			cloRegStore = v
    			continue
    		}
    		if ok, r := isRegMoveLike(v); ok {
    			if removed := removeReg(r); removed {
    				if len(regArgs) == 0 {
    					// Found our last spill; return the value after
    					// it. Note that it is possible that this spill is
    					// the last instruction in the block. If so, then
    					// return the "end of block" sentinel.
    					if k < len(f.Entry.Values)-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  3. src/go/build/build.go

    	// (which means gcc will compile them).
    	// The standard assemblers expect .s files.
    	if len(p.CgoFiles) > 0 {
    		p.SFiles = append(p.SFiles, Sfiles...)
    		slices.Sort(p.SFiles)
    	} else {
    		p.IgnoredOtherFiles = append(p.IgnoredOtherFiles, Sfiles...)
    		slices.Sort(p.IgnoredOtherFiles)
    	}
    
    	if badGoError != nil {
    		return p, badGoError
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/cmd/dist/build.go

    		if !t.IsZero() && !strings.HasSuffix(p, ".a") && !shouldbuild(p, pkg) {
    			return false
    		}
    		if strings.HasSuffix(p, ".go") {
    			gofiles = append(gofiles, p)
    		} else if strings.HasSuffix(p, ".s") {
    			sfiles = append(sfiles, p)
    		}
    		if t.After(ttarg) {
    			stale = true
    		}
    		return true
    	})
    
    	// If there are no files to compile, we're done.
    	if len(files) == 0 {
    		return
    	}
    
    	if !stale {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// arg2 = mem
    		// returns mem
    		//	STP.P	(ZR,ZR), 16(R16)
    		//	CMP	Rarg1, R16
    		//	BLE	-2(PC)
    		// Note: the-end-of-the-memory may be not a valid pointer. it's a problem if it is spilled.
    		// the-end-of-the-memory - 16 is with the area to zero, ok to spill.
    		{
    			name:      "LoweredZero",
    			argLength: 3,
    			reg: regInfo{
    				inputs:   []regMask{buildReg("R16"), gp},
    				clobbers: buildReg("R16"),
    			},
    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. cmd/test-utils_test.go

    	encodedResource := req.URL.RawPath
    	encodedQuery := req.URL.RawQuery
    	if encodedResource == "" {
    		splits := strings.SplitN(req.URL.Path, "?", 2)
    		encodedResource = splits[0]
    		if len(splits) == 2 {
    			encodedQuery = splits[1]
    		}
    	}
    
    	unescapedQueries, err := unescapeQueries(encodedQuery)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ppc64/ssa.go

    		ssagen.AddrAuto(&p.To, v)
    
    	case ssa.OpArgIntReg, ssa.OpArgFloatReg:
    		// The assembler needs to wrap the entry safepoint/stack growth code with spill/unspill
    		// The loop only runs once.
    		for _, a := range v.Block.Func.RegArgs {
    			// Pass the spill/unspill information along to the assembler, offset by size of
    			// the saved LR slot.
    			addr := ssagen.SpillSlotAddr(a, ppc64.REGSP, base.Ctxt.Arch.FixedFrameSize)
    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/S390X.rules

    //
    // This is a hazard when folding sign- and zero-extensions since we need to
    // ensure not only that the value in the argument register is correctly
    // extended but also that it will still be correctly extended if it is
    // spilled and restored.
    //
    // In general this means we need type checks when the RHS of a rule is an
    // OpCopy (i.e. "(... x:(...) ...) -> x").
    
    // Merge double extensions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/riscv/obj.go

    	if framesize == 0 {
    		return p
    	}
    
    	if ctxt.Flag_maymorestack != "" {
    		// Save LR and REGCTXT
    		const frameSize = 16
    		p = ctxt.StartUnsafePoint(p, newprog)
    
    		// Spill Arguments. This has to happen before we open
    		// any more frame space.
    		p = cursym.Func().SpillRegisterArgs(p, newprog)
    
    		// MOV LR, -16(SP)
    		p = obj.Appendp(p, newprog)
    		p.As = AMOV
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  10. src/runtime/asm_amd64.s

    goodm:
    	MOVQ	R14, AX		// AX (and arg 0) = g
    	MOVQ	SI, R14		// g = g.m.g0
    	get_tls(CX)		// Set G in TLS
    	MOVQ	R14, g(CX)
    	MOVQ	(g_sched+gobuf_sp)(R14), SP	// sp = g0.sched.sp
    	PUSHQ	AX	// open up space for fn's arg spill slot
    	MOVQ	0(DX), R12
    	CALL	R12		// fn(g)
    	// The Windows native stack unwinder incorrectly classifies the next instruction
    	// as part of the function epilogue, producing a wrong call stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top