inorder: InstSeqNum bug
authorKorey Sewell <ksewell@umich.edu>
Wed, 23 Feb 2011 21:35:18 +0000 (16:35 -0500)
committerKorey Sewell <ksewell@umich.edu>
Wed, 23 Feb 2011 21:35:18 +0000 (16:35 -0500)
commit0a74246fb9d618ca851122f4f63135fc490f22cd
treef5c0ff097923ac4b9eb79b9f4a17a853475f3f8d
parent3e1ad73d089a455a559bed6779996877b7370b50
inorder: InstSeqNum bug
Because int and not InstSeqNum was used in a couple of places, you can
overflow the int type and thus get wierd bugs when the sequence number
is negative (or some wierd value)
src/cpu/inorder/resources/agen_unit.cc
src/cpu/inorder/resources/branch_predictor.cc
src/cpu/inorder/resources/execution_unit.cc
src/cpu/inorder/resources/fetch_seq_unit.cc
src/cpu/inorder/resources/tlb_unit.cc
src/cpu/inorder/resources/use_def.cc