aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vmv_s_x.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vmv_s_x.h')
-rw-r--r--riscv/insns/vmv_s_x.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/riscv/insns/vmv_s_x.h b/riscv/insns/vmv_s_x.h
index 38b2697..948b5be 100644
--- a/riscv/insns/vmv_s_x.h
+++ b/riscv/insns/vmv_s_x.h
@@ -24,23 +24,5 @@ if (vl > 0) {
break;
}
- const reg_t max_len = P.VU.VLEN / sew;
- for (reg_t i = 1; i < max_len; ++i) {
- switch(sew) {
- case e8:
- P.VU.elt<uint8_t>(rd_num, i) = 0;
- break;
- case e16:
- P.VU.elt<uint16_t>(rd_num, i) = 0;
- break;
- case e32:
- P.VU.elt<uint32_t>(rd_num, i) = 0;
- break;
- default:
- P.VU.elt<uint64_t>(rd_num, i) = 0;
- break;
- }
- }
-
vl = 0;
}