]> git.ipfire.org Git - thirdparty/qemu.git/commit
include/qemu/cpuid: Introduce xgetbv_low
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 25 Oct 2022 08:40:48 +0000 (18:40 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:44:07 +0000 (13:44 -0800)
commit5d133dd839e80e48702916b629c8b396e28611c8
treec3efe42bb4b656db1ae526f2dcfdc4e238a2a1d9
parent417aeaff542e6349694b6ebcdff127f926ec3c7e
include/qemu/cpuid: Introduce xgetbv_low

Replace the two uses of asm to expand xgetbv with an inline function.
Since one of the two has been using the mnemonic, assume that the
comment about "older versions of the assember" is obsolete, as even
that is 4 years old.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/qemu/cpuid.h
tcg/i386/tcg-target.c.inc
util/bufferiszero.c