Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,060 for ctxt (0.1 sec)

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

    		c.useAvg = false
    		c.useHmul = false
    	default:
    		ctxt.Diag("arch %s not implemented", arch)
    	}
    	c.ctxt = ctxt
    	c.optimize = optimize
    	c.useSSE = true
    	c.UseFMA = true
    	c.SoftFloat = softfloat
    	if softfloat {
    		c.floatParamRegs = nil // no FP registers in softfloat mode
    	}
    
    	c.ABI0 = abi.NewABIConfig(0, 0, ctxt.Arch.FixedFrameSize, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/go/types/instantiate_test.go

    		pkg := mustTypecheck(test.src, nil, nil)
    
    		t.Run(pkg.Name(), func(t *testing.T) {
    			ctxt := NewContext()
    
    			T1 := pkg.Scope().Lookup(test.name1).Type()
    			res1, err := Instantiate(ctxt, T1, test.targs1, false)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			T2 := pkg.Scope().Lookup(test.name2).Type()
    			res2, err := Instantiate(ctxt, T2, test.targs2, false)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/amd64/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hplan9: /* plan 9 */
    		ld.HEADR = 32 + 8
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x200000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/arm64/obj.go

    			Solarisdynld:   "XXX",
    
    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hplan9: /* plan 9 */
    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 4096
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. src/runtime/asm_riscv64.s

    TEXT runtime·systemstack_switch(SB), NOSPLIT, $0-0
    	UNDEF
    	JALR	RA, ZERO	// make sure this function is not leaf
    	RET
    
    // func systemstack(fn func())
    TEXT runtime·systemstack(SB), NOSPLIT, $0-8
    	MOV	fn+0(FP), CTXT	// CTXT = fn
    	MOV	g_m(g), T0	// T0 = m
    
    	MOV	m_gsignal(T0), T1	// T1 = gsignal
    	BEQ	g, T1, noswitch
    
    	MOV	m_g0(T0), T1	// T1 = g0
    	BEQ	g, T1, noswitch
    
    	MOV	m_curg(T0), T2
    	BEQ	g, T2, switch
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/line_test.go

    	})
    }
    
    func testBadInstParser(t *testing.T, goarch string, tests []badInstTest) {
    	for i, test := range tests {
    		arch, ctxt := setArch(goarch)
    		tokenizer := lex.NewTokenizer("", strings.NewReader(test.input+"\n"), nil)
    		parser := NewParser(ctxt, arch, tokenizer)
    
    		err := tryParse(t, func() {
    			parser.Parse()
    		})
    
    		switch {
    		case err == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    	}
    
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		As:   obj.AFUNCDATA,
    		Pos:  p.pos(),
    		From: valueAddr,
    		To:   nameAddr,
    	}
    	p.append(prog, "", true)
    }
    
    // asmJump assembles a jump instruction.
    // JMP	R1
    // JMP	exit
    // JMP	3(PC)
    func (p *Parser) asmJump(op obj.As, cond string, a []obj.Addr) {
    	var target *obj.Addr
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		Pos:  p.pos(),
    		As:   op,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. src/runtime/cgo/asm_ppc64x.s

    	MOVD	CROSSCALL2_FPTR, R6
    	MOVD	R6, (R5)
    	RET
    
    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    // The value of R2 is saved on the new stack frame, and not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/runtime/signal_linux_ppc64x.go

    package runtime
    
    import (
    	"internal/goarch"
    	"unsafe"
    )
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *ptregs      { return (*ucontext)(c.ctxt).uc_mcontext.regs }
    func (c *sigctxt) cregs() *sigcontext { return &(*ucontext)(c.ctxt).uc_mcontext }
    
    func (c *sigctxt) r0() uint64  { return c.regs().gpr[0] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/runtime/cgo/asm_s390x.s

    	MOVD	R2, (R1)
    	RET
    
    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top