decode_impl.hh (2703:638e5b90f4c6) | decode_impl.hh (2731:822b96578fba) |
---|---|
1/* 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; --- 282 unchanged lines hidden (view full) --- 291 } 292 293 // Set status to squashing. 294 decodeStatus[tid] = Squashing; 295 296 for (int i=0; i<fromFetch->size; i++) { 297 if (fromFetch->insts[i]->threadNumber == tid && 298 fromFetch->insts[i]->seqNum > inst->seqNum) { | 1/* 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; --- 282 unchanged lines hidden (view full) --- 291 } 292 293 // Set status to squashing. 294 decodeStatus[tid] = Squashing; 295 296 for (int i=0; i<fromFetch->size; i++) { 297 if (fromFetch->insts[i]->threadNumber == tid && 298 fromFetch->insts[i]->seqNum > inst->seqNum) { |
299 fromFetch->insts[i]->squashed = true; | 299 fromFetch->insts[i]->setSquashed(); |
300 } 301 } 302 303 // Clear the instruction list and skid buffer in case they have any 304 // insts in them. 305 while (!insts[tid].empty()) { 306 insts[tid].pop(); 307 } --- 32 unchanged lines hidden (view full) --- 340 // Set status to squashing. 341 decodeStatus[tid] = Squashing; 342 343 // Go through incoming instructions from fetch and squash them. 344 unsigned squash_count = 0; 345 346 for (int i=0; i<fromFetch->size; i++) { 347 if (fromFetch->insts[i]->threadNumber == tid) { | 300 } 301 } 302 303 // Clear the instruction list and skid buffer in case they have any 304 // insts in them. 305 while (!insts[tid].empty()) { 306 insts[tid].pop(); 307 } --- 32 unchanged lines hidden (view full) --- 340 // Set status to squashing. 341 decodeStatus[tid] = Squashing; 342 343 // Go through incoming instructions from fetch and squash them. 344 unsigned squash_count = 0; 345 346 for (int i=0; i<fromFetch->size; i++) { 347 if (fromFetch->insts[i]->threadNumber == tid) { |
348 fromFetch->insts[i]->squashed = true; | 348 fromFetch->insts[i]->setSquashed(); |
349 squash_count++; 350 } 351 } 352 353 // Clear the instruction list and skid buffer in case they have any 354 // insts in them. 355 while (!insts[tid].empty()) { 356 insts[tid].pop(); --- 395 unchanged lines hidden --- | 349 squash_count++; 350 } 351 } 352 353 // Clear the instruction list and skid buffer in case they have any 354 // insts in them. 355 while (!insts[tid].empty()) { 356 insts[tid].pop(); --- 395 unchanged lines hidden --- |