From 37ef1cbdc46318e138b70a6b1cb9fd9d4e6e757a Mon Sep 17 00:00:00 2001 From: Michael Goldstein Date: Tue, 16 Jul 2024 16:20:21 -0400 Subject: [PATCH] add prefetcher code to compilation framework --- SConscript | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/SConscript b/SConscript index 5cfcdb8b..d0531aa8 100644 --- a/SConscript +++ b/SConscript @@ -28,7 +28,7 @@ warn_flags = [ # '-Wunused-function', # '-Wreturn-type', # '-Wpointer-arith', - '-Wuninitialized', +# '-Wuninitialized', '-Wno-write-strings' ] warn_flags = ' '.join(warn_flags) @@ -282,7 +282,18 @@ macsim_src = [ 'src/cs_disas.cc', 'src/resource.cc', 'src/mmu.cc', - 'src/tlb.cc' + 'src/tlb.cc', + # add prefetcher code + 'src/hw_prefetcher/pref_ghb.cc', + 'src/hw_prefetcher/pref_ghb.h', + 'src/hw_prefetcher/pref_2dc.cc', + 'src/hw_prefetcher/pref_2dc.h', + 'src/hw_prefetcher/pref_phase.cc', + 'src/hw_prefetcher/pref_phase.h', + 'src/hw_prefetcher/pref_stream.cc', + 'src/hw_prefetcher/pref_stream.h', + 'src/hw_prefetcher/pref_stridepc.cc', + 'src/hw_prefetcher/pref_stridepc.h' ]