const runtime.GOARCH

87 uses

	runtime (current package)
		alg.go#L381: 	if (GOARCH == "386" || GOARCH == "amd64") &&
		alg.go#L388: 	if GOARCH == "arm64" && cpu.ARM64.HasAES {
		debug.go#L71: 	if GOARCH == "wasm" && n > 1 {
		extern.go#L390: const GOARCH string = goarch.GOARCH
		malloc.go#L531: 			case GOARCH == "arm64" && GOOS == "ios":
		malloc.go#L533: 			case GOARCH == "arm64":
		mbitmap.go#L224: 	if GOARCH == "amd64" {
		mbitmap.go#L1324: 		if (GOARCH == "amd64" || GOARCH == "arm64") && p == clobberdeadPtr && debug.invalidptr != 0 {
		os_linux.go#L491: 	if GOARCH == "386" || GOARCH == "amd64" {
		os_linux.go#L777: 	if GOARCH == "ppc64" || GOARCH == "ppc64le" {
		os_linux.go#L888: 	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#L271: 		if GOARCH == "wasm" {
		proc.go#L767: 	switch GOARCH {
		proc.go#L1839: 		return GOARCH != "mips64"
		proc.go#L1851: 		return GOARCH != "mips64"
		proc.go#L2941: 	if GOARCH == "wasm" { // no threads on wasm yet
		proc.go#L4488: 	if GOARCH == "wasm" { // no threads yet on wasm
		proc.go#L5205: 	if GOARCH == "arm64" {
		proc.go#L5454: 	if GOARCH == "wasm" {
		proc.go#L5506: 	if GOARCH == "wasm" {
		proc.go#L5610: 	if GOARCH == "mips" || GOARCH == "mipsle" || GOARCH == "arm" {
		proc.go#L5617: 		if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && pc&0xffff0000 == 0xffff0000 {
		proc.go#L6113: 	if (islibrary || isarchive) && GOARCH != "wasm" {
		proc.go#L6223: const haveSysmon = GOARCH != "wasm"
		runtime2.go#L1314: const framepointer_enabled = GOARCH == "amd64" || GOARCH == "arm64"
		signal_unix.go#L399: 	switch GOARCH {
		stack.go#L791: 	if GOARCH == "arm64" {
		stkframe.go#L237: 	if (GOARCH == "amd64" || GOARCH == "arm64" || GOARCH == "loong64" || GOARCH == "ppc64" || GOARCH == "ppc64le" || GOARCH == "riscv64") &&
		symtab.go#L652: 	if GOARCH == "wasm" {
		symtab.go#L699: 		if res > md.etext && GOARCH != "wasm" { // on wasm, functions do not live in the same address space as the linear memory
		symtab.go#L704: 	if GOARCH == "wasm" {
		symtab.go#L720: 	if GOARCH == "wasm" {
		symtab.go#L727: 		if GOARCH == "wasm" {
		symtab.go#L928: 	if GOARCH == "wasm" {
		tagptr_64bit.go#L74: 	if GOARCH == "amd64" {
		traceback.go#L190: 	if GOARCH == "arm" && goarm < 7 && GOOS == "linux" && frame.pc&0xffff0000 == 0xffff0000 {

	crypto/internal/fips140
		fips140.go#L46: 	case runtime.GOARCH == "wasm",
		fips140.go#L47: 		runtime.GOOS == "windows" && runtime.GOARCH == "386",
		fips140.go#L48: 		runtime.GOOS == "windows" && runtime.GOARCH == "arm",
		fips140.go#L51: 		return errors.New("FIPS 140-3 mode is not supported on " + runtime.GOOS + "-" + runtime.GOARCH)

	crypto/internal/fips140/nistec
		p256_asm.go#L333: 	if runtime.GOARCH == "s390x" {

	crypto/tls
		cipher_suites.go#L374: 	hasGCMAsmPPC64 = runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le"

	go/build
		build.go#L371: 		if runtime.GOARCH == c.GOARCH && runtime.GOOS == c.GOOS {
		gc.go#L16: 	return filepath.Join(runtime.GOROOT(), "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)

	golang.org/x/sys/cpu
		byteorder.go#L45: 	switch runtime.GOARCH {
		cpu_x86.go#L61: 		{Name: "sse2", Feature: &X86.HasSSE2, Required: runtime.GOARCH == "amd64"},

	golang.org/x/sys/unix
		sockcmsg_unix_other.go#L32: 		if runtime.GOARCH == "arm" {
		sockcmsg_unix_other.go#L36: 		if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm64" {
		sysvshm_linux.go#L14: 	if runtime.GOARCH == "arm" ||
		sysvshm_linux.go#L15: 		runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" {

	golang.org/x/tools/go/packages
		packages.go#L275: 			ld.sizes = types.SizesFor("gc", runtime.GOARCH)

	internal/buildcfg
		zbootstrap.go#L20: const defaultGOARCH = runtime.GOARCH

	syscall
		exec_linux.go#L336: 		if runtime.GOARCH == "s390x" {
		exec_linux.go#L852: 	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" {

	testing
		benchmark.go#L278: 		fmt.Fprintf(b.w, "goarch: %s\n", runtime.GOARCH)
		benchmark.go#L845: 			fmt.Printf("goarch: %s\n", runtime.GOARCH)

	text/template
		exec.go#L25: 	if runtime.GOARCH == "wasm" {

	text/template/parse
		parse.go#L52: 	if runtime.GOARCH == "wasm" {

	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#L61: 		{Name: "sse2", Feature: &X86.HasSSE2, Required: runtime.GOARCH == "amd64"},