In rebasing the patch series up to CL 339015, the branches were messed
up by me, and changes from v3 to v4 of CL 339009 was lost. Fix the
ordering to restore alphabetical order per original review.
Change-Id: I8e57c96e996c4f962cab684a9d305a8dbdeea43b
Reviewed-on: https://go-review.googlesource.com/c/go/+/347731
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Meng Zhuo <mzh@golangcn.org>
ARM
ARM64
I386
+ Loong64
MIPS
MIPS64
PPC64
RISCV64
S390X
Wasm
- Loong64
)
// Arch represents an individual architecture.
Alignment: 1,
}
+var ArchLoong64 = &Arch{
+ Name: "loong64",
+ Family: Loong64,
+ ByteOrder: binary.LittleEndian,
+ PtrSize: 8,
+ RegSize: 8,
+ MinLC: 4,
+ Alignment: 8, // Unaligned accesses are not guaranteed to be fast
+}
+
var ArchMIPS = &Arch{
Name: "mips",
Family: MIPS,
Alignment: 1,
}
-var ArchLoong64 = &Arch{
- Name: "loong64",
- Family: Loong64,
- ByteOrder: binary.LittleEndian,
- PtrSize: 8,
- RegSize: 8,
- MinLC: 4,
- Alignment: 8, // Unaligned accesses are not guaranteed to be fast
-}
-
var Archs = [...]*Arch{
Arch386,
ArchAMD64,
ArchARM,
ArchARM64,
+ ArchLoong64,
ArchMIPS,
ArchMIPSLE,
ArchMIPS64,
ArchRISCV64,
ArchS390X,
ArchWasm,
- ArchLoong64,
}