From db6051f2001243e5132f224ece06753aff85748d Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 10 Oct 2016 13:32:25 -0700 Subject: [PATCH] Don't force load trigger timing to After Allow the CSR writer to make the choice. @timsifive @colinschmidt this fixes the failing rv64mi-p-breakpoint test. --- riscv/processor.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/riscv/processor.cc b/riscv/processor.cc index 47a3a66..f3764ae 100644 --- a/riscv/processor.cc +++ b/riscv/processor.cc @@ -437,8 +437,6 @@ void processor_t::set_csr(int which, reg_t val) // Assume we're here because of csrw. if (mc->execute) mc->timing = 0; - if (mc->load) - mc->timing = 1; trigger_updated(); } break; -- 2.30.2