-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
27 lines (20 loc) · 1.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
LLVM SPARC V8 Backend with Instruction Set Extensions
File: README
Copyright (c) 2012 Clemens Bernhard Geyer <[email protected]>
The current LLVM 2.9 Extension is available under the same license
conditions as LLVM. See LICENSE.TXT for details.
Version 1.00
How to get the backend working:
(1) Download LLVM 2.9 source code from http://llvm.org/releases/download.html#2.9
(2) Extract the archive 'tar xvf llvm-2.9.tgz'
(4) Copy the patch file (add-cbg-backend.patch) to your llvm root directory
(usually something like /home/user/llvm-2.9/)
(5) Change to llvm root directory and apply patch file
'patch -p1 < add-cbg-backend.patch'
(6) Run configure: './configure --enable-targets=cbg --enable-optimized'
(7) Run make with multiple jobs to speed-up the comipling process:
'make -j <NUM>'
(8) Change to <llvm-root>/Release/bin directory and test for cbg target:
'./llvm-as < /dev/null | ./llc --march=cbg --mcpu=help'
(9) To be able to run all benchmarks, make sure you install or download llvm-gcc
More information to be added soon...