Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,875 for ctxt (0.07 sec)

  1. src/cmd/asm/internal/asm/endtoend_test.go

    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    	lexer := lex.NewLexer(input)
    	parser := NewParser(ctxt, architecture, lexer)
    	pList := new(obj.Plist)
    	var ok bool
    	testOut = new(strings.Builder) // The assembler writes test output to this buffer.
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	ctxt.IsAsm = true
    	defer ctxt.Bso.Flush()
    	failed := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. src/runtime/cgo/asm_amd64.s

    	ADJSP	$0x18
    #ifndef GOOS_windows
    	MOVQ	DI, 0x0(SP)	/* fn */
    	MOVQ	SI, 0x8(SP)	/* arg */
    	// Skip n in DX.
    	MOVQ	CX, 0x10(SP)	/* ctxt */
    #else
    	MOVQ	CX, 0x0(SP)	/* fn */
    	MOVQ	DX, 0x8(SP)	/* arg */
    	// Skip n in R8.
    	MOVQ	R9, 0x10(SP)	/* ctxt */
    #endif
    
    	CALL	runtime·cgocallback(SB)
    
    	ADJSP	$-0x18
    	POP_REGS_HOST_TO_ABI0()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loong64/asm.go

    	"cmd/link/internal/ld"
    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    	"debug/elf"
    	"log"
    )
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op uint32) {
    		initfunc.AddUint32(ctxt.Arch, op)
    	}
    
    	// Emit the following function:
    	//
    	//	local.dso_init:
    	//		la.pcrel $a0, local.moduledata
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/s390x/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.Hlinux: // s390x ELF
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/reflect/makefunc.go

    }
    
    // makeFuncStub is an assembly function that is the code half of
    // the function returned from MakeFunc. It expects a *callReflectFunc
    // as its context register, and its job is to invoke callReflect(ctxt, frame)
    // where ctxt is the context register and frame is a pointer to the first
    // word in the passed-in argument frame.
    func makeFuncStub()
    
    // The first 3 words of this type must be kept in sync with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/ar.go

    // define them. This is used for the compiler support library
    // libgcc.a.
    func hostArchive(ctxt *Link, name string) {
    	if ctxt.Debugvlog > 1 {
    		ctxt.Logf("hostArchive(%s)\n", name)
    	}
    	f, err := bio.Open(name)
    	if err != nil {
    		if os.IsNotExist(err) {
    			// It's OK if we don't have a libgcc file at all.
    			if ctxt.Debugvlog != 0 {
    				ctxt.Logf("skipping libgcc file: %v\n", err)
    			}
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  7. src/cmd/link/internal/s390x/asm.go

    //
    // The job of appending the moduledata is delegated to runtime.addmoduledata.
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	// larl %r2, <local.moduledata>
    	initfunc.AddUint8(0xc0)
    	initfunc.AddUint8(0x20)
    	initfunc.AddSymRef(ctxt.Arch, ctxt.Moduledata, 6, objabi.R_PCREL, 4)
    	r1 := initfunc.Relocs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/staticdata/data.go

    		case types.TCOMPLEX64:
    			s.WriteFloat32(base.Ctxt, noff, float32(re))
    			s.WriteFloat32(base.Ctxt, noff+4, float32(im))
    		case types.TCOMPLEX128:
    			s.WriteFloat64(base.Ctxt, noff, re)
    			s.WriteFloat64(base.Ctxt, noff+8, im)
    		}
    
    	case constant.String:
    		i := constant.StringVal(u)
    		symdata := StringSym(n.Pos(), i)
    		s.WriteAddr(base.Ctxt, noff, types.PtrSize, symdata, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/debug.go

    		listSym.WriteAddr(ctxt, listSym.Size, ctxt.Arch.PtrSize, startPC, 0)
    	}
    
    	// Re-read list, translating its address from block/value ID to PC.
    	for i := 0; i < len(list); {
    		begin := getPC(decodeValue(ctxt, readPtr(ctxt, list[i:])))
    		end := getPC(decodeValue(ctxt, readPtr(ctxt, list[i+ctxt.Arch.PtrSize:])))
    
    		// Horrible hack. If a range contains only zero-width
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  10. src/go/types/context_test.go

    	if got := ctxt.lookup("", unaryP, []Type{Typ[Int]}); got != nil {
    		t.Error("bad")
    	}
    
    	// nullaryQ is identical to nullaryP, so we *should* get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", nullaryQ, []Type{Typ[Int]}); got != inst {
    		t.Error("bad")
    	}
    
    	// ...but verify we don't get inst with different type arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top