- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for maxAlign (0.19 sec)
-
src/cmd/link/internal/loong64/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.ArchLoong64 theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, CodePad: []byte{0x00, 0x00, 0x2a, 0x00}, // BREAK 0 Adddynrel: adddynrel,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 13:49:14 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.ArchRISCV64 theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 17:46:04 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/link/internal/x86/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.Arch386 theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, // 0xCC is INT $3 - breakpoint instruction CodePad: []byte{0xCC}, Plan9Magic: uint32(4*11*11 + 7),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 3.4K bytes - Viewed (0) -
src/go/types/gcsizes.go
// spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1." if a < 1 { return 1 } // complex{64,128} are aligned like [2]float{32,64}. if isComplex(T) { a /= 2 } if a > s.MaxAlign { return s.MaxAlign } return a } func (s *gcSizes) Offsetsof(fields []*Var) []int64 { offsets := make([]int64, len(fields)) var offs int64 for i, f := range fields { if offs < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/link/internal/s390x/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.ArchS390X theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/link/internal/mips/obj.go
arch := sys.ArchMIPS musl := "/lib/ld-musl-mips.so.1" if buildcfg.GOARCH == "mipsle" { arch = sys.ArchMIPSLE musl = "/lib/ld-musl-mipsel.so.1" } theArch := ld.Arch{ Funcalign: FuncAlign, Maxalign: MaxAlign, Minalign: MinAlign, Dwarfregsp: DWARFREGSP, Dwarfreglr: DWARFREGLR, Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/obj.go
if buildcfg.GOARCH == "ppc64" { arch = sys.ArchPPC64 dynld = "/lib64/ld64.so.1" musl = "/lib/ld-musl-powerpc64.so.1" } theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, TrampLimit: 0x1c00000, Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/gcsizes.go
// spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1." if a < 1 { return 1 } // complex{64,128} are aligned like [2]float{32,64}. if isComplex(T) { a /= 2 } if a > s.MaxAlign { return s.MaxAlign } return a } func (s *gcSizes) Offsetsof(fields []*Var) []int64 { offsets := make([]int64, len(fields)) var offs int64 for i, f := range fields { if offs < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/link/internal/arm/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.ArchARM theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, TrampLimit: 0x1c00000, // 24-bit signed offset * 4, leave room for PLT etc. Plan9Magic: 0x647,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
// field types. if align := typ.align; align > maxAlign { maxAlign = align } // Each field needs its own registers. // We sum in uint64 to avoid possible overflows. intRegs += uint64(typ.intRegs) floatRegs += uint64(typ.floatRegs) } // Final size includes trailing padding. size = RoundUp(size, int64(maxAlign)) if intRegs > math.MaxUint8 || floatRegs > math.MaxUint8 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0)