Deleted Added
sdiff udiff text old ( 10934:5af8f40d8f2c ) new ( 10935:acd48ddd725f )
full compact
1/*
2 * Copyright (c) 2013-2014 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

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

66 scoreboard_index = TheISA::NumIntRegs + TheISA::NumCCRegs +
67 reg - TheISA::FP_Reg_Base;
68 ret = true;
69 break;
70 case CCRegClass:
71 scoreboard_index = TheISA::NumIntRegs + reg - TheISA::FP_Reg_Base;
72 ret = true;
73 break;
74 case VectorRegClass:
75 scoreboard_index = TheISA::NumIntRegs + TheISA::NumCCRegs +
76 TheISA::NumFloatRegs + reg - TheISA::Vector_Reg_Base;
77 ret = true;
78 break;
79 case MiscRegClass:
80 /* Don't bother with Misc registers */
81 ret = false;
82 break;
83 }
84 }
85
86 return ret;

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

99 ret = thread_context->flattenIntIndex(reg);
100 break;
101 case FloatRegClass:
102 ret = thread_context->flattenFloatIndex(reg);
103 break;
104 case CCRegClass:
105 ret = thread_context->flattenCCIndex(reg);
106 break;
107 case VectorRegClass:
108 ret = thread_context->flattenVectorIndex(reg);
109 break;
110 case MiscRegClass:
111 /* Don't bother to flatten misc regs as we don't need them here */
112 /* return thread_context->flattenMiscIndex(reg); */
113 ret = reg;
114 break;
115 }
116
117 return ret;

--- 214 unchanged lines hidden ---