http://llvm.org/bugs/show_bug.cgi?id=3534
Summary: Add paq8p to llvm testsuite
Product: Test Suite
Version: trunk
Platform: PC
URL: http://www.cs.fit.edu/~mmahoney/compression/paq8p.zip
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Programs Tests
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=2518)
--> (http://llvm.org/bugs/attachment.cgi?id=2518)
testfile
This file shows interesting runtimes with different optimizations on a 256k
file generated from /dev/urandom.
(Built with g++ -march=native -DNOASM)
On x86-64:
g++-4.3 -O3: 55.75 s
g++-4.3 -O2: 39.25 s
g++-4.3 -Os: 41.14 s
llvm-g++ -O3: 53.23 s
llvm-g++ -O2: 53.37 s
llvm-g++ -Os: 55.86 s
So llvm's -O3 is slightly better than gcc's, however it can't achieve gcc's
-O2/-Os. I think this may have something to do with inlining.
Example run:
llvm-g++ -O2 -DNOASM paq8p.cpp;
./a.out file
It prints execution time.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs