From e176c7d1ff5b4470a7602b124eebe1db9e63660d Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 29 Jan 2007 10:48:20 -0500 Subject: [PATCH] A minor hack to get branch prediction to behave like before on Alpha. --HG-- extra : convert_revision : 1eaabd13c72aa42c512a04d162a87491818bc621 --- src/cpu/o3/fetch_impl.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index 90d3868a5..b80fc72e1 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -1150,6 +1150,10 @@ DefaultFetch::fetch(bool &status_change) instruction->staticInst, instruction->readPC()); + ///FIXME This needs to be more robust in dealing with delay slots +#if !ISA_HAS_DELAY_SLOT + predicted_branch |= +#endif lookupAndUpdateNextPC(instruction, next_PC, next_NPC); predicted_branch |= (next_PC != fetch_NPC); -- 2.30.2