mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
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>
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
#ifndef TCG_TCG_GVEC_DESC_H
|
||||
#define TCG_TCG_GVEC_DESC_H
|
||||
|
||||
#include "qemu/bitops.h"
|
||||
|
||||
/*
|
||||
* This configuration allows MAXSZ to represent 2048 bytes, and
|
||||
* OPRSZ to match MAXSZ, or represent the smaller values 8, 16, or 32.
|
||||
|
||||
Reference in New Issue
Block a user