qemu/host-utils: Add wrappers for carry builtins
commit1ec8070e58a30bd175a1c7186bff797488e8a17b
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 13 Nov 2020 03:22:23 +0000 (13 03:22 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 16 May 2021 12:12:26 +0000 (16 07:12 -0500)
tree482cfc1e7087dc6dcd036a09732516e6112a7f55
parentcec07c0b6129757337282287870da2d4c3958f48
qemu/host-utils: Add wrappers for carry builtins

These builtins came in clang 3.8, but are not present in gcc through
version 11.  Even in clang the optimization is only ideal on x86_64,
but never worse than the hand-coding that we currently do.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/qemu/host-utils.h