[pypy-svn] r19875 - pypy/dist/pypy/doc
rxe at codespeak.net
rxe at codespeak.net
Mon Nov 14 16:34:58 CET 2005
Author: rxe
Date: Mon Nov 14 16:34:56 2005
New Revision: 19875
Modified:
pypy/dist/pypy/doc/getting-started.txt
Log:
Update docs to recommend using newly released version of LLVM (1.6).
Just for fun here are some benchmarks:
executable richards pystone
pypy-c-19843 10269ms ( 11.28x) 3109 ( 13.40x)
pypy-llvm-19843 8557ms ( 9.40x) 3385 ( 12.31x)
pypy-llvm-19843-nostackchecking 8158ms ( 8.96x) 3543 ( 11.76x)
python 2.4.2 910ms ( 1.00x) 41666 ( 1.00x)
Modified: pypy/dist/pypy/doc/getting-started.txt
==============================================================================
--- pypy/dist/pypy/doc/getting-started.txt (original)
+++ pypy/dist/pypy/doc/getting-started.txt Mon Nov 14 16:34:56 2005
@@ -371,16 +371,17 @@
+++++++++++++++++++++++++++++++++++++++
To translate for LLVM (`low level virtual machine`_) you must first have `LLVM
-installed with the CVS version`_ - the `how to install LLVM`_ provides some
-helpful hints. Please note that you do not need the CFrontend to compile, make
+installed with version 1.6`_ - the `how to install LLVM`_ provides some helpful
+hints. Please note that you do not need the CFrontend to compile, make
tools-only.
The LLVM backend is still experimental. However, it is very close to C backend
-functionality. Calling compiled LLVM code from CPython is more restrictive
-than the C backend - the return type and the arguments of the entry function
-must be ints, floats or bools. The emphasis of the LLVM backend is to compile
-standalone executables - please see the pypy/translator/llvm/demo directory for
-examples.
+functionality. At the point of writing, it is missing a few essential
+operations, stackless support and threading support. Calling compiled LLVM
+code from CPython is more restrictive than the C backend - the return type and
+the arguments of the entry function must be ints, floats or bools. The
+emphasis of the LLVM backend is to compile standalone executables - please see
+the pypy/translator/llvm/demo directory for examples.
Here is a simple example to try::
@@ -624,7 +625,7 @@
.. _`low level virtual machine`: http://llvm.cs.uiuc.edu/
.. _`how to install LLVM`: http://llvm.cs.uiuc.edu/docs/GettingStarted.html
.. _`LLVM mailing list`: http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-.. _`LLVM installed with the CVS version`: http://llvm.cs.uiuc.edu/releases
+.. _`LLVM installed with version 1.6`: http://llvm.cs.uiuc.edu/releases
.. _Dot Graphviz: http://www.research.att.com/sw/tools/graphviz/
More information about the Pypy-commit
mailing list