]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/aarch64: Apple does not align __int128_t in even registers
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 16 Feb 2024 21:40:11 +0000 (15:40 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Feb 2024 21:35:36 +0000 (11:35 -1000)
commit7f89fdf8ebe6ef8df48f0a05f44e1020c713a94e
tree32ad0778a9cc61e2a560521af52df96148a0e3bf
parent41689bb30cb55f411a4d9f7a31f3e601292d3be2
tcg/aarch64: Apple does not align __int128_t in even registers

From https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms

  When passing an argument with 16-byte alignment in integer registers,
  Apple platforms allow the argument to start in an odd-numbered xN
  register. The standard ABI requires it to begin in an even-numbered
  xN register.

Cc: qemu-stable@nongnu.org
Fixes: 5427a9a7604 ("tcg: Add TCG_TARGET_CALL_{RET,ARG}_I128")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2169
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <9fc0c2c7-dd57-459e-aecb-528edb74b4a7@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
tcg/aarch64/tcg-target.h