summaryrefslogtreecommitdiff
path: root/src/arch/riscv/insts/SConscript
diff options
context:
space:
mode:
authorAlec Roelke <ar4jc@virginia.edu>2017-11-07 11:45:47 -0500
committerAlec Roelke <ar4jc@virginia.edu>2017-11-28 03:43:12 +0000
commit5179d0ba2b573435796f9fd9cb6a25c82f5fc292 (patch)
tree8a82a78ba2a7d0defb601a89c1cfba0d09e74519 /src/arch/riscv/insts/SConscript
parent3dfb2ef499ed35f999b215817283f4ea45837bf2 (diff)
downloadgem5-5179d0ba2b573435796f9fd9cb6a25c82f5fc292.tar.xz
arch-riscv: Move static_inst into a directory
This patch creates an "insts" directory in src/arch/riscv to store static portions of instruction definitions that aren't part of the code generated by the ISA description. It serves as a starting point for future patches to simplify the ISA description. Change-Id: I6700522143f6fa6c9b18a30e1fbdc8f80cdc7afa Reviewed-on: https://gem5-review.googlesource.com/6021 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Alec Roelke <ar4jc@virginia.edu>
Diffstat (limited to 'src/arch/riscv/insts/SConscript')
-rw-r--r--src/arch/riscv/insts/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/riscv/insts/SConscript b/src/arch/riscv/insts/SConscript
new file mode 100644
index 000000000..95e6afd61
--- /dev/null
+++ b/src/arch/riscv/insts/SConscript
@@ -0,0 +1,4 @@
+Import('*')
+
+if env['TARGET_ISA'] == 'riscv':
+ Source('static_inst.cc') \ No newline at end of file