diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:41 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:41 -0400 |
commit | 2dae0e87358e693f120c2da925801944a4727a91 (patch) | |
tree | b2f70ef7b5fa9e763ba49e0c475fad15af7b0d78 /src/cpu/inorder/inorder_dyn_inst.cc | |
parent | 8c0def8d0347e9a7b84f21895c5cbd94eba9a09a (diff) | |
download | gem5-2dae0e87358e693f120c2da925801944a4727a91.tar.xz |
inorder: use separate float-reg bits function in dyninst
this will make sure we get the correct view of a FP register
Diffstat (limited to 'src/cpu/inorder/inorder_dyn_inst.cc')
-rw-r--r-- | src/cpu/inorder/inorder_dyn_inst.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/inorder/inorder_dyn_inst.cc b/src/cpu/inorder/inorder_dyn_inst.cc index 7fbab4c7d..a90c2cdb4 100644 --- a/src/cpu/inorder/inorder_dyn_inst.cc +++ b/src/cpu/inorder/inorder_dyn_inst.cc @@ -500,8 +500,8 @@ InOrderDynInst::setIntRegOperand(const StaticInst *si, int idx, IntReg val) void InOrderDynInst::setFloatRegOperand(const StaticInst *si, int idx, FloatReg val) { - instResult[idx].res.fpVal.f = val; instResult[idx].type = Float; + instResult[idx].res.fpVal.f = val; instResult[idx].tick = curTick(); DPRINTF(InOrderDynInst, "[tid:%i]: [sn:%i] Result Float Reg. %i " @@ -514,7 +514,7 @@ void InOrderDynInst::setFloatRegOperandBits(const StaticInst *si, int idx, FloatRegBits val) { - instResult[idx].type = Integer; + instResult[idx].type = FloatBits; instResult[idx].res.fpVal.i = val; instResult[idx].tick = curTick(); |