[llvm-commits] Adding Lua-5.1.4 and lua_bench-0.1 to llvm-test

Török Edwin edwintorok at gmail.com
Sat Oct 4 02:54:54 PDT 2008


Hi,

I prepared a patch that adds Lua to llvm-test:
http://edwintorok.googlepages.com/lua.patch.gz

Lua-5.1.4 has an MIT license, and lua_bench a BSD-like license.

See below for output of running 'make TEST=nightly report'.

I used the short benchmark, lua_bench also has a medium and full size
benchmark (300 and 500 seconds respectively),
but I considered that those take too long.

Can I commit this to llvm-test?

There is a CBE failure, I'll open a bug about it:
Output/lua.cbe.c:1261: error: conflicting types for ‘_longjmp’
/usr/include/setjmp.h:91: error: previous declaration of ‘_longjmp’ was here

---------------------------------------------------------------
>>> ========= '/MultiSource/Applications/lua/lua' Program
---------------------------------------------------------------

TEST-PASS: compile /MultiSource/Applications/lua/lua
TEST-RESULT-compile:   Total Execution Time: 1.1280 seconds (1.1449 wall
clock)

TEST-RESULT-compile: 559292 Output/lua.llvm.bc


TEST-RESULT-nat-time: program 22.910000

TEST-PASS: llc /MultiSource/Applications/lua/lua
TEST-RESULT-llc:   Total Execution Time: 0.5720 seconds (0.5601 wall clock)
  Total Execution Time: 1.4440 seconds (1.4373 wall clock)
TEST-RESULT-llc-time: program 24.350000


TEST-PASS: jit /MultiSource/Applications/lua/lua
TEST-RESULT-jit-time: program 26.180000

TEST-RESULT-jit-comptime:   Total Execution Time: 0.4400 seconds (0.4599
wall clock)
  Total Execution Time: 1.1440 seconds (1.1521 wall clock)


TEST-FAIL: cbe /MultiSource/Applications/lua/lua
make[1]: Leaving directory
`/home/edwin/llvm-svn/llvm/projects/llvm-test/MultiSource/Applications/lua'
/home/edwin/llvm-svn/llvm/projects/llvm-test/GenerateReport.pl
/home/edwin/llvm-svn/llvm/projects/llvm-test/TEST.nightly.                                                        
report  < report.nightly.raw.out > report.nightly.txt
Program | GCCAS  Bytecode LLC compile LLC-BETA compile JIT codegen |
GCC     CBE LLC     LLC-BETA JIT     | GCC/CBE
GCC/L                                                         LC
GCC/LLC-BETA LLC/LLC-BETA
lua     | 1.1280 559292   0.5720      *                0.4400      |  
22.91 *     24.35 *          26.18 | n/a    
0.94                                                            
n/a          n/a




More information about the llvm-commits mailing list