base_dyn_inst.hh (12768:9a299ec956ac) base_dyn_inst.hh (13429:a1e199fd8122)
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

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

822 Addr instAddr() const { return pc.instAddr(); }
823
824 /** Read the PC of the next instruction. */
825 Addr nextInstAddr() const { return pc.nextInstAddr(); }
826
827 /**Read the micro PC of this instruction. */
828 Addr microPC() const { return pc.microPC(); }
829
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

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

822 Addr instAddr() const { return pc.instAddr(); }
823
824 /** Read the PC of the next instruction. */
825 Addr nextInstAddr() const { return pc.nextInstAddr(); }
826
827 /**Read the micro PC of this instruction. */
828 Addr microPC() const { return pc.microPC(); }
829
830 bool readPredicate()
830 bool readPredicate() const
831 {
832 return instFlags[Predicate];
833 }
834
835 void setPredicate(bool val)
836 {
837 instFlags[Predicate] = val;
838

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

850 /** Sets the pointer to the thread state. */
851 void setThreadState(ImplState *state) { thread = state; }
852
853 /** Returns the thread context. */
854 ThreadContext *tcBase() { return thread->getTC(); }
855
856 public:
857 /** Returns whether or not the eff. addr. source registers are ready. */
831 {
832 return instFlags[Predicate];
833 }
834
835 void setPredicate(bool val)
836 {
837 instFlags[Predicate] = val;
838

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

850 /** Sets the pointer to the thread state. */
851 void setThreadState(ImplState *state) { thread = state; }
852
853 /** Returns the thread context. */
854 ThreadContext *tcBase() { return thread->getTC(); }
855
856 public:
857 /** Returns whether or not the eff. addr. source registers are ready. */
858 bool eaSrcsReady();
858 bool eaSrcsReady() const;
859
860 /** Is this instruction's memory access strictly ordered? */
861 bool strictlyOrdered() const { return instFlags[IsStrictlyOrdered]; }
862
863 /** Has this instruction generated a memory request. */
859
860 /** Is this instruction's memory access strictly ordered? */
861 bool strictlyOrdered() const { return instFlags[IsStrictlyOrdered]; }
862
863 /** Has this instruction generated a memory request. */
864 bool hasRequest() { return instFlags[ReqMade]; }
864 bool hasRequest() const { return instFlags[ReqMade]; }
865
866 /** Returns iterator to this instruction in the list of all insts. */
867 ListIt &getInstListIt() { return instListIt; }
868
869 /** Sets iterator for this instruction in the list of all insts. */
870 void setInstListIt(ListIt _instListIt) { instListIt = _instListIt; }
871
872 public:

--- 225 unchanged lines hidden ---
865
866 /** Returns iterator to this instruction in the list of all insts. */
867 ListIt &getInstListIt() { return instListIt; }
868
869 /** Sets iterator for this instruction in the list of all insts. */
870 void setInstListIt(ListIt _instListIt) { instListIt = _instListIt; }
871
872 public:

--- 225 unchanged lines hidden ---