[PATCH] D86310: [X86] Align i128 to 16 bytes in x86 datalayouts
Trevor Gross via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 19 13:59:42 PDT 2023
tmgross added a comment.
Here's confirmation that `_BitInt(128)` should be 8-byte aligned and not 16 (so, different from `__int128`) from https://gitlab.com/x86-psABIs/x86-64-ABI:
> • For N > 64, they are treated as struct of 64-bit integer chunks. The number of
> chunks is the smallest number that can contain the type. _BitInt(N) types are
> byte-aligned to 64 bits. The size of these types is the smallest multiple of the 64-bit
> chunks greater than or equal to N.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86310/new/
https://reviews.llvm.org/D86310
More information about the cfe-commits
mailing list