Deleted Added
sdiff udiff text old ( 9918:2c7219e2d999 ) new ( 9920:028e4da64b42 )
full compact
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

--- 592 unchanged lines hidden (view full) ---

601 RegIndex idx = inst->destRegIdx(start_idx);
602 switch (regIdxToClass(idx)) {
603 case IntRegClass:
604 thread->setIntReg(idx, mismatch_val);
605 break;
606 case FloatRegClass:
607 thread->setFloatRegBits(idx, mismatch_val);
608 break;
609 case MiscRegClass:
610 thread->setMiscReg(idx - TheISA::Misc_Reg_Base,
611 mismatch_val);
612 break;
613 }
614 }
615 start_idx++;
616 uint64_t res = 0;
617 for (int i = start_idx; i < inst->numDestRegs(); i++) {
618 RegIndex idx = inst->destRegIdx(i);
619 inst->template popResult<uint64_t>(res);
620 switch (regIdxToClass(idx)) {
621 case IntRegClass:
622 thread->setIntReg(idx, res);
623 break;
624 case FloatRegClass:
625 thread->setFloatRegBits(idx, res);
626 break;
627 case MiscRegClass:
628 // Try to get the proper misc register index for ARM here...
629 thread->setMiscReg(idx - TheISA::Misc_Reg_Base, res);
630 break;
631 // else Register is out of range...
632 }
633 }
634}

--- 46 unchanged lines hidden ---