rename_impl.hh (7767:bf5377d8f5c1) rename_impl.hh (7854:3c6783497976)
1/*
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated
11 * unmodified and in its entirety in all distributions of the software,
12 * modified or unmodified, in source code or in binary form.
13 *
2 * Copyright (c) 2004-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
9 * redistributions in binary form must reproduce the above copyright

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

1039
1040 inst->flattenDestReg(dest_idx, flat_dest_reg);
1041
1042 // Get the physical register that the destination will be
1043 // renamed to.
1044 rename_result = renameMap[tid]->rename(flat_dest_reg);
1045
1046 //Mark Scoreboard entry as not ready
14 * Copyright (c) 2004-2006 The Regents of The University of Michigan
15 * All rights reserved.
16 *
17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions are
19 * met: redistributions of source code must retain the above copyright
20 * notice, this list of conditions and the following disclaimer;
21 * redistributions in binary form must reproduce the above copyright

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

1051
1052 inst->flattenDestReg(dest_idx, flat_dest_reg);
1053
1054 // Get the physical register that the destination will be
1055 // renamed to.
1056 rename_result = renameMap[tid]->rename(flat_dest_reg);
1057
1058 //Mark Scoreboard entry as not ready
1047 scoreboard->unsetReg(rename_result.first);
1059 if (dest_reg < TheISA::Ctrl_Base_DepTag)
1060 scoreboard->unsetReg(rename_result.first);
1048
1049 DPRINTF(Rename, "[tid:%u]: Renaming arch reg %i to physical "
1050 "reg %i.\n", tid, (int)flat_dest_reg,
1051 (int)rename_result.first);
1052
1053 // Record the rename information so that a history can be kept.
1054 RenameHistory hb_entry(inst->seqNum, flat_dest_reg,
1055 rename_result.first,

--- 325 unchanged lines hidden ---
1061
1062 DPRINTF(Rename, "[tid:%u]: Renaming arch reg %i to physical "
1063 "reg %i.\n", tid, (int)flat_dest_reg,
1064 (int)rename_result.first);
1065
1066 // Record the rename information so that a history can be kept.
1067 RenameHistory hb_entry(inst->seqNum, flat_dest_reg,
1068 rename_result.first,

--- 325 unchanged lines hidden ---