在 2023/3/29 上午3:59, Richard Henderson 写道:
On 3/27/23 20:05, Song Gao wrote:
+ func(mop, vd_ofs, vj_ofs, vk_ofs, 16, 16);
Oh, reading about ASXD and 256-bit vectors makes me wonder if it would
be better to plan ahead and have a function, or DisasContext member,
for the length of the vector.
like arm:
/* Return the byte size of the "whole" vector register, VL / 8. */
static inline int vec_full_reg_size(DisasContext *s)
{
return s->vl;
}
What I'm confused about is what is the difference between s->vl and
s->vec_len ?
Thanks.
Song Gao