tcg: Include missing 'qemu/bitops.h' header in tcg-gvec-desc.h
Include the missing 'qemu/bitops.h' header to avoid when refactoring unrelated headers: In file included from target/arm/internals.h:34: include/tcg/tcg-gvec-desc.h:48:12: error: call to undeclared function 'extract32' 48 | return extract32(desc, SIMD_MAXSZ_SHIFT, SIMD_MAXSZ_BITS) * 8 + 8; | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260616153432.92939-2-philmd@oss.qualcomm.com>
Philippe Mathieu-Daudé committed
Jun 16, 2026 at 12:23 UTC
b9e9dd882172c4bcc8d11ee9c172db2473d1300d
1 file changed
+2
include/tcg/tcg-gvec-desc.h
+2
@@ -20,6 +20,8 @@
20
#ifndef TCG_TCG_GVEC_DESC_H
21
#define TCG_TCG_GVEC_DESC_H
22
23
+#include "qemu/bitops.h"
24
+
25
/*
26
* This configuration allows MAXSZ to represent 2048 bytes, and
27
* OPRSZ to match MAXSZ, or represent the smaller values 8, 16, or 32.