From: Luke Kenneth Casson Leighton Date: Mon, 1 Oct 2018 14:08:25 +0000 (+0100) Subject: add comment explaining use of insn._rd() in zeroing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dad52800dd7f1945f862df7ebf4be70517ac7ace;p=riscv-isa-sim.git add comment explaining use of insn._rd() in zeroing --- diff --git a/riscv/insn_template_sv.cc b/riscv/insn_template_sv.cc index 5da73bb..475c8e5 100644 --- a/riscv/insn_template_sv.cc +++ b/riscv/insn_template_sv.cc @@ -48,6 +48,7 @@ reg_t FN(processor_t* p, insn_t s_insn, reg_t pc) #if defined(USING_REG_RD) || defined(USING_REG_FRD) if (zeroing && ((dest_pred & (1<