Skip to content

Commit

Permalink
add prefetcher code to compilation framework
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoldstein322 committed Jul 16, 2024
1 parent 61eead5 commit 37ef1cb
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ warn_flags = [
# '-Wunused-function',
# '-Wreturn-type',
# '-Wpointer-arith',
'-Wuninitialized',
# '-Wuninitialized',
'-Wno-write-strings'
]
warn_flags = ' '.join(warn_flags)
Expand Down Expand Up @@ -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'
]


Expand Down

0 comments on commit 37ef1cb

Please sign in to comment.