diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2019-11-20 20:02:17 -0800 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2019-12-20 09:58:46 -0800 |
commit | f7caa6312f380b02fde8de235fde0752e01b3a54 (patch) | |
tree | 2b0baae55317929a922ea88e5c11980cbdce57cf /riscv/insns/vadc_vim.h | |
parent | c09ec9ce61523af282def19e87ce081dc9eb77c3 (diff) | |
download | spike-f7caa6312f380b02fde8de235fde0752e01b3a54.zip spike-f7caa6312f380b02fde8de235fde0752e01b3a54.tar.gz spike-f7caa6312f380b02fde8de235fde0752e01b3a54.tar.bz2 |
rvv: fix vadc/vsbc
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/insns/vadc_vim.h')
-rw-r--r-- | riscv/insns/vadc_vim.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/riscv/insns/vadc_vim.h b/riscv/insns/vadc_vim.h index e21e2f8..824fac9 100644 --- a/riscv/insns/vadc_vim.h +++ b/riscv/insns/vadc_vim.h @@ -1,6 +1,5 @@ -// vadc.vim vd, vs2, simm5 -require(!(insn.rd() == 0 && P.VU.vlmul > 1)); -VI_VI_LOOP +// vadc.vim vd, vs2, simm5, v0 +VI_XI_LOOP_WITH_CARRY ({ auto &v0 = P.VU.elt<uint64_t>(0, midx); const uint128_t op_mask = (UINT64_MAX >> (64 - sew)); |