From c56fd1f7d4d9dfefe70453326842e4355390abcb Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 27 Jun 2019 09:33:46 +0100 Subject: [PATCH] add comments --- riscv/insn_template_sv.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/riscv/insn_template_sv.cc b/riscv/insn_template_sv.cc index 4766a82..b47cc7d 100644 --- a/riscv/insn_template_sv.cc +++ b/riscv/insn_template_sv.cc @@ -178,6 +178,7 @@ reg_t sv_proc_t::FN(processor_t* p, insn_t s_insn, reg_t pc) #endif if (!zeroingsrc) { + // skip over masked-out elements in the src reg while ((src_pset = (src_pred & (1<