qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] host/include/x86_64: Use __m128i for "x" constraints


From: Peter Maydell
Subject: Re: [PATCH] host/include/x86_64: Use __m128i for "x" constraints
Date: Fri, 9 Jun 2023 19:09:51 +0100

On Fri, 9 Jun 2023 at 18:58, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The macOS catalina compiler produces an error for __int128_t
> as the type for allocation with SSE inline asm constraint.
> Create a new X86Int128Union type and use the vector type for
> all SSE register inputs and outputs.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  host/include/x86_64/host/atomic128-ldst.h     | 25 ++++++++++++-------
>  .../x86_64/host/load-extract-al16-al8.h       |  8 +++---
>  2 files changed, 20 insertions(+), 13 deletions(-)

Yep, this fixes the build on my x86 macos box; thanks!

Tested-by: Peter Maydell <peter.maydell@linaro.org>

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]