summaryrefslogtreecommitdiff
path: root/src/arch/riscv/insts/SConscript
diff options
context:
space:
mode:
authorAlec Roelke <ar4jc@virginia.edu>2017-11-07 15:19:56 -0500
committerAlec Roelke <ar4jc@virginia.edu>2017-11-29 00:58:23 +0000
commit719ddf73afa62735881ac68acf681abe1bf3bd17 (patch)
tree71ba0ac50a066504c9df48cde18ba65f2da05689 /src/arch/riscv/insts/SConscript
parent19ad3c4ae46426e988602d870dc2c27fee1154f1 (diff)
downloadgem5-719ddf73afa62735881ac68acf681abe1bf3bd17.tar.xz
arch-riscv: Move parts of mem insts out of ISA
This patch moves static portions of the memory instructions out of the ISA generated code and puts them into arch/riscv/insts. It also simplifies the definitions of load and store instructions by giving them a common base class. Change-Id: Ic6930cbfc6bb02e4b3477521e57b093eac0c8803 Reviewed-on: https://gem5-review.googlesource.com/6024 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 fe9028029..8bedc7b73 100644
--- a/src/arch/riscv/insts/SConscript
+++ b/src/arch/riscv/insts/SConscript
@@ -1,5 +1,6 @@
Import('*')
if env['TARGET_ISA'] == 'riscv':
+ Source('mem.cc')
Source('standard.cc')
Source('static_inst.cc') \ No newline at end of file