CPU: Make physPort and getPhysPort available in SE mode.
[gem5.git] / src / cpu / inorder / reg_dep_map.hh
index 2aff5687bea8dffa03d09252dd60a4e84e5c73d2..fa69e22342166f7173685fccd52b36c96865226c 100644 (file)
@@ -77,7 +77,7 @@ class RegDepMap
      *  another instruction for this destination register?
      */
     DynInstPtr canForward(uint8_t reg_type, unsigned reg_idx,
-                          DynInstPtr inst, unsigned clean_idx);
+                          DynInstPtr inst);
 
     /** find an instruction to forward/bypass a value from */
     DynInstPtr findBypassInst(RegIndex idx);
@@ -94,14 +94,12 @@ class RegDepMap
     
   private:
     /** Insert an instruction into a specific destination register index
-     *  onto map. This must be called w/the unflattened registered index
+     *  onto map.
      */
-    void insert(RegIndex idx, DynInstPtr inst);
+    void insert(uint8_t reg_type, RegIndex idx, DynInstPtr inst);
 
-    /** Remove a specific instruction and dest. register index from map
-     *  This must be called w/the unflattened registered index
-     */
-    void remove(RegIndex idx, DynInstPtr inst);
+    /** Remove a specific instruction and dest. register index from map */
+    void remove(uint8_t reg_type, RegIndex idx, DynInstPtr inst);
 
     typedef std::vector<std::list<DynInstPtr> > DepMap;
     std::vector<DepMap> regMap;