1/* 2 * Copyright (c) 2010-2012 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 --- 870 unchanged lines hidden (view full) --- 879 880 // Tell the rename map to set the architected register to the 881 // previous physical register that it was renamed to. 882 renameMap[tid]->setEntry(hb_it->archReg, hb_it->prevPhysReg); 883 884 // Put the renamed physical register back on the free list. 885 freeList->addReg(hb_it->newPhysReg); 886 |
887 historyBuffer[tid].erase(hb_it++); 888 889 ++renameUndoneMaps; 890 } 891} 892 893template<class Impl> 894void --- 145 unchanged lines hidden (view full) --- 1040 1041 inst->flattenDestReg(dest_idx, flat_dest_reg); 1042 1043 // Get the physical register that the destination will be 1044 // renamed to. 1045 rename_result = renameMap[tid]->rename(flat_dest_reg); 1046 1047 //Mark Scoreboard entry as not ready |
1048 scoreboard->unsetReg(rename_result.first); |
1049 1050 DPRINTF(Rename, "[tid:%u]: Renaming arch reg %i to physical " 1051 "reg %i.\n", tid, (int)flat_dest_reg, 1052 (int)rename_result.first); 1053 1054 // Record the rename information so that a history can be kept. 1055 RenameHistory hb_entry(inst->seqNum, flat_dest_reg, 1056 rename_result.first, --- 317 unchanged lines hidden --- |