Skip to content

Commit 2d95dde

Browse files
committed
Reformat "Platform Variants", especially to add amd64, ppc64le, riscv64
This changes the table to be a line per ISA instead of per variant; adds x86-64, POWER8+, and RISC-V; and notes the appropriate "Go analog" in each case (because these values mirror Go's choices, like our use of `GOOS` and `GOARCH`). Of particular note, `GOARM64` and `GORISCV64` are not fully implemented or released in Go yet, but they are accepted proposals with in-progress implementations or already merged to main: - `GOARM64`: https://golang.org/issue/60905 - `GORISCV64`: https://golang.org/issue/61476#issuecomment-1791156741 Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
1 parent f5f8701 commit 2d95dde

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

image-index.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,15 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
105105
## Platform Variants
106106

107107
When the variant of the CPU is not listed in the table, values are implementation-defined and SHOULD be submitted to this specification for standardization.
108-
109-
| ISA/ABI | `architecture` | `variant` |
110-
|-----------------|----------------|-------------|
111-
| ARM 32-bit, v6 | `arm` | `v6` |
112-
| ARM 32-bit, v7 | `arm` | `v7` |
113-
| ARM 32-bit, v8 | `arm` | `v8` |
114-
| ARM 64-bit, v8 | `arm64` | `v8` |
108+
These values SHOULD match (or be similar to) their analog listed in [the Go Language document][go-environment2].
109+
110+
| ISA/ABI | `architecture` | `variant` | Go analog |
111+
|------------|----------------|-----------------------|-------------|
112+
| ARM 32-bit | `arm` | `v6`, `v7`, `v8` | `GOARM` |
113+
| ARM 64-bit | `arm64` | `v8`, `v8.1`, … | `GOARM64` |
114+
| POWER8+ | `ppc64le` | `power8`, `power9`, … | `GOPPC64` |
115+
| RISC-V | `riscv64` | `rva20u64`, … | `GORISCV64` |
116+
| x86-64 | `amd64` | `v1`, `v2`, `v3`, … | `GOAMD64` |
115117

116118
## Example Image Index
117119

0 commit comments

Comments
 (0)