- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for RegSize (0.15 sec)
-
src/runtime/mkpreempt.go
var l = layout{sp: "R29", stack: regsize} // add slot to save PC of interrupted instruction (in LR) for i := 1; i <= 25; i++ { if i == 23 { continue // R23 is REGTMP } reg := fmt.Sprintf("R%d", i) l.add(mov, reg, regsize) } l.add(mov, r28, regsize) l.addSpecial( mov+" HI, R1\n"+mov+" R1, %d(R29)", mov+" %d(R29), R1\n"+mov+" R1, HI", regsize) l.addSpecial(
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 15.3K bytes - Viewed (0) -
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/walk/compare.go
combine64bit := false if canCombineLoads { // Keep this low enough to generate less code than a function call. maxRewriteLen = 2 * ssagen.Arch.LinkArch.RegSize combine64bit = ssagen.Arch.LinkArch.RegSize >= 8 } var and ir.Op switch cmp { case ir.OEQ: and = ir.OANDAND case ir.ONE: and = ir.OOROR default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/expand_calls.go
// Convert incoming aggregate arg into assembly of parts. // Feed modified AST to decompose. sp, _ := f.spSb() x := &expandState{ f: f, debug: f.pass.debug, regSize: f.Config.RegSize, sp: sp, typs: &f.Config.Types, wideSelects: make(map[*Value]*Value), commonArgs: make(map[selKey]*Value), commonSelectors: make(map[selKey]*Value),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 05:13:40 UTC 2023 - 31.9K 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)