diff options
author | Korey Sewell <ksewell@umich.edu> | 2009-09-17 15:45:27 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2009-09-17 15:45:27 -0400 |
commit | 6f7e1961131250817f6b73f5ee8cf7902bb4bba0 (patch) | |
tree | de2498210293d075b11cafb5bd9fd535f360a067 /src/cpu/inorder/resources/mult_div_unit.hh | |
parent | 931405da2f8828c23463d83f0b77b551d633565c (diff) | |
download | gem5-6f7e1961131250817f6b73f5ee8cf7902bb4bba0.tar.xz |
inorder-mdu: multiplier latency fix
mdu was workign incorrectly for 4+ latency due to incorrectly assuming
multiply was finished the next stage
Diffstat (limited to 'src/cpu/inorder/resources/mult_div_unit.hh')
-rw-r--r-- | src/cpu/inorder/resources/mult_div_unit.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/inorder/resources/mult_div_unit.hh b/src/cpu/inorder/resources/mult_div_unit.hh index 76180714c..d3dd0260d 100644 --- a/src/cpu/inorder/resources/mult_div_unit.hh +++ b/src/cpu/inorder/resources/mult_div_unit.hh @@ -82,6 +82,8 @@ class MultDivUnit : public Resource { /** Register extra resource stats */ virtual void regStats(); + void requestAgain(DynInstPtr inst, bool &try_request); + protected: /** Latency & Repeat Rate for Multiply Insts */ unsigned multRepeatRate; |