[PATCH] D115169: Create a generic ABI document for _BitInt

2022-09-22 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. In D115169#3808463 , @gustedt wrote: >>> Also discussing consequences for `va_arg` functions such as `printf` would >>> be nice. >> >> Does the information in the `Passing and Returning an Object` section >> suffice, or ar

[PATCH] D115169: Create a generic ABI document for _BitInt

2022-09-22 Thread Jens Gustedt via Phabricator via cfe-commits
gustedt added a comment. >> Also discussing consequences for `va_arg` functions such as `printf` would >> be nice. > > Does the information in the `Passing and Returning an Object` section > suffice, or are there more details you're looking for there? The narrow `_BitInt` types are not promoted

[PATCH] D115169: Create a generic ABI document for _BitInt

2022-09-22 Thread Jens Gustedt via Phabricator via cfe-commits
gustedt added a comment. >> Also discussing consequences for `va_arg` functions such as `printf` would >> be nice. > > Does the information in the `Passing and Returning an Object` section > suffice, or are there more details you're looking for there? Ah, sorry must have overlooked this. Thanks

[PATCH] D115169: Create a generic ABI document for _BitInt

2022-09-22 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. In D115169#3805964 , @gustedt wrote: > It seems that this has already shipped on some platforms. Since this > basically binds others to use the same ABI, it would perhaps be nice if the > document could have a table that l

[PATCH] D115169: Create a generic ABI document for _BitInt

2022-09-21 Thread Jens Gustedt via Phabricator via cfe-commits
gustedt added a comment. It seems that this has already shipped on some platforms. Since this basically binds others to use the same ABI, it would perhaps be nice if the document could have a table that lists `MaxFundamentalWidth` and `chunk_t`. Also discussing consequences for `va_arg` functio

[PATCH] D115169: Create a generic ABI document for _BitInt

2022-09-21 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman edited reviewers, added: efriedma; removed: rsmith. aaron.ballman added a comment. Now that C2x is closer to getting finalized, I would like to get this documentation up somewhere public so that other implementations can see what we do and match our behavior more easily. Changing u

[PATCH] D115169: Create a generic ABI document for _BitInt

2021-12-06 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman created this revision. aaron.ballman added reviewers: rjmccall, erichkeane, rsmith. Herald added a subscriber: arphaman. aaron.ballman requested review of this revision. Herald added a project: clang. This document describes a generic ABI for targets to opt into if they wish. It was