Skip to content

Commit 12763d1

Browse files
ideaparkrandall77
authored andcommitted
cmd/compile: align table
Signed-off-by: Park Zhou <[email protected]> Change-Id: Idbbd2779264a7310b839af8291315e5e38b7ced9 Reviewed-on: https://go-review.googlesource.com/c/go/+/402120 Reviewed-by: Robert Griesemer <[email protected]> Reviewed-by: Keith Randall <[email protected]> Auto-Submit: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent 94f25ec commit 12763d1

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/cmd/compile/abi-internal.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ specification](/doc/go_spec.html#Size_and_alignment_guarantees).
3232
Those that aren't guaranteed may change in future versions of Go (for
3333
example, we've considered changing the alignment of int64 on 32-bit).
3434

35-
| Type | 64-bit | | 32-bit | |
36-
| --- | --- | --- | --- | --- |
37-
| | Size | Align | Size | Align |
38-
| bool, uint8, int8 | 1 | 1 | 1 | 1 |
39-
| uint16, int16 | 2 | 2 | 2 | 2 |
40-
| uint32, int32 | 4 | 4 | 4 | 4 |
41-
| uint64, int64 | 8 | 8 | 8 | 4 |
42-
| int, uint | 8 | 8 | 4 | 4 |
43-
| float32 | 4 | 4 | 4 | 4 |
44-
| float64 | 8 | 8 | 8 | 4 |
45-
| complex64 | 8 | 4 | 8 | 4 |
46-
| complex128 | 16 | 8 | 16 | 4 |
47-
| uintptr, *T, unsafe.Pointer | 8 | 8 | 4 | 4 |
35+
| Type | 64-bit | | 32-bit | |
36+
|-----------------------------|--------|-------|--------|-------|
37+
| | Size | Align | Size | Align |
38+
| bool, uint8, int8 | 1 | 1 | 1 | 1 |
39+
| uint16, int16 | 2 | 2 | 2 | 2 |
40+
| uint32, int32 | 4 | 4 | 4 | 4 |
41+
| uint64, int64 | 8 | 8 | 8 | 4 |
42+
| int, uint | 8 | 8 | 4 | 4 |
43+
| float32 | 4 | 4 | 4 | 4 |
44+
| float64 | 8 | 8 | 8 | 4 |
45+
| complex64 | 8 | 4 | 8 | 4 |
46+
| complex128 | 16 | 8 | 16 | 4 |
47+
| uintptr, *T, unsafe.Pointer | 8 | 8 | 4 | 4 |
4848

4949
The types `byte` and `rune` are aliases for `uint8` and `int32`,
5050
respectively, and hence have the same size and alignment as these

0 commit comments

Comments
 (0)