[LLVMbugs] [Bug 2493] New: lli / JIT bug in KMeans
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Jun 25 08:26:59 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2493
Summary: lli / JIT bug in KMeans
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: torvald at se.inf.tu-dresden.de
CC: llvmbugs at cs.uiuc.edu
I see sth that looks like an lli/JIT bug. The program is the KMeans benchmark
from the STAMP benchmark suite (http://stamp.stanford.edu).
Overwrite ./common/Defines.common.mk with the attached files to make CC/LD
customizable.
in ./kmeans, for
./kmeans -m40 -n40 -t0.00001 -i inputs/random-n65536-d32-c16.txt -p 1 :
make -f Makefile.seq clean
CC='llvm-gcc' LD='llvm-gcc -lm' make -f Makefile.seq
-->works, but is slower than gcc (35s vs 16s on my Intel 32b system)
CC='llvm-gcc -emit-llvm' LD='llvm-ld -lm' make -f Makefile.seq
--> does not work (lot's of NaN's in the output, and much faster (11s)) and
uses lli
CC='llvm-gcc -emit-llvm' LD='llvm-ld -lm -disable-opt' make -f Makefile.seq
--> does not work either, and uses lli
CC='llvm-gcc -emit-llvm' LD='llvm-ld -lm -disable-opt -native' make -f -->
looks as if it would work (and is faster, 16s)
CC='llvm-gcc -emit-llvm' LD='llvm-ld -lm -native' make -f Makefile.seq
--> looks as if it would work (and is faster, 16s)
CC='llvm-gcc -emit-llvm' LD='llvm-ld -link-as-library' make -f Makefile.seq
llc -f -o kmeans.s kmeans
gcc -o kmeans kmeans.s -lm -lpthread
--> looks as if it would work (and is faster, 16s)
--
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