From c56e582143edb016bb588af56e8d9ba894254c1e Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 3 Jul 2003 16:29:36 +0000 Subject: [PATCH] * Reworded a bit about JITs (I don't like acronyms followed by 's) * Added JIT capability to the LLI description section * LLC is quasi-x86-capable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7098 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/GettingStarted.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index b61bf6f6a62..c2aac2fb66c 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -105,8 +105,7 @@ on other platforms, so it should be possible to generate and produce LLVM bytecode on unsupported platforms (although bytecode generated on one platform may not work on another platform). However, the code generators - and Just In Time Compilers (JIT's) only generate SparcV9 or x86 machine - code. + and Just-In-Time (JIT) compilers only generate SparcV9 or x86 machine code.

Software

@@ -719,10 +718,13 @@ can directly execute LLVM bytecode (although very slowly...). In addition to a simple interpreter, lli is also has debugger and tracing modes (entered by specifying -debug or -trace on the - command line, respectively).

+ command line, respectively). Finally, for architectures that support it + (currently only x86 and Sparc), by default, lli will function as + a Just-In-Time compiler (if the functionality was compiled in), and will + execute the code much faster than the interpreter.

llc
llc is the LLVM backend compiler, - which translates LLVM bytecode to a SPARC assembly file.

+ which translates LLVM bytecode to a SPARC or x86 assembly file.

llvmgcc
llvmgcc is a GCC based C frontend that has been retargeted to emit LLVM code as the machine code output. It @@ -806,7 +808,7 @@ % dis < hello.bc | less

  • Compile the program to native Sparc assembly using the code - generator:

    + generator (assuming you are currently on a Sparc system):

    % llc hello.bc -o hello.s

    -- 2.34.1