Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for RegSize (0.12 sec)

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

    	// cond: umagicOK16(c) && config.RegSize == 8
    	// result: (Trunc64to16 (Rsh64Ux64 <typ.UInt64> (Mul64 <typ.UInt64> (Const64 <typ.UInt64> [int64(1<<16+umagic16(c).m)]) (ZeroExt16to64 x)) (Const64 <typ.UInt64> [16+umagic16(c).s])))
    	for {
    		x := v_0
    		if v_1.Op != OpConst16 {
    			break
    		}
    		c := auxIntToInt16(v_1.AuxInt)
    		if !(umagicOK16(c) && config.RegSize == 8) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf.go

    			d.newrefattr(fld, dwarf.DW_AT_type, d.defptrto(d.dtolsym(dwhb.Sym)))
    			newmemberoffsetattr(fld, abi.MapBucketCount+abi.MapBucketCount*(int32(keysize)+int32(valsize)))
    			if d.arch.RegSize > d.arch.PtrSize {
    				fld = d.newdie(dwhb, dwarf.DW_ABRV_STRUCTFIELD, "pad")
    				d.newrefattr(fld, dwarf.DW_AT_type, d.uintptrInfoSym)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/expr.go

    	if types.IsFloat[et] {
    		return n
    	}
    
    	// rewrite 64-bit div and mod on 32-bit architectures.
    	// TODO: Remove this code once we can introduce
    	// runtime calls late in SSA processing.
    	if types.RegSize < 8 && (et == types.TINT64 || et == types.TUINT64) {
    		if n.Y.Op() == ir.OLITERAL {
    			// Leave div/mod by constant powers of 2 or small 16-bit constants.
    			// The SSA backend will handle those.
    			switch et {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    				if ctxt.Arch.Family != sys.AMD64 {
    					ctxt.Diag("asmins: illegal in %d-bit mode: %v", ctxt.Arch.RegSize*8, p)
    				}
    
    			case Py1: // 64-bit only if z < 1, no prefix
    				if z < 1 && ctxt.Arch.Family != sys.AMD64 {
    					ctxt.Diag("asmins: illegal in %d-bit mode: %v", ctxt.Arch.RegSize*8, p)
    				}
    
    			case Py3: // 64-bit only if z < 3, no prefix
    				if z < 3 && ctxt.Arch.Family != sys.AMD64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    			// Setting the alignment explicitly prevents
    			// symalign from basing it on the size and
    			// getting it wrong.
    			ldr.SetSymAlign(rel, int32(ctxt.Arch.RegSize))
    			ldr.SetSymAlign(plt, int32(ctxt.Arch.RegSize))
    		}
    		state.data[sym.SELFROSECT] = syms
    	}
    
    	if ctxt.HeadType == objabi.Haix && ctxt.LinkMode == LinkExternal {
    		// These symbols must have the same alignment as their section.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  6. src/cmd/compile/internal/ssagen/ssa.go

    		return s.newValue2(ssa.OpComplexMake, tt, v, s.zeroVal(et))
    	}
    
    	if ft.IsFloat() || tt.IsFloat() {
    		conv, ok := fpConvOpToSSA[twoTypes{s.concreteEtype(ft), s.concreteEtype(tt)}]
    		if s.config.RegSize == 4 && Arch.LinkArch.Family != sys.MIPS && !s.softFloat {
    			if conv1, ok1 := fpConvOpToSSA32[twoTypes{s.concreteEtype(ft), s.concreteEtype(tt)}]; ok1 {
    				conv = conv1
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewrite.go

    func registerizable(b *Block, typ *types.Type) bool {
    	if typ.IsPtrShaped() || typ.IsFloat() || typ.IsBoolean() {
    		return true
    	}
    	if typ.IsInteger() {
    		return typ.Size() <= b.Func.Config.RegSize
    	}
    	return false
    }
    
    // needRaceCleanup reports whether this call to racefuncenter/exit isn't needed.
    func needRaceCleanup(sym *AuxCall, v *Value) bool {
    	f := v.Block.Func
    	if !f.Config.Race {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	if err := r.ReadAt(0, &seg); err != nil {
    		return err
    	}
    	seg.Offset = uint64(dwarfstart)
    
    	if compressedSects != nil {
    		var segSize uint64
    		for _, newSect := range compressedSects {
    			segSize += newSect.Size
    		}
    		seg.Filesz = segSize
    	} else {
    		seg.Filesz = dwarfsize
    	}
    
    	// We want the DWARF segment to be considered non-loadable, so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top