qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v6 69/82] target/arm: Share table of sve load functions


From: Richard Henderson
Subject: Re: [PATCH v6 69/82] target/arm: Share table of sve load functions
Date: Sat, 15 May 2021 11:25:38 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 5/13/21 9:25 AM, Peter Maydell wrote:
@@ -5551,7 +5547,9 @@ static void do_ldrq(DisasContext *s, int zt, int pg, 
TCGv_i64 addr, int msz)
      t_pg = tcg_temp_new_ptr();
      tcg_gen_addi_ptr(t_pg, cpu_env, poff);

-    fns[s->be_data == MO_BE][msz](cpu_env, t_pg, addr, t_desc);
+    gen_helper_gvec_mem *fn
+        = ldr_fns[s->mte_active[0]][s->be_data == MO_BE][dtype][0];
+    fn(cpu_env, t_pg, addr, t_desc);

Previously we didn't take account of MTE state, and now we do.
Is this an intentional behaviour change?

Amusing that I didn't even notice.

If it's fixing a bug, the commit message should say so.

Yes, this is fixing a bug in LDRQ.


r~



reply via email to

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