Commit 0a1ebd448b for qemu.org
commit 0a1ebd448b38afaa118597cbb633dbec24ef74d3
Author: Bibo Mao <maobibo@loongson.cn>
Date: Thu Aug 27 16:11:38 2026 +0800
tcg/loongarch64: Fix compile issue LoongArch host
On LoongArch host machine, qemu fails to compile. The error is something like
this:
In file included from ../tcg/tcg.c:1098:
tcg/loongarch64/tcg-target.c.inc:1896:27: error: expected ‘}’ before ‘;’ token
1896 | .out_rr = tgen_revbit8;
| ^
tcg/loongarch64/tcg-target.c.inc:1894:44: note: to match this ‘{’
1894 | static const TCGOutOpUnary outop_revbit8 = {
Here fix one small typo issue and pass to compile on LoongArch host.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260827081138.1448296-1-maobibo@loongson.cn>
diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/tcg-target.c.inc
index f65496a040..69e76807d6 100644
--- a/tcg/loongarch64/tcg-target.c.inc
+++ b/tcg/loongarch64/tcg-target.c.inc
@@ -1893,7 +1893,7 @@ static void tgen_revbit8(TCGContext *s, TCGType type, TCGReg a0, TCGReg a1)
static const TCGOutOpUnary outop_revbit8 = {
.base.static_constraint = C_O1_I1(r, r),
- .out_rr = tgen_revbit8;
+ .out_rr = tgen_revbit8,
};
static void tgen_revbit32(TCGContext *s, TCGType type,