fetch.hh (8064:5b111ae7e7d4) | fetch.hh (8138:f08692f2932e) |
---|---|
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 --- 298 unchanged lines hidden (view full) --- 307 * cycle. */ 308 FetchStatus updateFetchStatus(); 309 310 public: 311 /** Squashes a specific thread and resets the PC. Also tells the CPU to 312 * remove any instructions that are not in the ROB. The source of this 313 * squash should be the commit stage. 314 */ | 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 --- 298 unchanged lines hidden (view full) --- 307 * cycle. */ 308 FetchStatus updateFetchStatus(); 309 310 public: 311 /** Squashes a specific thread and resets the PC. Also tells the CPU to 312 * remove any instructions that are not in the ROB. The source of this 313 * squash should be the commit stage. 314 */ |
315 void squash(const TheISA::PCState &newPC, 316 const InstSeqNum &seq_num, ThreadID tid); | 315 void squash(const TheISA::PCState &newPC, const InstSeqNum &seq_num, 316 DynInstPtr &squashInst, ThreadID tid); |
317 318 /** Ticks the fetch stage, processing all inputs signals and fetching 319 * as many instructions as possible. 320 */ 321 void tick(); 322 323 /** Checks all input signals and updates the status as necessary. 324 * @return: Returns if the status has changed due to input signals. --- 215 unchanged lines hidden --- | 317 318 /** Ticks the fetch stage, processing all inputs signals and fetching 319 * as many instructions as possible. 320 */ 321 void tick(); 322 323 /** Checks all input signals and updates the status as necessary. 324 * @return: Returns if the status has changed due to input signals. --- 215 unchanged lines hidden --- |