source: trunk/lib_ir/AgnerTestP/PMCTest/Makefile @ 4232

Last change on this file since 4232 was 4232, checked in by linmengl, 5 years ago

micro benchmark with Agner's testp ready

File size: 863 bytes
Line 
1all: llc_func.ll PMCTestA.cpp B.bc
2        llvm-as-3.5 llc_func.ll -o llc_func.bc
3        llvm-link B.bc llc_func.bc -o B_llc.bc
4        opt-svn -O3 -std-compile-opts -mattr=+sse2 B_llc.bc -o B_llc_opt.bc
5        llc-svn -O3 -mattr=+sse2 -filetype=obj B_llc_opt.bc -o B_llc_opt.o
6        g++ -O2 -m64 PMCTestA.cpp B_llc_opt.o -lpthread -o PMCTest
7
8asm: B_llc_opt.bc
9        llc-svn -O3 -mattr=+sse2 B_llc_opt.bc
10        vim B_llc_opt.s
11
12single: single_llc_func.ll PMCTestA.cpp B.bc
13        llvm-as-3.5 single_llc_func.ll -o llc_func.bc
14        llvm-link B.bc llc_func.bc -o B_llc.bc
15        opt-3.5 -O3 -std-compile-opts -mattr=+sse2 B_llc.bc -o B_llc_opt.bc
16        llc-3.5 -O3 -mattr=+sse2 -filetype=obj B_llc_opt.bc -o B_llc_opt.o
17        g++ -O2 -m64 PMCTestA.cpp B_llc_opt.o -lpthread -o PMCTest
18
19B.bc: PMCTestB.cpp
20        clang PMCTestB.cpp -c -emit-llvm -msse2 -m64 -o B.bc -I ../../ -lpthread
21
22clean:
23        rm -f *.bc *.o a.out PMCTest PMCTestB.cpp
24
Note: See TracBrowser for help on using the repository browser.