From 2a81bdf96cc471f9d4d3c16acb2b076259145801 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Wed, 3 Jun 2020 01:19:07 -0700 Subject: rvv: fix vms[oib]f.m overlapping rule Signed-off-by: Chih-Min Chao --- riscv/insns/vmsif_m.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'riscv/insns/vmsif_m.h') diff --git a/riscv/insns/vmsif_m.h b/riscv/insns/vmsif_m.h index 73aadbc..6e941eb 100644 --- a/riscv/insns/vmsif_m.h +++ b/riscv/insns/vmsif_m.h @@ -1,9 +1,9 @@ -// vmpopc rd, vs2, vm +// vmsif.m rd, vs2, vm require(P.VU.vsew >= e8 && P.VU.vsew <= e64); require_vector; require(P.VU.vstart == 0); -if (insn.v_vm() == 0) - require(insn.rd() != 0 && insn.rd() != insn.rs2()); +require_vm; +require(insn.rd() != insn.rs2()); reg_t vl = P.VU.vl; reg_t rd_num = insn.rd(); -- cgit v1.1