mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
target/riscv: rvv-1.0: find-first-set mask bit 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-31-frank.chang@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
0014aa741d
commit
d71a24fc82
4 changed files with 7 additions and 7 deletions
|
@ -4233,9 +4233,9 @@ target_ulong HELPER(vcpop_m)(void *v0, void *vs2, CPURISCVState *env,
|
|||
return cnt;
|
||||
}
|
||||
|
||||
/* vmfirst find-first-set mask bit*/
|
||||
target_ulong HELPER(vmfirst_m)(void *v0, void *vs2, CPURISCVState *env,
|
||||
uint32_t desc)
|
||||
/* vfirst find-first-set mask bit*/
|
||||
target_ulong HELPER(vfirst_m)(void *v0, void *vs2, CPURISCVState *env,
|
||||
uint32_t desc)
|
||||
{
|
||||
uint32_t vm = vext_vm(desc);
|
||||
uint32_t vl = env->vl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue