summaryrefslogtreecommitdiff
path: root/src/cpu/o3/btb.hh
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2007-03-23 13:13:10 -0400
committerKevin Lim <ktlim@umich.edu>2007-03-23 13:13:10 -0400
commit941d3168d02347728181ddb02d486d2fafa14131 (patch)
tree0b8901701deb04b47e3cac5deef0e2c4ff3ff8b6 /src/cpu/o3/btb.hh
parent78de00091b8487ae5de0bff1537d63042de99f33 (diff)
downloadgem5-941d3168d02347728181ddb02d486d2fafa14131.tar.xz
Updates for commit.
1. Move interrupt handling to a separate function to clean up main commit() function a bit. Also gate the function call off properly based on whether or not there are outstanding interrupts, and the system is not in PAL mode. 2. Better handling of updating instruction's status bits. Instructions are not marked "atCommit" until other stages view it (pushed off to IEW/IQ), and they have been properly handled (faults). 3. Don't consider the ROB "empty" for the purpose of other stages until the ROB is empty, all stores have written back, and there was no store commits this cycle. The last is necessary in case a store committed, in which case it would look like all stores have written back but in actuality have not. src/cpu/o3/commit.hh: Slightly modify how interrupts are handled. Also include some extra bools to keep track of state properly. src/cpu/o3/commit_impl.hh: Slightly modify how interrupts are handled. Also include some extra bools to keep track of state. General correctness updates, most specifically for when commit broadcasts to other stages that the ROB is empty. --HG-- extra : convert_revision : 682ec6ccf4ee6ed0c8a030ceaba1c90a3619d102
Diffstat (limited to 'src/cpu/o3/btb.hh')
0 files changed, 0 insertions, 0 deletions