package goarch

Import Path
	internal/goarch (on go.dev)

Dependency Relation
	imports 0 packages, and imported by 7 packages

Involved Source Files package goarch contains GOARCH-specific constants. goarch_amd64.go zgoarch_amd64.go
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
const AMD64 const ArchFamily const ARM const ARM64 const I386 const LOONG64 const MIPS const MIPS64 const PPC64 const RISCV64 const S390X const WASM
Package-Level Constants (total 49, in which 44 are exported)
ArchFamily is the architecture family (AMD64, ARM, ...)
BigEndian reports whether the architecture is big-endian.
DefaultPhysPageSize is the default physical page size.
const GOARCH = "amd64"
Int64Align is the required alignment for a 64-bit integer (4 on 32-bit systems, 8 on 64-bit).
MinFrameSize is the size of the system-reserved words at the bottom of a frame (just above the architectural stack pointer). It is zero on x86 and PtrSize on most non-x86 (LR-based) systems. On PowerPC it is larger, to cover three more reserved words: the compiler word, the link editor word, and the TOC save word.
PCQuantum is the minimal unit for a program counter (1 on x86, 4 on most other systems). The various PC tables record PC deltas pre-divided by PCQuantum.
PtrSize is the size of a pointer in bytes - unsafe.Sizeof(uintptr(0)) but as an ideal constant. It is also the size of the machine's native word size (that is, 4 on 32-bit systems, 8 on 64-bit).
StackAlign is the required alignment of the SP register. The stack must be at least word aligned, but some architectures require more.