Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Prog (0.11 sec)

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

    		p.To.Type = obj.TYPE_CONST
    		p.To.Offset = -1
    
    		pbahead := s.Prog(ppc64.ABEQ)
    		pbahead.To.Type = obj.TYPE_BRANCH
    
    		p = s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = r1
    		p.Reg = r0
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = r
    
    		pbover := s.Prog(obj.AJMP)
    		pbover.To.Type = obj.TYPE_BRANCH
    
    		p = s.Prog(ppc64.ANEG)
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. src/reflect/type.go

    				prog = appendVarint(prog, elemWords-elemPtrs-1)
    			}
    		}
    		// Repeat length-1 times.
    		if elemWords < 0x80 {
    			prog = append(prog, byte(elemWords|0x80))
    		} else {
    			prog = append(prog, 0x80)
    			prog = appendVarint(prog, elemWords)
    		}
    		prog = appendVarint(prog, uintptr(length)-1)
    		prog = append(prog, 0)
    		*(*uint32)(unsafe.Pointer(&prog[0])) = uint32(len(prog) - 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/riscv/obj.go

    }
    
    func isUnsafePoint(p *obj.Prog) bool {
    	return p.Mark&USES_REG_TMP == USES_REG_TMP || p.From.Reg == REG_TMP || p.To.Reg == REG_TMP || p.Reg == REG_TMP
    }
    
    func ParseSuffix(prog *obj.Prog, cond string) (err error) {
    	switch prog.As {
    	case AFCVTWS, AFCVTLS, AFCVTWUS, AFCVTLUS, AFCVTWD, AFCVTLD, AFCVTWUD, AFCVTLUD:
    		prog.Scond, err = rmSuffixEncode(strings.TrimPrefix(cond, "."))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. src/runtime/mbitmap.go

    	lock mutex
    	data *byte
    }
    
    // progToPointerMask returns the 1-bit pointer mask output by the GC program prog.
    // size the size of the region described by prog, in bytes.
    // The resulting bitvector will have no more than size/goarch.PtrSize bits.
    func progToPointerMask(prog *byte, size uintptr) bitvector {
    	n := (size/goarch.PtrSize + 7) / 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/mips/asm0.go

    func (c *ctxt0) isUnsafePoint(p *obj.Prog) bool {
    	// If p explicitly uses REGTMP, it's unsafe to preempt, because the
    	// preemption sequence clobbers REGTMP.
    	return p.From.Reg == REGTMP || p.To.Reg == REGTMP || p.Reg == REGTMP
    }
    
    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    func (c *ctxt0) isRestartable(p *obj.Prog) bool {
    	if c.isUnsafePoint(p) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/loong64/asm.go

    func (c *ctxt0) isUnsafePoint(p *obj.Prog) bool {
    	// If p explicitly uses REGTMP, it's unsafe to preempt, because the
    	// preemption sequence clobbers REGTMP.
    	return p.From.Reg == REGTMP || p.To.Reg == REGTMP || p.Reg == REGTMP
    }
    
    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    func (c *ctxt0) isRestartable(p *obj.Prog) bool {
    	if c.isUnsafePoint(p) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  7. src/cmd/go/go_test.go

    	hasGoroot := false
    	for _, v := range tg.env {
    		if strings.HasPrefix(v, "GOROOT=") {
    			hasGoroot = true
    			break
    		}
    	}
    	prog := tg.goTool()
    	if !hasGoroot {
    		tg.setenv("GOROOT", testGOROOT)
    	}
    
    	tg.t.Logf("running testgo %v", args)
    	cmd := testenv.Command(tg.t, prog, args...)
    	tg.stdout.Reset()
    	tg.stderr.Reset()
    	cmd.Dir = tg.execDir
    	cmd.Stdout = &tg.stdout
    	cmd.Stderr = &tg.stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/lib.go

    		}
    	}
    
    	uuidUpdated := false
    	if combineDwarf {
    		// Find "dsymutils" and "strip" tools using CC --print-prog-name.
    		var cc []string
    		cc = append(cc, ctxt.extld()...)
    		cc = append(cc, hostlinkArchArgs(ctxt.Arch)...)
    		cc = append(cc, "--print-prog-name", "dsymutil")
    		out, err := exec.Command(cc[0], cc[1:]...).CombinedOutput()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/elf.go

    	off int
    }
    
    var elfstr [100]Elfstring
    
    var nelfstr int
    
    var buildinfo []byte
    
    /*
    Initialize the global variable that describes the ELF header. It will be updated as
    we write section and prog headers.
    */
    func Elfinit(ctxt *Link) {
    	ctxt.IsELF = true
    
    	if ctxt.Arch.InFamily(sys.AMD64, sys.ARM64, sys.Loong64, sys.MIPS64, sys.PPC64, sys.RISCV64, sys.S390X) {
    		elfRelType = ".rela"
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf.go

     * See section 6.2.5
     */
    const (
    	LINE_BASE   = -4
    	LINE_RANGE  = 10
    	PC_RANGE    = (255 - OPCODE_BASE) / LINE_RANGE
    	OPCODE_BASE = 11
    )
    
    /*
     * Walk prog table, emit line program and build DIE tree.
     */
    
    func getCompilationDir() string {
    	// OSX requires this be set to something, but it's not easy to choose
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top