base.cc (13905:5cf30883255c) | base.cc (13954:2f400a5f2627) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2010-2012, 2015, 2017 ARM Limited | 2 * Copyright (c) 2010-2012, 2015, 2017, 2018 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 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license --- 478 unchanged lines hidden (view full) --- 489 SimpleThread* thread = t_info.thread; 490 491 // maintain $r0 semantics 492 thread->setIntReg(ZeroReg, 0); 493#if THE_ISA == ALPHA_ISA 494 thread->setFloatReg(ZeroReg, 0); 495#endif // ALPHA_ISA 496 | 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 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license --- 478 unchanged lines hidden (view full) --- 489 SimpleThread* thread = t_info.thread; 490 491 // maintain $r0 semantics 492 thread->setIntReg(ZeroReg, 0); 493#if THE_ISA == ALPHA_ISA 494 thread->setFloatReg(ZeroReg, 0); 495#endif // ALPHA_ISA 496 |
497 // resets predicates 498 t_info.setPredicate(true); 499 t_info.setMemAccPredicate(true); 500 |
|
497 // check for instruction-count-based events 498 comInstEventQueue[curThread]->serviceEvents(t_info.numInst); 499 system->instEventQueue.serviceEvents(system->totalNumInsts); 500 501 // decode the instruction 502 inst = gtoh(inst); 503 504 TheISA::PCState pcState = thread->pcState(); --- 207 unchanged lines hidden --- | 501 // check for instruction-count-based events 502 comInstEventQueue[curThread]->serviceEvents(t_info.numInst); 503 system->instEventQueue.serviceEvents(system->totalNumInsts); 504 505 // decode the instruction 506 inst = gtoh(inst); 507 508 TheISA::PCState pcState = thread->pcState(); --- 207 unchanged lines hidden --- |