diff options
Diffstat (limited to 'src/cpu/inorder/inorder_dyn_inst.cc')
-rw-r--r-- | src/cpu/inorder/inorder_dyn_inst.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cpu/inorder/inorder_dyn_inst.cc b/src/cpu/inorder/inorder_dyn_inst.cc index 280740116..9609db22f 100644 --- a/src/cpu/inorder/inorder_dyn_inst.cc +++ b/src/cpu/inorder/inorder_dyn_inst.cc @@ -520,6 +520,7 @@ InOrderDynInst::setFloatRegOperand(const StaticInst *si, int idx, FloatReg val, } instResult[idx].tick = curTick; + instResult[idx].width = width; } /** Sets a FP register as a integer. */ @@ -527,13 +528,10 @@ void InOrderDynInst::setFloatRegOperandBits(const StaticInst *si, int idx, FloatRegBits val, int width) { - if (width == 32) - instResult[idx].type = Float; - else if (width == 64) - instResult[idx].type = Double; - + instResult[idx].type = Integer; instResult[idx].val.integer = val; instResult[idx].tick = curTick; + instResult[idx].width = width; } /** Sets a misc. register. */ |