Skip to content

Commit

Permalink
Merge pull request #1172 from tianon/platform-variants
Browse files Browse the repository at this point in the history
Reformat "Platform Variants", especially to add amd64, ppc64le, riscv64
  • Loading branch information
sudo-bmitch authored Mar 28, 2024
2 parents 0d530f4 + 2d95dde commit b30f6ed
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions image-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,15 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
## Platform Variants

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.

| ISA/ABI | `architecture` | `variant` |
|-----------------|----------------|-------------|
| ARM 32-bit, v6 | `arm` | `v6` |
| ARM 32-bit, v7 | `arm` | `v7` |
| ARM 32-bit, v8 | `arm` | `v8` |
| ARM 64-bit, v8 | `arm64` | `v8` |
These values SHOULD match (or be similar to) their analog listed in [the Go Language document][go-environment2].

| ISA/ABI | `architecture` | `variant` | Go analog |
|------------|----------------|-----------------------|-------------|
| ARM 32-bit | `arm` | `v6`, `v7`, `v8` | `GOARM` |
| ARM 64-bit | `arm64` | `v8`, `v8.1`, … | `GOARM64` |
| POWER8+ | `ppc64le` | `power8`, `power9`, … | `GOPPC64` |
| RISC-V | `riscv64` | `rva20u64`, … | `GORISCV64` |
| x86-64 | `amd64` | `v1`, `v2`, `v3`, … | `GOAMD64` |

## Example Image Index

Expand Down

0 comments on commit b30f6ed

Please sign in to comment.