isa.hh (10033:21c14a2b2117) | isa.hh (10035:2a0fbecfeb14) |
---|---|
1/* 2 * Copyright (c) 2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 177 unchanged lines hidden (view full) --- 186 MiscReg readMiscRegNoEffect(int miscReg); 187 MiscReg readMiscReg(int miscReg, ThreadContext *tc); 188 189 void setMiscRegNoEffect(int miscReg, const MiscReg val); 190 void setMiscReg(int miscReg, const MiscReg val, 191 ThreadContext *tc); 192 193 int | 1/* 2 * Copyright (c) 2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 177 unchanged lines hidden (view full) --- 186 MiscReg readMiscRegNoEffect(int miscReg); 187 MiscReg readMiscReg(int miscReg, ThreadContext *tc); 188 189 void setMiscRegNoEffect(int miscReg, const MiscReg val); 190 void setMiscReg(int miscReg, const MiscReg val, 191 ThreadContext *tc); 192 193 int |
194 flattenIntIndex(int reg) | 194 flattenIntIndex(int reg) const |
195 { 196 assert(reg < TotalInstIntRegs); 197 RegIndex flatIndex = intRegMap[reg]; 198 assert(flatIndex < NumIntRegs); 199 return flatIndex; 200 } 201 202 int | 195 { 196 assert(reg < TotalInstIntRegs); 197 RegIndex flatIndex = intRegMap[reg]; 198 assert(flatIndex < NumIntRegs); 199 return flatIndex; 200 } 201 202 int |
203 flattenFloatIndex(int reg) | 203 flattenFloatIndex(int reg) const |
204 { 205 return reg; 206 } 207 208 // dummy 209 int | 204 { 205 return reg; 206 } 207 208 // dummy 209 int |
210 flattenCCIndex(int reg) | 210 flattenCCIndex(int reg) const |
211 { 212 return reg; 213 } 214 215 int | 211 { 212 return reg; 213 } 214 215 int |
216 flattenMiscIndex(int reg) | 216 flattenMiscIndex(int reg) const |
217 { 218 return reg; 219 } 220 221 222 typedef SparcISAParams Params; 223 const Params *params() const; 224 225 ISA(Params *p); 226}; 227} 228 229#endif | 217 { 218 return reg; 219 } 220 221 222 typedef SparcISAParams Params; 223 const Params *params() const; 224 225 ISA(Params *p); 226}; 227} 228 229#endif |