mirror of
https://github.com/golang/go
synced 2024-09-05 07:54:46 +00:00
go/build, runtime/internal/sys: reserve GOARCH=loong64
Per discussion at #46229 we are taking the "loong64" GOARCH value for
the upcoming LoongArch 64-bit port. It is not clear whether any 32-bit
non-bare-metal userland will exist for LoongArch, so only reserve
"loong64" for now.
Change-Id: I97d262b4ab68ff61c22ccf83e26baf70eefd568d
GitHub-Last-Rev: ecdd8c53bd
GitHub-Pull-Request: golang/go#47129
Reviewed-on: https://go-review.googlesource.com/c/go/+/333909
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
This commit is contained in:
parent
60ddf42b46
commit
2b00a54baf
|
@ -8,4 +8,4 @@ package build
|
|||
// Do not remove from this list, as these are used for go/build filename matching.
|
||||
|
||||
const goosList = "aix android darwin dragonfly freebsd hurd illumos ios js linux nacl netbsd openbsd plan9 solaris windows zos "
|
||||
const goarchList = "386 amd64 amd64p32 arm armbe arm64 arm64be ppc64 ppc64le mips mipsle mips64 mips64le mips64p32 mips64p32le ppc riscv riscv64 s390 s390x sparc sparc64 wasm "
|
||||
const goarchList = "386 amd64 amd64p32 arm armbe arm64 arm64be ppc64 ppc64le loong64 mips mipsle mips64 mips64le mips64p32 mips64p32le ppc riscv riscv64 s390 s390x sparc sparc64 wasm "
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 1
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 1
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
33
src/runtime/internal/sys/zgoarch_loong64.go
Normal file
33
src/runtime/internal/sys/zgoarch_loong64.go
Normal file
|
@ -0,0 +1,33 @@
|
|||
// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.
|
||||
|
||||
//go:build loong64
|
||||
// +build loong64
|
||||
|
||||
package sys
|
||||
|
||||
const GOARCH = `loong64`
|
||||
|
||||
const Goarch386 = 0
|
||||
const GoarchAmd64 = 0
|
||||
const GoarchAmd64p32 = 0
|
||||
const GoarchArm = 0
|
||||
const GoarchArmbe = 0
|
||||
const GoarchArm64 = 0
|
||||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 1
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
const GoarchMips64le = 0
|
||||
const GoarchMips64p32 = 0
|
||||
const GoarchMips64p32le = 0
|
||||
const GoarchPpc = 0
|
||||
const GoarchRiscv = 0
|
||||
const GoarchRiscv64 = 0
|
||||
const GoarchS390 = 0
|
||||
const GoarchS390x = 0
|
||||
const GoarchSparc = 0
|
||||
const GoarchSparc64 = 0
|
||||
const GoarchWasm = 0
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 1
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 1
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 1
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 1
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 1
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
|
@ -16,6 +16,7 @@ const GoarchArm64 = 0
|
|||
const GoarchArm64be = 0
|
||||
const GoarchPpc64 = 0
|
||||
const GoarchPpc64le = 0
|
||||
const GoarchLoong64 = 0
|
||||
const GoarchMips = 0
|
||||
const GoarchMipsle = 0
|
||||
const GoarchMips64 = 0
|
||||
|
|
Loading…
Reference in a new issue