On 12/24/22 00:16, Song Gao wrote:
+static bool trans_vldi(DisasContext *ctx, arg_vldi *a)
+{
+    TCGv_i32 twd = tcg_constant_i32(a->vd);
+    TCGv_i32 tui = tcg_constant_i32(a->imm);
+
+    CHECK_SXE;
+    gen_helper_vldi(cpu_env, twd, tui);
+    return true;
+}
+

The constant should be expanded during translate, and use tcg_gen_gvec_dupi.


r~

Reply via email to