mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/riscv: rvv-1.0: integer add-with-carry/subtract-with-borrow
* Only do carry-in or borrow-in if is masked (vm=0). * Remove clear function from helper functions as the tail elements are unchanged in RVV 1.0. Signed-off-by: Frank Chang <frank.chang@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20211210075704.23951-44-frank.chang@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
a75ae09f2a
commit
bb45485ad1
3 changed files with 17 additions and 26 deletions
|
@ -1547,7 +1547,7 @@ static bool trans_##NAME(DisasContext *s, arg_rmrr *a) \
|
|||
|
||||
/*
|
||||
* For vadc and vsbc, an illegal instruction exception is raised if the
|
||||
* destination vector register is v0 and LMUL > 1. (Section 12.3)
|
||||
* destination vector register is v0 and LMUL > 1. (Section 12.4)
|
||||
*/
|
||||
static bool opivv_vadc_check(DisasContext *s, arg_rmrr *a)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue