qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 11/55] target/arm: Implement MVE VLDR/VSTR (non-widening form


From: Richard Henderson
Subject: Re: [PATCH 11/55] target/arm: Implement MVE VLDR/VSTR (non-widening forms)
Date: Tue, 8 Jun 2021 14:43:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 6/8/21 2:33 PM, Richard Henderson wrote:

+static bool trans_VLDR_VSTR(DisasContext *s, arg_VLDR_VSTR *a)
+{
+    MVEGenLdStFn *ldfns[] = {

static MVEGenLdStFn * const ldfns

+    MVEGenLdStFn *stfns[] = {

Likewise, though...

+    return do_ldst(s, a, a->l ? ldfns[a->size] : stfns[a->size]);

... just put em together into a two-dimensional array, with a->l as the second index?

... or separate VLDR from VSTR.

r~



reply via email to

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