Deleted Added
sdiff udiff text old ( 13590:d7e018859709 ) new ( 13610:5d5404ac6288 )
full compact
1/*
2 * Copyright (c) 2011, 2013, 2016-2018 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

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

579 int8_t numFPDestRegs() const { return staticInst->numFPDestRegs(); }
580 int8_t numIntDestRegs() const { return staticInst->numIntDestRegs(); }
581 int8_t numCCDestRegs() const { return staticInst->numCCDestRegs(); }
582 int8_t numVecDestRegs() const { return staticInst->numVecDestRegs(); }
583 int8_t numVecElemDestRegs() const
584 {
585 return staticInst->numVecElemDestRegs();
586 }
587
588 /** Returns the logical register index of the i'th destination register. */
589 const RegId& destRegIdx(int i) const { return staticInst->destRegIdx(i); }
590
591 /** Returns the logical register index of the i'th source register. */
592 const RegId& srcRegIdx(int i) const { return staticInst->srcRegIdx(i); }
593
594 /** Return the size of the instResult queue. */

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

633 template<typename T>
634 void setVecElemResult(T&& t)
635 {
636 if (instFlags[RecordResult]) {
637 instResult.push(InstResult(std::forward<T>(t),
638 InstResult::ResultType::VecElem));
639 }
640 }
641 /** @} */
642
643 /** Records an integer register being set to a value. */
644 void setIntRegOperand(const StaticInst *si, int idx, RegVal val)
645 {
646 setScalarResult(val);
647 }
648

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

667 }
668
669 /** Record a vector register being set to a value */
670 void setVecElemOperand(const StaticInst *si, int idx, const VecElem val)
671 {
672 setVecElemResult(val);
673 }
674
675 /** Records that one of the source registers is ready. */
676 void markSrcRegReady();
677
678 /** Marks a specific register as ready. */
679 void markSrcRegReady(RegIndex src_idx);
680
681 /** Returns if a source register is ready. */
682 bool isReadySrcRegIdx(int idx) const

--- 219 unchanged lines hidden ---