2006-01-10 20:57:37 +01:00
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Output include file directives.
|
|
|
|
//
|
|
|
|
|
|
|
|
output header {{
|
|
|
|
#include <sstream>
|
|
|
|
#include <iostream>
|
|
|
|
#include <iomanip>
|
|
|
|
|
|
|
|
#include "cpu/static_inst.hh"
|
2006-03-12 11:57:34 +01:00
|
|
|
#include "arch/mips/isa_traits.hh"
|
2006-01-10 20:57:37 +01:00
|
|
|
}};
|
|
|
|
|
|
|
|
output decoder {{
|
2006-03-12 11:57:34 +01:00
|
|
|
#include "arch/mips/isa_traits.hh"
|
2006-01-10 20:57:37 +01:00
|
|
|
#include "base/cprintf.hh"
|
|
|
|
#include "base/loader/symtab.hh"
|
|
|
|
#include "cpu/exec_context.hh" // for Jump::branchTarget()
|
|
|
|
|
|
|
|
#include <math.h>
|
|
|
|
#if defined(linux)
|
|
|
|
#include <fenv.h>
|
|
|
|
#endif
|
2006-03-12 11:57:34 +01:00
|
|
|
|
|
|
|
using namespace MipsISA;
|
2006-01-10 20:57:37 +01:00
|
|
|
}};
|
|
|
|
|
|
|
|
output exec {{
|
2006-03-12 11:57:34 +01:00
|
|
|
#include "arch/mips/isa_traits.hh"
|
2006-01-10 20:57:37 +01:00
|
|
|
#include <math.h>
|
|
|
|
#if defined(linux)
|
|
|
|
#include <fenv.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FULL_SYSTEM
|
|
|
|
//#include "arch/alpha/pseudo_inst.hh"
|
|
|
|
#endif
|
|
|
|
#include "cpu/base.hh"
|
|
|
|
#include "cpu/exetrace.hh"
|
|
|
|
#include "sim/sim_exit.hh"
|
2006-03-12 11:57:34 +01:00
|
|
|
|
|
|
|
using namespace MipsISA;
|
2006-01-10 20:57:37 +01:00
|
|
|
}};
|
|
|
|
|