summaryrefslogtreecommitdiff
path: root/arch/sparc/isa/includes.isa
blob: 860f4657a0e55a7516e398c32072393ffb13ce88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
////////////////////////////////////////////////////////////////////
//
// 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"
}};