558cc7f775
arch/alpha/types.hh: Moved the DependenceTags enum from types to constants. arch/sparc/faults.cc: arch/sparc/faults.hh: Corrected a misspelling of PriviledgeOpcode and PrivilegedAction. arch/sparc/isa/formats.isa: Fixups towards compiling. Added a few additional instruction formats. --HG-- extra : convert_revision : 4c5506877b71b8a5c8c45db41192cf759cdac374
45 lines
833 B
Text
45 lines
833 B
Text
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Output include file directives.
|
|
//
|
|
|
|
output header {{
|
|
#include <sstream>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
|
|
#include "cpu/static_inst.hh"
|
|
#include "arch/sparc/faults.hh"
|
|
#include "mem/request.hh" // some constructors use MemReq flags
|
|
#include "arch/sparc/isa_traits.hh"
|
|
}};
|
|
|
|
output decoder {{
|
|
#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
|
|
|
|
using namespace SparcISA;
|
|
}};
|
|
|
|
output exec {{
|
|
#include <math.h>
|
|
#if defined(linux)
|
|
#include <fenv.h>
|
|
#endif
|
|
|
|
#ifdef FULL_SYSTEM
|
|
//#include "sim/pseudo_inst.hh"
|
|
#endif
|
|
#include "cpu/base.hh"
|
|
#include "cpu/exetrace.hh"
|
|
#include "sim/sim_exit.hh"
|
|
|
|
using namespace SparcISA;
|
|
}};
|
|
|