Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for stacksplit (0.29 sec)

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

    			if c.cursym.Func().Text.Mark&LEAF != 0 {
    				c.cursym.Set(obj.AttrLeaf, true)
    				if p.From.Sym.NoFrame() {
    					break
    				}
    			}
    
    			if !p.From.Sym.NoSplit() {
    				p = c.stacksplit(p, autosize) // emit split check
    			}
    
    			q = p
    
    			if autosize != 0 {
    				// Make sure to save link register for non-empty frame, even if
    				// it is a leaf function, so that traceback works.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm/obj5.go

    			if cursym.Func().Text.Mark&LEAF != 0 {
    				cursym.Set(obj.AttrLeaf, true)
    				if p.From.Sym.NoFrame() {
    					break
    				}
    			}
    
    			if !p.From.Sym.NoSplit() {
    				p = c.stacksplit(p, autosize) // emit split check
    			}
    
    			// MOVW.W		R14,$-autosize(SP)
    			p = obj.Appendp(p, c.newprog)
    
    			p.As = AMOVW
    			p.Scond |= C_WBIT
    			p.From.Type = obj.TYPE_REG
    			p.From.Reg = REGLINK
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/obj7.go

    	ASBC:   true,
    	ASBCW:  true,
    	ASBCS:  true,
    	ASBCSW: true,
    	AADC:   true,
    	AADCW:  true,
    	AADCS:  true,
    	AADCSW: true,
    	AFMOVD: true,
    	AFMOVS: true,
    	AMSR:   true,
    }
    
    func (c *ctxt7) stacksplit(p *obj.Prog, framesize int32) *obj.Prog {
    	if c.ctxt.Flag_maymorestack != "" {
    		p = c.cursym.Func().SpillRegisterArgs(p, c.newprog)
    
    		// Save LR and make room for FP, REGCTXT. Leave room
    		// for caller's saved FP.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/mips/obj0.go

    			if c.cursym.Func().Text.Mark&LEAF != 0 {
    				c.cursym.Set(obj.AttrLeaf, true)
    				if p.From.Sym.NoFrame() {
    					break
    				}
    			}
    
    			if !p.From.Sym.NoSplit() {
    				p = c.stacksplit(p, autosize) // emit split check
    			}
    
    			q = p
    
    			if autosize != 0 {
    				// Make sure to save link register for non-empty frame, even if
    				// it is a leaf function, so that traceback works.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/obj9.go

    				rel.Off = 0
    				rel.Siz = 8
    				rel.Sym = c.ctxt.Lookup(".TOC.")
    				rel.Type = objabi.R_ADDRPOWER_PCREL
    			}
    
    			if !c.cursym.Func().Text.From.Sym.NoSplit() {
    				q = c.stacksplit(q, autosize) // emit split check
    			}
    
    			if autosize != 0 {
    				var prologueEnd *obj.Prog
    				// Save the link register and update the SP.  MOVDU is used unless
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/obj6.go

    	} else {
    		regEntryTmp0, regEntryTmp1 = REG_BX, REG_DI
    	}
    
    	var regg int16
    	if !p.From.Sym.NoSplit() {
    		// Emit split check and load G register
    		p, regg = stacksplit(ctxt, cursym, p, newprog, autoffset, int32(textarg))
    	} else if p.From.Sym.Wrapper() {
    		// Load G register for the wrapper code
    		p, regg = loadG(ctxt, cursym, p, newprog)
    	}
    
    	if bpsize > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/obj.go

    	}
    
    	cursym.Func().Args = text.To.Val.(int32)
    	cursym.Func().Locals = int32(stacksize)
    
    	prologue := text
    
    	if !cursym.Func().Text.From.Sym.NoSplit() {
    		prologue = stacksplit(ctxt, prologue, cursym, newprog, stacksize) // emit split check
    	}
    
    	if stacksize != 0 {
    		prologue = ctxt.StartUnsafePoint(prologue, newprog)
    
    		// Actually save LR.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    	// 4,6,9,10, the Places entry for X will contain [S,4].
    	Places []StackSlot
    
    	// Combined count of stacks where this source is the leaf.
    	Self int64
    
    	// Color number to use for this source.
    	// Colors with high numbers than supported may be treated as zero.
    	Color int
    }
    
    // StackSlot identifies a particular StackSlot.
    type StackSlot struct {
    	Stack int // Index in StackSet.Stacks
    	Pos   int // Index in Stack.Sources
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/cmd/internal/objabi/stack.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package objabi
    
    import (
    	"internal/abi"
    	"internal/buildcfg"
    )
    
    func StackNosplit(race bool) int {
    	// This arithmetic must match that in runtime/stack.go:stackNosplit.
    	return abi.StackNosplitBase * stackGuardMultiplier(race)
    }
    
    // stackGuardMultiplier returns a multiplier to apply to the default
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 904 bytes
    - Viewed (0)
  10. src/runtime/stack.go

    	fixedStack5 = fixedStack4 | (fixedStack4 >> 8)
    	fixedStack6 = fixedStack5 | (fixedStack5 >> 16)
    	fixedStack  = fixedStack6 + 1
    
    	// stackNosplit is the maximum number of bytes that a chain of NOSPLIT
    	// functions can use.
    	// This arithmetic must match that in cmd/internal/objabi/stack.go:StackNosplit.
    	stackNosplit = abi.StackNosplitBase * sys.StackGuardMultiplier
    
    	// The stack guard is a pointer this many bytes above the
    	// bottom of the stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top