Skip to content

Commit b30f6ed

Browse files
authored
Merge pull request #1172 from tianon/platform-variants
Reformat "Platform Variants", especially to add amd64, ppc64le, riscv64
2 parents 0d530f4 + 2d95dde commit b30f6ed

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)