nativetrace.cc (7741:340b6f01d69b) | nativetrace.cc (7811:a8fc35183c10) |
---|---|
1/* 2 * Copyright (c) 2006 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; --- 73 unchanged lines hidden (view full) --- 82 83 // CCR 84 read(&realRegVal, sizeof(realRegVal)); 85 realRegVal = SparcISA::gtoh(realRegVal); 86 regVal = tc->readIntReg(SparcISA::NumIntArchRegs + 2); 87 checkReg("ccr", regVal, realRegVal); 88} 89 | 1/* 2 * Copyright (c) 2006 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; --- 73 unchanged lines hidden (view full) --- 82 83 // CCR 84 read(&realRegVal, sizeof(realRegVal)); 85 realRegVal = SparcISA::gtoh(realRegVal); 86 regVal = tc->readIntReg(SparcISA::NumIntArchRegs + 2); 87 checkReg("ccr", regVal, realRegVal); 88} 89 |
90} /* namespace Trace */ | 90} // namespace Trace |
91 92//////////////////////////////////////////////////////////////////////// 93// 94// ExeTracer Simulation Object 95// 96Trace::SparcNativeTrace * 97SparcNativeTraceParams::create() 98{ 99 return new Trace::SparcNativeTrace(this); 100}; | 91 92//////////////////////////////////////////////////////////////////////// 93// 94// ExeTracer Simulation Object 95// 96Trace::SparcNativeTrace * 97SparcNativeTraceParams::create() 98{ 99 return new Trace::SparcNativeTrace(this); 100}; |