From f1c3691356355d2ca865e48e91814c56293f6326 Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sun, 19 Jun 2011 21:43:40 -0400 Subject: inorder: check for interrupts each tick use a dummy instruction to facilitate the squash after the interrupts trap --- src/cpu/inorder/resource.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cpu/inorder/resource.cc') diff --git a/src/cpu/inorder/resource.cc b/src/cpu/inorder/resource.cc index 817cc5868..b7f6a8db6 100644 --- a/src/cpu/inorder/resource.cc +++ b/src/cpu/inorder/resource.cc @@ -302,6 +302,8 @@ void Resource::squash(DynInstPtr inst, int stage_num, InstSeqNum squash_seq_num, ThreadID tid) { + //@todo: check squash seq num before squashing. can save time going + // through this function. for (int i = 0; i < width; i++) { ResReqPtr req_ptr = reqs[i]; DynInstPtr inst = req_ptr->getInst(); -- cgit v1.2.3