X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcpu%2Finorder%2Freg_dep_map.hh;h=fa69e22342166f7173685fccd52b36c96865226c;hb=e8e9f9731281e8c2ecb50a9aa318a65402cbee5c;hp=2aff5687bea8dffa03d09252dd60a4e84e5c73d2;hpb=6df63650956387d88f24122c783438553412768f;p=gem5.git diff --git a/src/cpu/inorder/reg_dep_map.hh b/src/cpu/inorder/reg_dep_map.hh index 2aff5687b..fa69e2234 100644 --- a/src/cpu/inorder/reg_dep_map.hh +++ b/src/cpu/inorder/reg_dep_map.hh @@ -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 > DepMap; std::vector regMap;