[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
"?=Valery A.Khamenya=?koi8-r?Q?"
khamenya at mail.ru
Wed May 5 03:15:01 PDT 2004
- Previous message: [LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
- Next message: [LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
hi all,
well, i have set up proper command line parameters for
for C-Shootout tests to get reasonable running time
for benchmarking. I have compared "gcc -O3" and
"llvmgcc -Wl,-native-cbe"
here goes output (which shows that llvm is already
better for test with intensive function calls):
time -p ./gcc_ackermann 11
user 2.36
time -p ./llvm_ackermann 11
user 1.07
----
time -p ./gcc_ary3 300000
user 2.86
time -p ./llvm_ary3 300000
user 3.19
----
time -p ./gcc_fib2 39
user 2.32
time -p ./llvm_fib2 39
user 1.61
----
time -p ./gcc_hash 1000000
user 2.26
time -p ./llvm_hash 1000000
user 2.30
----
time -p ./gcc_heapsort 2000000
user 2.57
time -p ./llvm_heapsort 2000000
user 3.26
----
time -p ./gcc_lists 500000
user 2.70
time -p ./llvm_lists 500000
user 3.27
----
time -p ./gcc_matrix 500000
user 2.61
time -p ./llvm_matrix 500000
user 4.17
----
time -p ./gcc_methcall 90000000
user 2.83
time -p ./llvm_methcall 90000000
user 2.89
----
time -p ./gcc_nestedloop 33
user 2.40
time -p ./llvm_nestedloop 33
user 3.66
----
time -p ./gcc_objinst 10000000
user 2.25
time -p ./llvm_objinst 10000000
user 2.12
----
time -p ./gcc_random 60000000
user 2.42
time -p ./llvm_random 60000000
user 2.42
----
time -p ./gcc_sieve 25000
user 2.41
time -p ./llvm_sieve 25000
user 4.36
----
time -p ./gcc_strcat 50000000
user 2.77
time -p ./llvm_strcat 50000000
user 3.98
- Previous message: [LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
- Next message: [LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the llvm-dev
mailing list