]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 5 Mar 2024 14:38:26 +0000 (17:38 +0300)
commit151d593c7d276bdc888956bc3eae50f757b3d0bd
tree97b77bbc3b6b251f42580301159b8f4b8b631a94
parent16f1f95ebd7de82a49d07e0377c36c48f40b194d
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>
(cherry picked from commit 7f89fdf8ebe6ef8df48f0a05f44e1020c713a94e)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/aarch64/tcg-target.h