diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-05-25 23:37:31 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-05-25 23:53:38 -0700 |
commit | 06911620765f62c840fdff1e64e289df0ac51b3c (patch) | |
tree | 8c2ab434f9ab378574b964630bbe8bc90016694b /riscv/insns | |
parent | 9fb13bd8de86189ef1f6e2359215d8dd86a0d3cf (diff) | |
download | spike-06911620765f62c840fdff1e64e289df0ac51b3c.zip spike-06911620765f62c840fdff1e64e289df0ac51b3c.tar.gz spike-06911620765f62c840fdff1e64e289df0ac51b3c.tar.bz2 |
rvv: add e8 type for scale
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/insns')
-rw-r--r-- | riscv/insns/vfncvt_x_f_w.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insns/vfncvt_x_f_w.h b/riscv/insns/vfncvt_x_f_w.h index aed35e6..d816c59 100644 --- a/riscv/insns/vfncvt_x_f_w.h +++ b/riscv/insns/vfncvt_x_f_w.h @@ -3,6 +3,7 @@ VI_VFP_CVT_SCALE ({ auto vs2 = P.VU.elt<float16_t>(rs2_num, i); P.VU.elt<int8_t>(rd_num, i, true) = f16_to_i8(vs2, STATE.frm, true); + fprintf(stderr, "here 3 %ld %x %x\n", i, vs2.v, P.VU.elt<int8_t>(rd_num, i)); }, { auto vs2 = P.VU.elt<float32_t>(rs2_num, i); |