summaryrefslogtreecommitdiff
path: root/arch/mips/isa/includes.isa
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-02-07 18:36:08 -0500
committerKorey Sewell <ksewell@umich.edu>2006-02-07 18:36:08 -0500
commitd30262d480b8a167470c17a35aecc727ea933a22 (patch)
tree2347e6aa83361205837d6595350c72faf08daffb /arch/mips/isa/includes.isa
parent6d2807ded8660f241aaecd28ff716c1d91f8b5a0 (diff)
downloadgem5-d30262d480b8a167470c17a35aecc727ea933a22.tar.xz
name changes ... minor IntOP format change
arch/mips/isa/formats/int.format: Looks like Integer Ops with Immediates may not need their own separate class because all those instructions are distinct from their reg-reg counterparts --HG-- rename : arch/mips/isa/bitfields.def => arch/mips/isa/bitfields.isa rename : arch/mips/isa/decoder.def => arch/mips/isa/decoder.isa rename : arch/mips/isa/formats.def => arch/mips/isa/formats.isa rename : arch/mips/isa/includes.h => arch/mips/isa/includes.isa rename : arch/mips/isa/operands.def => arch/mips/isa/operands.isa extra : convert_revision : 8e354b4232b28c0264d98d333d55ef8b5a6589cc
Diffstat (limited to 'arch/mips/isa/includes.isa')
-rw-r--r--arch/mips/isa/includes.isa40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/mips/isa/includes.isa b/arch/mips/isa/includes.isa
new file mode 100644
index 000000000..ff7cb7d1d
--- /dev/null
+++ b/arch/mips/isa/includes.isa
@@ -0,0 +1,40 @@
+////////////////////////////////////////////////////////////////////
+//
+// Output include file directives.
+//
+
+output header {{
+#include <sstream>
+#include <iostream>
+#include <iomanip>
+
+#include "cpu/static_inst.hh"
+#include "traps.hh"
+#include "mem/mem_req.hh" // some constructors use MemReq flags
+}};
+
+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
+}};
+
+output exec {{
+#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"
+}};
+