aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-24 22:36:59 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-01-16 20:57:16 -0800
commit7d3e705a96a980d80fed00de7ab4afa368a22f3f (patch)
tree6227c6b85b676c171a1cec3c03e567c5b5b0d0e0 /tcg
parent87431dd6a94e757858d131279040aec17a444eec (diff)
downloadqemu-7d3e705a96a980d80fed00de7ab4afa368a22f3f.zip
qemu-7d3e705a96a980d80fed00de7ab4afa368a22f3f.tar.gz
qemu-7d3e705a96a980d80fed00de7ab4afa368a22f3f.tar.bz2
tcg: Move fallback tcg_can_emit_vec_op out of line
Don't reference TCG_TARGET_MAYBE_vec in a public header. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 7f5d014..505e43c 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -170,6 +170,10 @@ static inline void tcg_out_vec_op(TCGContext *s, TCGOpcode opc,
{
g_assert_not_reached();
}
+int tcg_can_emit_vec_op(TCGOpcode o, TCGType t, unsigned ve)
+{
+ return 0;
+}
#endif
static void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg, TCGReg arg1,
intptr_t arg2);