Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for NoFrame (0.2 sec)

  1. src/cmd/internal/obj/ppc64/obj9.go

    		p.From.Sym.Set(obj.AttrNoFrame, true)
    		textstksiz = 0
    	}
    	if textstksiz%8 != 0 {
    		c.ctxt.Diag("frame size %d not a multiple of 8", textstksiz)
    	}
    	if p.From.Sym.NoFrame() {
    		if textstksiz != 0 {
    			c.ctxt.Diag("NOFRAME functions must have a frame size of 0, not %d", textstksiz)
    		}
    	}
    
    	c.cursym.Func().Args = p.To.Val.(int32)
    	c.cursym.Func().Locals = int32(textstksiz)
    
    	/*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    func (a *Attribute) Wrapper() bool            { return a.load()&AttrWrapper != 0 }
    func (a *Attribute) NeedCtxt() bool           { return a.load()&AttrNeedCtxt != 0 }
    func (a *Attribute) NoFrame() bool            { return a.load()&AttrNoFrame != 0 }
    func (a *Attribute) Static() bool             { return a.load()&AttrStatic != 0 }
    func (a *Attribute) WasInlined() bool         { return a.load()&AttrWasInlined != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/runtime/mkpreempt.go

    	fmt.Fprintf(out, "#include \"go_asm.h\"\n")
    	if arch == "amd64" {
    		fmt.Fprintf(out, "#include \"asm_amd64.h\"\n")
    	}
    	fmt.Fprintf(out, "#include \"textflag.h\"\n\n")
    	fmt.Fprintf(out, "TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0\n")
    }
    
    func p(f string, args ...any) {
    	fmted := fmt.Sprintf(f, args...)
    	fmt.Fprintf(out, "\t%s\n", strings.ReplaceAll(fmted, "\n", "\n\t"))
    }
    
    func label(l string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. src/runtime/race_ppc64le.s

    // The overall effect of Go->C->Go call chain is similar to that of mcall.
    // RARG0 contains command code. RARG1 contains command-specific context.
    // See racecallback for command codes.
    TEXT	runtime·racecallbackthunk(SB), NOSPLIT|NOFRAME, $0
    	// Handle command raceGetProcCmd (0) here.
    	// First, code below assumes that we are on curg, while raceGetProcCmd
    	// can be executed on g0. Second, it is called frequently, so will
    	// benefit from this fast path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd_amd64.s

    	MOVQ	ctx+24(FP),  DX
    	MOVQ	SP, BX		// callee-saved
    	ANDQ	$~15, SP	// alignment for x86_64 ABI
    	CALL	AX
    	MOVQ	BX, SP
    	RET
    
    // Called using C ABI.
    TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME|NOFRAME,$0
    	// Transition from C ABI to Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// Set up ABIInternal environment: g in R14, cleared X15.
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	PXOR	X15, X15
    
    	// Reserve space for spill slots.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  6. src/runtime/sys_darwin_arm64.s

    	BL	libc_pipe(SB)	// pointer already in R0
    	CMP	$0, R0
    	BEQ	3(PC)
    	BL	libc_error(SB)	// return negative errno value
    	NEG	R0, R0
    	RET
    
    TEXT runtime·exit_trampoline(SB),NOSPLIT|NOFRAME,$0
    	MOVW	0(R0), R0
    	BL	libc_exit(SB)
    	MOVD	$1234, R0
    	MOVD	$1002, R1
    	MOVD	R0, (R1)	// fail hard
    
    TEXT runtime·raiseproc_trampoline(SB),NOSPLIT,$0
    	MOVD	0(R0), R19	// signal
    	BL	libc_getpid(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/obj6.go

    			hasCall = true
    			break
    		}
    	}
    
    	var bpsize int
    	if ctxt.Arch.Family == sys.AMD64 &&
    		!p.From.Sym.NoFrame() && // (1) below
    		!(autoffset == 0 && !hasCall) { // (2) below
    		// Make room to save a base pointer.
    		// There are 2 cases we must avoid:
    		// 1) If noframe is set (which we do for functions which tail call).
    		// For performance, we also want to avoid:
    		// 2) Frameless leaf functions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  8. src/runtime/asm_386.s

    	JMP	runtime·rt0_go(SB)
    
    DATA _rt0_386_lib_argc<>(SB)/4, $0
    GLOBL _rt0_386_lib_argc<>(SB),NOPTR, $4
    DATA _rt0_386_lib_argv<>(SB)/4, $0
    GLOBL _rt0_386_lib_argv<>(SB),NOPTR, $4
    
    TEXT runtime·rt0_go(SB),NOSPLIT|NOFRAME|TOPFRAME,$0
    	// Copy arguments forward on an even stack.
    	// Users of this function jump to it, they don't call it.
    	MOVL	0(SP), AX
    	MOVL	4(SP), BX
    	SUBL	$128, SP		// plenty of scratch
    	ANDL	$~15, SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. doc/asm.html

    This symbol is local to the dynamic shared object.
    </li>
    <li>
    <code>TLSBSS</code> = 256
    <br>
    (For <code>DATA</code> and <code>GLOBL</code> items.)
    Put this data in thread local storage.
    </li>
    <li>
    <code>NOFRAME</code> = 512
    <br>
    (For <code>TEXT</code> items.)
    Do not insert instructions to allocate a stack frame and save/restore the return
    address, even if this is not a leaf function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
Back to top