exetrace.cc (3817:7df12d77afc2) | exetrace.cc (3825:9b5e6c4d3ecb) |
---|---|
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; --- 43 unchanged lines hidden (view full) --- 52 53//XXX This is temporary 54#include "arch/isa_specific.hh" 55#include "cpu/m5legion_interface.h" 56 57using namespace std; 58using namespace TheISA; 59 | 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; --- 43 unchanged lines hidden (view full) --- 52 53//XXX This is temporary 54#include "arch/isa_specific.hh" 55#include "cpu/m5legion_interface.h" 56 57using namespace std; 58using namespace TheISA; 59 |
60static int diffcount = 0; 61 |
|
60namespace Trace { 61SharedData *shared_data = NULL; 62} 63 64//////////////////////////////////////////////////////////////////////// 65// 66// Methods for the InstRecord object 67// --- 495 unchanged lines hidden (view full) --- 563 outs << " X "; 564 else 565 outs << " | "; 566 outs << "0x" << setw(16) << hex 567 << shared_data->intregs[y*8+x] 568 << endl;*/ 569 } 570 } | 62namespace Trace { 63SharedData *shared_data = NULL; 64} 65 66//////////////////////////////////////////////////////////////////////// 67// 68// Methods for the InstRecord object 69// --- 495 unchanged lines hidden (view full) --- 565 outs << " X "; 566 else 567 outs << " | "; 568 outs << "0x" << setw(16) << hex 569 << shared_data->intregs[y*8+x] 570 << endl;*/ 571 } 572 } |
571 fatal("Differences found between Legion and M5\n"); | 573 diffcount++; 574 if (diffcount > 3) 575 fatal("Differences found between Legion and M5\n"); |
572 } 573 574 compared = true; 575 shared_data->flags = OWN_LEGION; 576 } 577 } // while 578 } // if not microop 579 } --- 110 unchanged lines hidden --- | 576 } 577 578 compared = true; 579 shared_data->flags = OWN_LEGION; 580 } 581 } // while 582 } // if not microop 583 } --- 110 unchanged lines hidden --- |