tcg: Change have_vec to has_type in tcg_op_supported
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 1 Jan 2025 21:59:39 +0000 (13:59 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Jan 2025 04:57:16 +0000 (20:57 -0800)
commitf44824cc4dcdc993d60639576d706ecf5996ca5a
treed399de5d4ef74421e49e11bf70ed4ab5e19de736
parentda43e5e6ba64fbe50d6437719470d57874939542
tcg: Change have_vec to has_type in tcg_op_supported

Test each vector type, not just lumping them all together.
Add tests for I32 (always true) and I64 (64-bit hosts).

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c