[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] RISCV: support riscv vector extension 0.7.1
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH] RISCV: support riscv vector extension 0.7.1 |
Date: |
Mon, 6 Jan 2020 06:19:47 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 12/30/19 6:11 PM, LIU Zhiwei wrote:
>
> However It's not clear when use tcg_gen_gvec_*_ptr or tcg_gen_gvec_ool. I
> think
> the meaning of oprsz is the
> the bits of active elements. Therefore , oprsz is 8 * env->vext.vl in RISC-V
> and it can't be fetched from
> TB_FLAGS like SVE.
>
> Probably oprsz field will be not be used in RISC-V vector extension.
Correct. For those risc-v helpers that are called when VL != VLMAX, you would
ignore the oprsz field and fetch it from env.
It may still be handy to pass in vlmax as maxsz, even if you leave the oprsz
field 0. You'll find that out as you do the coding, I suppose.
r~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] RISCV: support riscv vector extension 0.7.1,
Richard Henderson <=