projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
105c336
)
A minor hack to get branch prediction to behave like before on Alpha.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 29 Jan 2007 15:48:20 +0000
(10:48 -0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 29 Jan 2007 15:48:20 +0000
(10:48 -0500)
--HG--
extra : convert_revision :
1eaabd13c72aa42c512a04d162a87491818bc621
src/cpu/o3/fetch_impl.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/fetch_impl.hh
b/src/cpu/o3/fetch_impl.hh
index 90d3868a5226bfe18ae09710787b70622c554bb9..b80fc72e1287b9b4ce11386890025022562a17b1 100644
(file)
--- a/
src/cpu/o3/fetch_impl.hh
+++ b/
src/cpu/o3/fetch_impl.hh
@@
-1150,6
+1150,10
@@
DefaultFetch<Impl>::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);