diff options
author | Dave.Wen <dave.wen@sifive.com> | 2019-06-12 02:47:11 -0700 |
---|---|---|
committer | Dave.Wen <dave.wen@sifive.com> | 2019-06-12 02:47:11 -0700 |
commit | 12b21b212150f6d6016b4b40bb2717d2ca0a185d (patch) | |
tree | 7a626d19daef7fe1545c807bf0319d7e52742b81 /riscv/insns/vfsub_vv.h | |
parent | a8d9f48468ee2661ce40a59ed7ce0e4a39cb873f (diff) | |
download | spike-12b21b212150f6d6016b4b40bb2717d2ca0a185d.zip spike-12b21b212150f6d6016b4b40bb2717d2ca0a185d.tar.gz spike-12b21b212150f6d6016b4b40bb2717d2ca0a185d.tar.bz2 |
rvv: move the common part into macro. except the funary00 and funary01
Diffstat (limited to 'riscv/insns/vfsub_vv.h')
-rw-r--r-- | riscv/insns/vfsub_vv.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/riscv/insns/vfsub_vv.h b/riscv/insns/vfsub_vv.h index 6c6f8b1..71e7a43 100644 --- a/riscv/insns/vfsub_vv.h +++ b/riscv/insns/vfsub_vv.h @@ -1,13 +1,5 @@ // vfsub.vv vd, vs2, vs1 VI_VFP_VV_LOOP ({ - switch(P.VU.vsew) { - case e32: - vd = f32_sub(vs2, vs1); - break; - case e16: - case e8: - default: - softfloat_exceptionFlags = 1; - }; + vd = f32_sub(vs2, vs1); }) |