summaryrefslogtreecommitdiff
path: root/src/arch/riscv/insts/SConscript
diff options
context:
space:
mode:
authorAlec Roelke <ar4jc@virginia.edu>2017-11-10 12:23:43 -0500
committerAlec Roelke <ar4jc@virginia.edu>2017-11-29 01:05:24 +0000
commit3f31abfbc84734dab86734c72bdca778575c26e5 (patch)
treeab5e7c74b35c90c43c79cd5d40ba1f2751bbd05a /src/arch/riscv/insts/SConscript
parent719ddf73afa62735881ac68acf681abe1bf3bd17 (diff)
downloadgem5-3f31abfbc84734dab86734c72bdca778575c26e5.tar.xz
arch-riscv: Remove static parts of AMOs out of ISA
This patch removes the static parts of the RISC-V atomic memory instructions out of the ISA generated code and into arch/riscv/insts. It also makes the LR and SC instructions subclasses of MemInst from arch/riscv/insts/mem.hh. Change-Id: I6591f3d171045c4f1b457eb1264bbb7bd62b3e51 Reviewed-on: https://gem5-review.googlesource.com/6025 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/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/riscv/insts/SConscript b/src/arch/riscv/insts/SConscript
index 8bedc7b73..ad504e2f8 100644
--- a/src/arch/riscv/insts/SConscript
+++ b/src/arch/riscv/insts/SConscript
@@ -1,6 +1,7 @@
Import('*')
if env['TARGET_ISA'] == 'riscv':
+ Source('amo.cc')
Source('mem.cc')
Source('standard.cc')
Source('static_inst.cc') \ No newline at end of file