qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RESEND v5 03/57] target/loongarch: Use gen_helper_gvec_4_ptr


From: gaosong
Subject: Re: [PATCH RESEND v5 03/57] target/loongarch: Use gen_helper_gvec_4_ptr for 4OP + env vector instructions
Date: Fri, 8 Sep 2023 11:22:55 +0800
User-agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

在 2023/9/8 上午1:34, Richard Henderson 写道:
On 9/7/23 01:31, Song Gao wrote:
+static bool gen_vvvv_ptr_vl(DisasContext *ctx, arg_vvvv *a, uint32_t oprsz,
+                            gen_helper_gvec_4_ptr *fn)
+{
+    tcg_gen_gvec_4_ptr(vec_full_offset(a->vd),
+                       vec_full_offset(a->vj),
+                       vec_full_offset(a->vk),
+                       vec_full_offset(a->va),
+                       cpu_env,
+                       oprsz, ctx->vl / 8, oprsz, fn);
                                               ^^^^^

This next to last argument is 'data', which is unused for this case.
Just use 0 here.

Got it,  I will correct the other 6 similar patches.

Thanks.
Song Gao




reply via email to

[Prev in Thread] Current Thread [Next in Thread]