inst_queue_impl.hh (10032:5a7852a013d4) inst_queue_impl.hh (10231:cb2e6950956d)
1/*
2 * Copyright (c) 2011-2013 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

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

1257 PhysRegIndex src_reg = new_inst->renamedSrcRegIdx(src_reg_idx);
1258
1259 // Check the IQ's scoreboard to make sure the register
1260 // hasn't become ready while the instruction was in flight
1261 // between stages. Only if it really isn't ready should
1262 // it be added to the dependency graph.
1263 if (src_reg >= numPhysRegs) {
1264 continue;
1/*
2 * Copyright (c) 2011-2013 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

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

1257 PhysRegIndex src_reg = new_inst->renamedSrcRegIdx(src_reg_idx);
1258
1259 // Check the IQ's scoreboard to make sure the register
1260 // hasn't become ready while the instruction was in flight
1261 // between stages. Only if it really isn't ready should
1262 // it be added to the dependency graph.
1263 if (src_reg >= numPhysRegs) {
1264 continue;
1265 } else if (regScoreboard[src_reg] == false) {
1265 } else if (!regScoreboard[src_reg]) {
1266 DPRINTF(IQ, "Instruction PC %s has src reg %i that "
1267 "is being added to the dependency chain.\n",
1268 new_inst->pcState(), src_reg);
1269
1270 dependGraph.insert(src_reg, new_inst);
1271
1272 // Change the return value to indicate that something
1273 // was added to the dependency graph.

--- 255 unchanged lines hidden ---
1266 DPRINTF(IQ, "Instruction PC %s has src reg %i that "
1267 "is being added to the dependency chain.\n",
1268 new_inst->pcState(), src_reg);
1269
1270 dependGraph.insert(src_reg, new_inst);
1271
1272 // Change the return value to indicate that something
1273 // was added to the dependency graph.

--- 255 unchanged lines hidden ---