- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for RegSize (0.11 sec)
-
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) -
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) -
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/compile/internal/ssa/decompose.go
f.NamedValues[*dataName] = append(f.NamedValues[*dataName], v.Args[1]) toDelete = append(toDelete, namedVal{i, j}) } case t.IsFloat(): // floats are never decomposed, even ones bigger than RegSize case t.Size() > f.Config.RegSize: f.Fatalf("undecomposed named type %s %v", name, t) } } deleteNamedVals(f, toDelete) f.Names = append(f.Names, newNames...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 21:22:15 UTC 2022 - 13.4K 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/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) -
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)