diff options
-rw-r--r-- | riscv/insns/cm_mvsa01.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insns/cm_mvsa01.h b/riscv/insns/cm_mvsa01.h index 949d2f8..7288fbd 100644 --- a/riscv/insns/cm_mvsa01.h +++ b/riscv/insns/cm_mvsa01.h @@ -2,5 +2,6 @@ require_extension(EXT_ZCMP); if (p->extension_enabled('E')) { require((insn.rvc_r1sc() < 2) && (insn.rvc_r2sc() < 2)); } +require(insn.rvc_r1sc() != insn.rvc_r2sc()); WRITE_REG(RVC_R1S, READ_REG(X_A0)); WRITE_REG(RVC_R2S, READ_REG(X_A1)); |