const runtime.GOARCH
54 uses
runtime (current package)
alg.go#L330: if (GOARCH == "386" || GOARCH == "amd64") &&
alg.go#L337: if GOARCH == "arm64" && cpu.ARM64.HasAES {
cgocall.go#L309: switch GOARCH {
debug.go#L17: if GOARCH == "wasm" && n > 1 {
extern.go#L257: const GOARCH string = sys.GOARCH
lfstack_64bit.go#L42: if GOARCH == "ppc64" && GOOS == "aix" {
lfstack_64bit.go#L49: if GOARCH == "amd64" {
lfstack_64bit.go#L54: if GOARCH == "ppc64" && GOOS == "aix" {
malloc.go#L532: case GOARCH == "arm64" && GOOS == "ios":
malloc.go#L534: case GOARCH == "arm64":
os_darwin.go#L298: if GOOS == "darwin" && GOARCH == "arm64" {
os_darwin.go#L311: if !(GOOS == "ios" && GOARCH == "arm64") {
os_darwin.go#L323: if !(GOOS == "ios" && GOARCH == "arm64") {
panic.go#L1412: return pc == funcPC(abort) || ((GOARCH == "arm" || GOARCH == "arm64") && pc == funcPC(abort)+sys.PCQuantum)
preempt.go#L389: if (GOARCH == "mips" || GOARCH == "mipsle" || GOARCH == "mips64" || GOARCH == "mips64le") && lr == pc+8 && funcspdelta(f, pc, nil) == 0 {
proc.go#L139: if GOARCH != "wasm" { // no threads on wasm yet, so no sysmon
proc.go#L1216: return GOARCH == "amd64" || GOARCH == "arm64"
proc.go#L1228: switch GOARCH {
proc.go#L2133: if GOARCH == "wasm" { // no threads on wasm yet
proc.go#L3409: if GOARCH == "wasm" { // no threads yet on wasm
proc.go#L4240: if GOARCH == "wasm" {
proc.go#L4291: if GOARCH == "wasm" {
proc.go#L4390: if GOARCH == "mips" || GOARCH == "mipsle" || GOARCH == "arm" {
runtime2.go#L1108: const framepointer_enabled = GOARCH == "amd64" || GOARCH == "arm64" && (GOOS == "linux" || GOOS == "darwin" || GOOS == "ios")
signal_unix.go#L383: switch GOARCH {
signal_unix.go#L856: if GOOS == "darwin" && GOARCH == "amd64" {
traceback.go#L274: if frame.varp > frame.sp && (GOARCH == "amd64" || GOARCH == "arm64") {
traceback.go#L494: if GOARCH == "arm64" {
type.go#L312: if res > md.etext && GOARCH != "wasm" { // on wasm, functions do not live in the same address space as the linear memory
crypto/tls
common.go#L1444: hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 ||
common.go#L1445: runtime.GOARCH == "arm64" && hasGCMAsmARM64 ||
common.go#L1446: runtime.GOARCH == "s390x" && hasGCMAsmS390X
golang.org/x/sys/unix
sockcmsg_unix_other.go#L32: if runtime.GOARCH == "arm" {
src.elv.sh/pkg/eval/mods/platform
platform.go#L76: "arch": vars.NewReadOnly(runtime.GOARCH),
syscall
exec_unix.go#L303: } else if runtime.GOOS == "openbsd" && runtime.GOARCH == "amd64" {
sockcmsg_unix_other.go#L32: if runtime.GOARCH == "arm" {
sockcmsg_unix_other.go#L36: if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
testing
benchmark.go#L262: fmt.Fprintf(b.w, "goarch: %s\n", runtime.GOARCH)
benchmark.go#L655: fmt.Printf("goarch: %s\n", runtime.GOARCH)
vendor/golang.org/x/crypto/chacha20
xor.go#L10: const unaligned = runtime.GOARCH == "386" ||
xor.go#L11: runtime.GOARCH == "amd64" ||
xor.go#L12: runtime.GOARCH == "arm64" ||
xor.go#L13: runtime.GOARCH == "ppc64le" ||
xor.go#L14: runtime.GOARCH == "s390x"
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)