scoreboard.cc (10934:5af8f40d8f2c) | scoreboard.cc (10935:acd48ddd725f) |
---|---|
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; | 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; | 74 case MiscRegClass: 75 /* Don't bother with Misc registers */ 76 ret = false; 77 break; 78 } 79 } 80 81 return ret; --- 12 unchanged lines hidden (view full) --- 94 ret = thread_context->flattenIntIndex(reg); 95 break; 96 case FloatRegClass: 97 ret = thread_context->flattenFloatIndex(reg); 98 break; 99 case CCRegClass: 100 ret = thread_context->flattenCCIndex(reg); 101 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 --- | 102 case MiscRegClass: 103 /* Don't bother to flatten misc regs as we don't need them here */ 104 /* return thread_context->flattenMiscIndex(reg); */ 105 ret = reg; 106 break; 107 } 108 109 return ret; --- 214 unchanged lines hidden --- |