aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vfmv_f_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vfmv_f_s.h')
-rw-r--r--riscv/insns/vfmv_f_s.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/riscv/insns/vfmv_f_s.h b/riscv/insns/vfmv_f_s.h
index 066db80..dbfe8f9 100644
--- a/riscv/insns/vfmv_f_s.h
+++ b/riscv/insns/vfmv_f_s.h
@@ -2,18 +2,12 @@
require_vector;
require_fp;
require_extension('F');
-require(P.VU.vsew == e8 || P.VU.vsew == e16 || P.VU.vsew == e32 || P.VU.vsew == e64);
+require(P.VU.vsew == e32 || P.VU.vsew == e64);
reg_t rs2_num = insn.rs2();
uint64_t vs2_0 = 0;
const reg_t sew = P.VU.vsew;
switch(sew) {
-case e8:
- vs2_0 = P.VU.elt<uint8_t>(rs2_num, 0);
- break;
-case e16:
- vs2_0 = P.VU.elt<uint16_t>(rs2_num, 0);
- break;
case e32:
vs2_0 = P.VU.elt<uint32_t>(rs2_num, 0);
break;