@samitouri / QOSamiQemu / commits / 0a1ebd448b

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>

Bibo Mao committed Aug 27, 2026 at 16:11 UTC 0a1ebd448b38afaa118597cbb633dbec24ef74d3
1 file changed +1 -1
tcg/loongarch64/tcg-target.c.inc
+1 -1
@@ -1893,7 +1893,7 @@ static void tgen_revbit8(TCGContext *s, TCGType type, TCGReg a0, TCGReg a1)
1893
1894 static const TCGOutOpUnary outop_revbit8 = {
1895 .base.static_constraint = C_O1_I1(r, r),
1896 - .out_rr = tgen_revbit8;
1896 + .out_rr = tgen_revbit8,
1897 };
1898
1899 static void tgen_revbit32(TCGContext *s, TCGType type,