base_dyn_inst.hh (13500:6e0a2a7c6d8c) base_dyn_inst.hh (13557:fc33e6048b25)
1/*
2 * Copyright (c) 2011,2013,2016 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 635 unchanged lines hidden (view full) ---

644 if (instFlags[RecordResult]) {
645 instResult.push(InstResult(std::forward<T>(t),
646 InstResult::ResultType::VecElem));
647 }
648 }
649 /** @} */
650
651 /** Records an integer register being set to a value. */
1/*
2 * Copyright (c) 2011,2013,2016 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 635 unchanged lines hidden (view full) ---

644 if (instFlags[RecordResult]) {
645 instResult.push(InstResult(std::forward<T>(t),
646 InstResult::ResultType::VecElem));
647 }
648 }
649 /** @} */
650
651 /** Records an integer register being set to a value. */
652 void setIntRegOperand(const StaticInst *si, int idx, IntReg val)
652 void setIntRegOperand(const StaticInst *si, int idx, RegVal val)
653 {
654 setScalarResult(val);
655 }
656
657 /** Records a CC register being set to a value. */
658 void setCCRegOperand(const StaticInst *si, int idx, CCReg val)
659 {
660 setScalarResult(val);
661 }
662
663 /** Record a vector register being set to a value */
664 void setVecRegOperand(const StaticInst *si, int idx,
665 const VecRegContainer& val)
666 {
667 setVecResult(val);
668 }
669
670 /** Records an fp register being set to an integer value. */
671 void
653 {
654 setScalarResult(val);
655 }
656
657 /** Records a CC register being set to a value. */
658 void setCCRegOperand(const StaticInst *si, int idx, CCReg val)
659 {
660 setScalarResult(val);
661 }
662
663 /** Record a vector register being set to a value */
664 void setVecRegOperand(const StaticInst *si, int idx,
665 const VecRegContainer& val)
666 {
667 setVecResult(val);
668 }
669
670 /** Records an fp register being set to an integer value. */
671 void
672 setFloatRegOperandBits(const StaticInst *si, int idx, FloatRegBits val)
672 setFloatRegOperandBits(const StaticInst *si, int idx, RegVal val)
673 {
674 setScalarResult(val);
675 }
676
677 /** Record a vector register being set to a value */
678 void setVecElemOperand(const StaticInst *si, int idx, const VecElem val)
679 {
680 setVecElemResult(val);

--- 411 unchanged lines hidden ---
673 {
674 setScalarResult(val);
675 }
676
677 /** Record a vector register being set to a value */
678 void setVecElemOperand(const StaticInst *si, int idx, const VecElem val)
679 {
680 setVecElemResult(val);

--- 411 unchanged lines hidden ---