mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target/riscv: rvv-1.0: count population in mask instruction
Signed-off-by: Frank Chang <frank.chang@sifive.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20211210075704.23951-30-frank.chang@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
0676d8e3dc
commit
0014aa741d
4 changed files with 9 additions and 8 deletions
|
@ -4214,9 +4214,9 @@ GEN_VEXT_MASK_VV(vmnor_mm, DO_NOR)
|
|||
GEN_VEXT_MASK_VV(vmornot_mm, DO_ORNOT)
|
||||
GEN_VEXT_MASK_VV(vmxnor_mm, DO_XNOR)
|
||||
|
||||
/* Vector mask population count vmpopc */
|
||||
target_ulong HELPER(vmpopc_m)(void *v0, void *vs2, CPURISCVState *env,
|
||||
uint32_t desc)
|
||||
/* Vector count population in mask vcpop */
|
||||
target_ulong HELPER(vcpop_m)(void *v0, void *vs2, CPURISCVState *env,
|
||||
uint32_t desc)
|
||||
{
|
||||
target_ulong cnt = 0;
|
||||
uint32_t vm = vext_vm(desc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue