]> git.ipfire.org Git - thirdparty/qemu.git/commit
host-utils: Drop workaround for buggy Apple Clang __builtin_subcll()
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jul 2025 09:07:53 +0000 (10:07 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jul 2025 09:07:53 +0000 (10:07 +0100)
commite74aad9f81cc2bfee2057086610e21bd98e9c5a5
tree58f6aff1e6be8446a343f979c161df2436c99efb
parent32d8fb61e5a1fb5feeecce85d461be019cc30a54
host-utils: Drop workaround for buggy Apple Clang __builtin_subcll()

In commit b0438861efe ("host-utils: Avoid using __builtin_subcll on
buggy versions of Apple Clang") we added a workaround for a bug in
Apple Clang 14 where its __builtin_subcll() implementation was wrong.
This bug was only present in Apple Clang 14, not in upstream clang,
and is not present in Apple Clang versions 15 and newer.

Since commit 4e035201 we have required at least Apple Clang 15, so we
no longer build with the buggy versions.  We can therefore drop the
workaround. This is effectively a revert of b0438861efe.

This should not be backported to stable branches, which may still
need to support Apple Clang 14.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3030
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250714145033.1908788-1-peter.maydell@linaro.org
include/qemu/compiler.h
include/qemu/host-utils.h