Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for TYPE_TEXTSIZE (0.18 sec)

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

    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[TYPE_NONE-0]
    	_ = x[TYPE_BRANCH-1]
    	_ = x[TYPE_TEXTSIZE-2]
    	_ = x[TYPE_MEM-3]
    	_ = x[TYPE_CONST-4]
    	_ = x[TYPE_FCONST-5]
    	_ = x[TYPE_SCONST-6]
    	_ = x[TYPE_REG-7]
    	_ = x[TYPE_ADDR-8]
    	_ = x[TYPE_SHIFT-9]
    	_ = x[TYPE_REGREG-10]
    	_ = x[TYPE_REGREG2-11]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 03:16:26 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/pass.go

    func checkaddr(ctxt *Link, p *Prog, a *Addr) {
    	switch a.Type {
    	case TYPE_NONE, TYPE_REGREG2, TYPE_REGLIST:
    		return
    
    	case TYPE_BRANCH, TYPE_TEXTSIZE:
    		if a.Reg != 0 || a.Index != 0 || a.Scale != 0 || a.Name != 0 {
    			break
    		}
    		return
    
    	case TYPE_MEM:
    		return
    
    	case TYPE_CONST:
    		// TODO(rsc): After fixing SHRQ, check a.Index != 0 too.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    //		This avoids parsing ambiguities due to the use of - as a separator.
    //		The ± are optional.
    //		If the final argument to TEXT omits the -±y, the encoding should still
    //		use TYPE_TEXTSIZE (not TYPE_CONST), with u.argsize = ArgsSizeUnknown.
    //		Encoding:
    //			type = TYPE_TEXTSIZE
    //			offset = x
    //			val = int32(y)
    //
    //	reg<<shift, reg>>shift, reg->shift, reg@>shift
    //		Shifted register value, for ARM and ARM64.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm_test.go

    	// never check for arch or do it in all cases.
    
    	oclassTestsCommon := []*oclassTest{
    		{&obj.Addr{Type: obj.TYPE_NONE}, Ynone},
    		{&obj.Addr{Type: obj.TYPE_BRANCH}, Ybr},
    		{&obj.Addr{Type: obj.TYPE_TEXTSIZE}, Ytextsize},
    
    		{&obj.Addr{Type: obj.TYPE_INDIR, Name: obj.NAME_EXTERN}, Yindir},
    		{&obj.Addr{Type: obj.TYPE_INDIR, Name: obj.NAME_GOTREF}, Yindir},
    
    		{&obj.Addr{Type: obj.TYPE_ADDR, Name: obj.NAME_AUTO}, Yiauto},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/a.out.go

    	C_ADDR     /* A symbolic memory location */
    	C_TLS_LE   /* A thread local, local-exec, type memory arg */
    	C_TLS_IE   /* A thread local, initial-exec, type memory arg */
    	C_TEXTSIZE /* An argument with Type obj.TYPE_TEXTSIZE */
    
    	C_NCLASS /* must be the last */
    )
    
    const (
    	AADD = obj.ABasePPC64 + obj.A_ARCHSPECIFIC + iota
    	AADDCC
    	AADDIS
    	AADDV
    	AADDVCC
    	AADDC
    	AADDCCC
    	AADDCV
    	AADDCVCC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/abi.go

    	}
    
    	ir.InitLSym(fn, true)
    
    	setupWasmABI(fn)
    
    	pp := objw.NewProgs(fn, 0)
    	defer pp.Free()
    	pp.Text.To.Type = obj.TYPE_TEXTSIZE
    	pp.Text.To.Val = int32(types.RoundUp(fn.Type().ArgWidth(), int64(types.RegSize)))
    	// Wrapper functions never need their own stack frame
    	pp.Text.To.Offset = 0
    	pp.Flush()
    
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm_test.go

    		{obj.Addr{Type: obj.TYPE_MEM, Name: obj.NAME_NONE, Offset: -BIG - 33}, C_LOREG},
    
    		// Misc (golang initializes -0.0 to 0.0, hence the obfuscation below)
    		{obj.Addr{Type: obj.TYPE_TEXTSIZE}, C_TEXTSIZE},
    		{obj.Addr{Type: obj.TYPE_FCONST, Val: 0.0}, C_ZCON},
    		{obj.Addr{Type: obj.TYPE_FCONST, Val: math.Float64frombits(0x8000000000000000)}, C_S16CON},
    
    		// Address type arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/util.go

    			}
    		}
    
    	case TYPE_CONST:
    		io.WriteString(w, "$")
    		a.WriteNameTo(w)
    		if a.Reg != 0 {
    			fmt.Fprintf(w, "(%v)", Rconv(int(a.Reg)))
    		}
    
    	case TYPE_TEXTSIZE:
    		if a.Val.(int32) == abi.ArgsSizeUnknown {
    			fmt.Fprintf(w, "$%d", a.Offset)
    		} else {
    			fmt.Fprintf(w, "$%d-%d", a.Offset, a.Val.(int32))
    		}
    
    	case TYPE_FCONST:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    	}
    	p.ctxt.InitTextSym(nameAddr.Sym, int(flag), p.pos())
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		As:   obj.ATEXT,
    		Pos:  p.pos(),
    		From: nameAddr,
    		To: obj.Addr{
    			Type:   obj.TYPE_TEXTSIZE,
    			Offset: frameSize,
    			// Argsize set below.
    		},
    	}
    	nameAddr.Sym.Func().Text = prog
    	prog.To.Val = int32(argSize)
    	p.append(prog, "", true)
    }
    
    // asmData assembles a DATA pseudo-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)
  10. src/cmd/internal/obj/mips/asm0.go

    			if c.instoffset == 0 {
    				return C_ZOREG
    			}
    			if c.instoffset >= -BIG && c.instoffset < BIG {
    				return C_SOREG
    			}
    			return C_LOREG
    		}
    
    		return C_GOK
    
    	case obj.TYPE_TEXTSIZE:
    		return C_TEXTSIZE
    
    	case obj.TYPE_CONST,
    		obj.TYPE_ADDR:
    		switch a.Name {
    		case obj.NAME_NONE:
    			c.instoffset = a.Offset
    			if a.Reg != obj.REG_NONE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
Back to top