const runtime.GOARCH
66 uses
runtime (current package)
alg.go#L470: if (GOARCH == "386" || GOARCH == "amd64") &&
alg.go#L477: if GOARCH == "arm64" && cpu.ARM64.HasAES {
debug.go#L17: if GOARCH == "wasm" && n > 1 {
extern.go#L371: const GOARCH string = goarch.GOARCH
iface.go#L477: if !abi.UseInterfaceSwitchCache(GOARCH) {
iface.go#L577: if !abi.UseInterfaceSwitchCache(GOARCH) {
malloc.go#L516: case GOARCH == "arm64" && GOOS == "ios":
malloc.go#L518: case GOARCH == "arm64":
mbitmap.go#L1279: if (GOARCH == "amd64" || GOARCH == "arm64") && p == clobberdeadPtr && debug.invalidptr != 0 {
os_linux.go#L471: if GOARCH == "386" || GOARCH == "amd64" {
os_linux.go#L757: if GOARCH == "ppc64" || GOARCH == "ppc64le" {
os_linux.go#L868: if GOARCH == "ppc64" || GOARCH == "ppc64le" {
preempt.go#L389: if (GOARCH == "mips" || GOARCH == "mipsle" || GOARCH == "mips64" || GOARCH == "mips64le") && lr == pc+8 && funcspdelta(f, pc) == 0 {
proc.go#L731: switch GOARCH {
proc.go#L1735: return GOARCH != "mips64"
proc.go#L1747: return GOARCH != "mips64"
proc.go#L2814: if GOARCH == "wasm" { // no threads on wasm yet
proc.go#L4307: if GOARCH == "wasm" { // no threads yet on wasm
proc.go#L5022: if GOARCH == "arm64" {
proc.go#L5270: if GOARCH == "wasm" {
proc.go#L5322: if GOARCH == "wasm" {
proc.go#L5426: if GOARCH == "mips" || GOARCH == "mipsle" || GOARCH == "arm" {
proc.go#L5433: if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && pc&0xffff0000 == 0xffff0000 {
proc.go#L6039: const haveSysmon = GOARCH != "wasm"
runtime2.go#L1282: const framepointer_enabled = GOARCH == "amd64" || GOARCH == "arm64"
signal_unix.go#L399: switch GOARCH {
stack.go#L760: if GOARCH == "arm64" {
stkframe.go#L237: if (GOARCH == "amd64" || GOARCH == "arm64" || GOARCH == "loong64" || GOARCH == "ppc64" || GOARCH == "ppc64le" || GOARCH == "riscv64") &&
symtab.go#L672: if res > md.etext && GOARCH != "wasm" { // on wasm, functions do not live in the same address space as the linear memory
tagptr_64bit.go#L59: if GOARCH != "ppc64" {
tagptr_64bit.go#L64: if GOARCH == "riscv64" {
tagptr_64bit.go#L72: if GOARCH == "amd64" {
tagptr_64bit.go#L80: if GOARCH == "riscv64" {
traceback.go#L190: if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && frame.pc&0xffff0000 == 0xffff0000 {
crypto/internal/nistec
p256_asm.go#L327: if runtime.GOARCH == "s390x" {
crypto/tls
cipher_suites.go#L374: hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 ||
cipher_suites.go#L375: runtime.GOARCH == "arm64" && hasGCMAsmARM64 ||
cipher_suites.go#L376: runtime.GOARCH == "s390x" && hasGCMAsmS390X
syscall
exec_linux.go#L334: if runtime.GOARCH == "s390x" {
exec_linux.go#L812: if runtime.GOARCH == "s390x" {
exec_unix.go#L303: } else if runtime.GOOS == "openbsd" && runtime.GOARCH != "mips64" {
sockcmsg_unix_other.go#L32: if runtime.GOARCH == "arm" {
sockcmsg_unix_other.go#L36: if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
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"
vendor/golang.org/x/sys/cpu
byteorder.go#L45: switch runtime.GOARCH {
cpu_x86.go#L58: {Name: "sse2", Feature: &X86.HasSSE2, Required: runtime.GOARCH == "amd64"},
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |