From 9d8503acfa83b74095368b7d0d02dc026a33af03 Mon Sep 17 00:00:00 2001 From: John McCall Date: Mon, 1 Jul 2024 11:40:02 -0400 Subject: [PATCH] [aapcs64] Round up to a multiple of 8, not just to 8 --- aapcs64/aapcs64.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aapcs64/aapcs64.rst b/aapcs64/aapcs64.rst index 776d98e..9c7df5b 100644 --- a/aapcs64/aapcs64.rst +++ b/aapcs64/aapcs64.rst @@ -1952,8 +1952,8 @@ For a caller, sufficient stack space to hold stacked argument values is assumed | | | | C.13 | | +-----------------------+----------------------------------------------------------------------------------------+ - | | The NSAA is rounded up to the larger of 8 or the Natural Alignment of the argument’s | - | | type. | + | | The NSAA is rounded up to the nearest multiple of the larger of 8 or the Natural | + | | Alignment of the argument’s type. | | C.14 | | +-----------------------+----------------------------------------------------------------------------------------+ | | If the argument is a composite type then the argument is copied to memory at the |