base.cc (12784:08091a9f1c7a) | base.cc (13652:45d94ac03a27) |
---|---|
1/* 2 * Copyright (c) 2011-2012,2016-2017 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 --- 395 unchanged lines hidden (view full) --- 404{ 405 if (!inst->isMicroop() || inst->isLastMicroop()) 406 ppRetiredInsts->notify(1); 407 408 409 if (inst->isLoad()) 410 ppRetiredLoads->notify(1); 411 | 1/* 2 * Copyright (c) 2011-2012,2016-2017 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 --- 395 unchanged lines hidden (view full) --- 404{ 405 if (!inst->isMicroop() || inst->isLastMicroop()) 406 ppRetiredInsts->notify(1); 407 408 409 if (inst->isLoad()) 410 ppRetiredLoads->notify(1); 411 |
412 if (inst->isStore()) | 412 if (inst->isStore() || inst->isAtomic()) |
413 ppRetiredStores->notify(1); 414 415 if (inst->isControl()) 416 ppRetiredBranches->notify(1); 417} 418 419void 420BaseCPU::regStats() --- 439 unchanged lines hidden --- | 413 ppRetiredStores->notify(1); 414 415 if (inst->isControl()) 416 ppRetiredBranches->notify(1); 417} 418 419void 420BaseCPU::regStats() --- 439 unchanged lines hidden --- |