exetrace.cc (3614:70e12b0fe41e) | exetrace.cc (3743:2061715f68d1) |
---|---|
1/* 2 * Copyright (c) 2001-2005 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; --- 233 unchanged lines hidden (view full) --- 242 243 if(!staticInst->isMicroOp() || staticInst->isLastMicroOp()) { 244 while (!compared) { 245 m5Pc = PC & TheISA::PAddrImplMask; 246 lgnPc = shared_data->pc & TheISA::PAddrImplMask; 247 if (shared_data->flags == OWN_M5) { 248 if (lgnPc != m5Pc) 249 diffPC = true; | 1/* 2 * Copyright (c) 2001-2005 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; --- 233 unchanged lines hidden (view full) --- 242 243 if(!staticInst->isMicroOp() || staticInst->isLastMicroOp()) { 244 while (!compared) { 245 m5Pc = PC & TheISA::PAddrImplMask; 246 lgnPc = shared_data->pc & TheISA::PAddrImplMask; 247 if (shared_data->flags == OWN_M5) { 248 if (lgnPc != m5Pc) 249 diffPC = true; |
250 if (shared_data->instruction != staticInst->machInst) | 250 if (shared_data->instruction != 251 (SparcISA::MachInst)staticInst->machInst) { |
251 diffInst = true; | 252 diffInst = true; |
253 } |
|
252 for (int i = 0; i < TheISA::NumRegularIntRegs; i++) { 253 if (thread->readIntReg(i) != shared_data->intregs[i]) { 254 diffRegs = true; 255 } 256 } 257 258 if (diffPC || diffInst || diffRegs ) { 259 outs << "Differences found between M5 and Legion:"; --- 165 unchanged lines hidden --- | 254 for (int i = 0; i < TheISA::NumRegularIntRegs; i++) { 255 if (thread->readIntReg(i) != shared_data->intregs[i]) { 256 diffRegs = true; 257 } 258 } 259 260 if (diffPC || diffInst || diffRegs ) { 261 outs << "Differences found between M5 and Legion:"; --- 165 unchanged lines hidden --- |