cpu_impl.hh (10417:710ee116eb68) | cpu_impl.hh (10426:cba563d00376) |
---|---|
1/* 2 * Copyright (c) 2011 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 --- 396 unchanged lines hidden (view full) --- 405 } 406 } else { 407 advancePC(fault); 408 } 409 410 if (FullSystem) { 411 // @todo: Determine if these should happen only if the 412 // instruction hasn't faulted. In the SimpleCPU case this may | 1/* 2 * Copyright (c) 2011 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 --- 396 unchanged lines hidden (view full) --- 405 } 406 } else { 407 advancePC(fault); 408 } 409 410 if (FullSystem) { 411 // @todo: Determine if these should happen only if the 412 // instruction hasn't faulted. In the SimpleCPU case this may |
413 // not be true, but in the O3 or Ozone case this may be true. | 413 // not be true, but in the O3 case this may be true. |
414 Addr oldpc; 415 int count = 0; 416 do { 417 oldpc = thread->instAddr(); 418 system->pcEventQueue.service(tc); 419 count++; 420 } while (oldpc != thread->instAddr()); 421 if (count > 1) { --- 265 unchanged lines hidden --- | 414 Addr oldpc; 415 int count = 0; 416 do { 417 oldpc = thread->instAddr(); 418 system->pcEventQueue.service(tc); 419 count++; 420 } while (oldpc != thread->instAddr()); 421 if (count > 1) { --- 265 unchanged lines hidden --- |