aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-13 16:42:02 -0800
committerAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-13 16:42:02 -0800
commit77f281580773fe5217ae40bcf8a0f8bc05c28ded (patch)
tree79885362aa51ce842ec912ba4523f36620b1dce8 /Makefile.in
parent7f457c47b339cc7c79f56bb277ed8ed989e88ae1 (diff)
downloadspike-77f281580773fe5217ae40bcf8a0f8bc05c28ded.zip
spike-77f281580773fe5217ae40bcf8a0f8bc05c28ded.tar.gz
spike-77f281580773fe5217ae40bcf8a0f8bc05c28ded.tar.bz2
Improve performance for branchy code
We now use a heavily unrolled loop as the software I$, which allows the host machine's branch target prediction to associate target PCs with unique-ish host PCs.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 19e6805..45e3a11 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -192,7 +192,7 @@ $$($(2)_objs) : %.o : %.cc $$($(2)_gen_hdrs)
$$($(2)_c_objs) : %.o : %.c $$($(2)_gen_hdrs)
$(COMPILE_C) -c $$<
-$(2)_junk += $$($(2)_objs) $$($(2)_c_objs) $$($(2)_deps) $$($(2)_c_deps)
+$(2)_junk += $$($(2)_objs) $$($(2)_c_objs) $$($(2)_deps) $$($(2)_c_deps) $$($(2)_gen_hdrs)
# Build a library for this subproject