Skip to content

Commit beec234

Browse files
committed
[cc] Document [u]intmax_t
These have some effect on the ABI of code that use them, and need to be kept stable long-term, so we should document the sizes they are.
1 parent 104b7dc commit beec234

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

riscv-cc.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,8 @@ alignments (based on the ILP32 convention):
577577
| int | 4 | 4 |
578578
| long | 4 | 4 |
579579
| long long | 8 | 8 |
580+
| ++intmax_t++ | 8 | 8 | ++long long int++
581+
| ++uintmax_t++ | 8 | 8 | ++unsigned long long int++
580582
| void * | 4 | 4 |
581583
| +++__bf16+++ | 2 | 2 | Half precision floating point (bfloat16)
582584
| _Float16 | 2 | 2 | Half precision floating point (binary16 in IEEE 754-2008)
@@ -603,6 +605,8 @@ alignments (based on the LP64 convention):
603605
| int | 4 | 4 |
604606
| long | 8 | 8 |
605607
| long long | 8 | 8 |
608+
| ++intmax_t++ | 8 | 8 | ++long int++
609+
| ++uintmax_t++ | 8 | 8 | ++unsigned long int++
606610
| +++__int128+++ | 16 | 16 |
607611
| void * | 8 | 8 |
608612
| +++__bf16+++ | 2 | 2 | Half precision floating point (bfloat16)

0 commit comments

Comments
 (0)