diff options
author | David Terei <davidterei@gmail.com> | 2010-06-15 09:47:14 +0000 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2010-06-15 09:47:14 +0000 |
commit | 49a8e5c021009430d373d6224b29004c7d18c408 (patch) | |
tree | 5e49c02cc6ad756d92ef71d4ab16338b278352a6 /rules/build-perl.mk | |
parent | 0c41772cba7ec3f558cd2619716c7db771eae935 (diff) | |
download | haskell-49a8e5c021009430d373d6224b29004c7d18c408.tar.gz |
Add new LLVM code generator to GHC. (Version 2)
This was done as part of an honours thesis at UNSW, the paper describing the
work and results can be found at:
http://www.cse.unsw.edu.au/~pls/thesis/davidt-thesis.pdf
A Homepage for the backend can be found at:
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/LLVM
Quick summary of performance is that for the 'nofib' benchmark suite, runtimes
are within 5% slower than the NCG and generally better than the C code
generator. For some code though, such as the DPH projects benchmark, the LLVM
code generator outperforms the NCG and C code generator by about a 25%
reduction in run times.
Diffstat (limited to 'rules/build-perl.mk')
-rw-r--r-- | rules/build-perl.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/build-perl.mk b/rules/build-perl.mk index cfa71cc53d..5ee1d2350b 100644 --- a/rules/build-perl.mk +++ b/rules/build-perl.mk @@ -45,6 +45,7 @@ $1/$2/$$($1_$2_PROG): $1/$2/$$($1_$2_PROG).prl "$$(RM)" $$(RM_OPTS) $$@ echo '#!$$(PERL)' >> $$@ echo '$$$$TARGETPLATFORM = "$$(TARGETPLATFORM)";' >> $$@ + echo '$$$$TABLES_NEXT_TO_CODE = "$(GhcEnableTablesNextToCode)";' >> $$@ cat $$< >> $$@ $$($1_$2_INPLACE): $1/$2/$$($1_$2_PROG) | $$$$(dir $$$$@)/. |