From dad52800dd7f1945f862df7ebf4be70517ac7ace Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 1 Oct 2018 15:08:25 +0100 Subject: [PATCH] add comment explaining use of insn._rd() in zeroing --- riscv/insn_template_sv.cc | 1 + 1 file changed, 1 insertion(+) 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<