Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RegSize (0.26 sec)

  1. src/cmd/internal/sys/arch.go

    	Family ArchFamily
    
    	ByteOrder binary.ByteOrder
    
    	// PtrSize is the size in bytes of pointers and the
    	// predeclared "int", "uint", and "uintptr" types.
    	PtrSize int
    
    	// RegSize is the size in bytes of general purpose registers.
    	RegSize int
    
    	// MinLC is the minimum length of an instruction code.
    	MinLC int
    
    	// Alignment is maximum alignment required by the architecture
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 19:51:03 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/x86/ggen.go

    		p = pp.Append(p, x86.AMOVL, obj.TYPE_CONST, 0, 0, obj.TYPE_REG, x86.REG_AX, 0)
    		*ax = 1
    	}
    
    	if cnt <= int64(4*types.RegSize) {
    		for i := int64(0); i < cnt; i += int64(types.RegSize) {
    			p = pp.Append(p, x86.AMOVL, obj.TYPE_REG, x86.REG_AX, 0, obj.TYPE_MEM, x86.REG_SP, off+i)
    		}
    	} else if cnt <= int64(128*types.RegSize) {
    		p = pp.Append(p, x86.ALEAL, obj.TYPE_MEM, x86.REG_SP, off, obj.TYPE_REG, x86.REG_DI, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:38:47 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/softfloat.go

    				case 8:
    					v.Aux = f.Config.Types.UInt64
    					newInt64 = true
    				default:
    					v.Fatalf("bad float type with size %d", size)
    				}
    			}
    		}
    	}
    
    	if newInt64 && f.Config.RegSize == 4 {
    		// On 32bit arch, decompose Uint64 introduced in the switch above.
    		decomposeBuiltIn(f)
    		applyRewrite(f, rewriteBlockdec64, rewriteValuedec64, removeDeadValues)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/export_test.go

    func (d TestFrontend) Func() *ir.Func {
    	return d.f
    }
    
    var testTypes Types
    
    func init() {
    	// TODO(mdempsky): Push into types.InitUniverse or typecheck.InitUniverse.
    	types.PtrSize = 8
    	types.RegSize = 8
    	types.MaxWidth = 1 << 50
    
    	base.Ctxt = &obj.Link{Arch: &obj.LinkArch{Arch: &sys.Arch{Alignment: 1, CanMergeLoads: true}}}
    	typecheck.InitUniverse()
    	testTypes.SetTypPtrs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top