[LLVMbugs] [Bug 3120] New: Small interpreter-like testcase where LLVM fails to shine
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Nov 23 17:54:04 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3120
Summary: Small interpreter-like testcase where LLVM fails to
shine
Product: new-bugs
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: danchr at gmail.com
CC: llvmbugs at cs.uiuc.edu, danchr at gmail.com
Created an attachment (id=2238)
--> (http://llvm.org/bugs/attachment.cgi?id=2238)
Testcase.tar
Attached below is a small program testing various techniques for writing the
core loop of an interpreter, and a shell script to execute it.
Example output from running on RHEL 5.1 on a 2.66GHz Core 2 Duo:
GCC 4.2.1 (LLVM): O4
Switched interpreter 602
Threaded interpreter 417
Recursive interpreter 610
Closure-based interpreter 868
GCC 4.2.1 (LLVM): O3
Switched interpreter 603
Threaded interpreter 416
Recursive interpreter 609
Closure-based interpreter 867
GCC 4.1.2: O3
Switched interpreter 335
Threaded interpreter 172
Recursive interpreter 444
GCC 3.4.6: O3
Switched interpreter 330
Threaded interpreter 411
Recursive interpreter 439
GCC 4.2.1 (LLVM): O2
Switched interpreter 604
Threaded interpreter 416
Recursive interpreter 609
Closure-based interpreter 869
GCC 4.1.2: O2
Switched interpreter 336
Threaded interpreter 169
Recursive interpreter 454
GCC 3.4.6: O2
Switched interpreter 327
Threaded interpreter 259
Recursive interpreter 446
GCC 4.2.1 (LLVM): Os
Switched interpreter 275
Threaded interpreter 365
Recursive interpreter 619
Closure-based interpreter 879
GCC 4.1.2: Os
Switched interpreter 343
Threaded interpreter 412
Recursive interpreter 475
GCC 3.4.6: Os
Switched interpreter 328
Threaded interpreter 259
Recursive interpreter 445
The timings for, for instance, Pentium 4 Xeon and PowerPC G4 are also quite
odd. Also, blocks are slow ;)
--
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.
More information about the llvm-bugs
mailing list