- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for RegSize (0.18 sec)
-
src/cmd/compile/internal/ssa/config.go
// and shared across all compilations. type Config struct { arch string // "amd64", etc. PtrSize int64 // 4 or 8; copy of cmd/internal/sys.Arch.PtrSize RegSize int64 // 4 or 8; copy of cmd/internal/sys.Arch.RegSize Types Types lowerBlock blockRewriter // block lowering function, first round lowerValue valueRewriter // value lowering function, first round
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:11:47 UTC 2024 - 12.9K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
case TINT32, TUINT32: w = 4 t.intRegs = 1 case TINT64, TUINT64: w = 8 t.align = uint8(RegSize) t.intRegs = uint8(8 / RegSize) case TFLOAT32: w = 4 t.floatRegs = 1 t.setAlg(AFLOAT32) case TFLOAT64: w = 8 t.align = uint8(RegSize) t.floatRegs = 1 t.setAlg(AFLOAT64) case TCOMPLEX64: w = 8 t.align = 4 t.floatRegs = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
sh.Entsize = uint64(ctxt.Arch.RegSize) sh.Addralign = uint64(ctxt.Arch.RegSize) shsym(sh, ldr, ldr.Lookup(".got", 0)) sh = elfshname(".got.plt") sh.Type = uint32(elf.SHT_PROGBITS) sh.Flags = uint64(elf.SHF_ALLOC + elf.SHF_WRITE) sh.Entsize = uint64(ctxt.Arch.RegSize) sh.Addralign = uint64(ctxt.Arch.RegSize) shsym(sh, ldr, ldr.Lookup(".got.plt", 0)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
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) -
src/cmd/compile/internal/ssa/memcombine.go
for _, v := range order { if v.Op != OpStore { // already rewritten continue } size := v.Aux.(*types.Type).Size() if size >= f.Config.RegSize || size == 0 { continue } for n := f.Config.RegSize / size; n > 1; n /= 2 { if combineStores(v, n) { continue } } } } } // Try to combine the n stores ending in root.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 19:45:41 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
default: base.FatalfAt(n.Pos(), "%v has unexpected Class %v", n, n.Class) return false } } func (s *ssafn) AllocFrame(f *ssa.Func) { s.stksize = 0 s.stkptrsize = 0 s.stkalign = int64(types.RegSize) fn := s.curfn // Mark the PAUTO's unused. for _, ln := range fn.Dcl { if ln.OpenDeferSlot() { // Open-coded defer slots have indices that were assigned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
(Div16u x (Const16 [c])) && umagicOK16(c) && config.RegSize == 8 => (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 16-bit divides on 32-bit machines (Div16u x (Const16 [c])) && umagicOK16(c) && config.RegSize == 4 && umagic16(c).m&1 == 0 => (Trunc32to16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
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) -
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) -
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)