lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Mike got JIT on the ARM :)

malkia@genesibox:~/p/luajit$ git log -1
commit 84e33332a73ed978099754309abea03245a875bf
Author: Mike Pall <mike>
Date:   Thu Jun 2 03:19:23 2011 +0200

    ARM: Enable JIT compiler (except for iOS).

malkia@genesibox:~/p/luajit$ uname -a
Linux genesibox 2.6.31.14.20-efikamx #2 PREEMPT Mon Feb 28 21:18:36 CST 2011 armv7l GNU/Linux

malkia@genesibox:~/p/luajit$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick

malkia@genesibox:~/p$ luajit/src/luajit scimark.lua
Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010 Mike Pall.

FFT         4.35  [1024]
SOR        14.48  [100]
MC          6.93
SPARSE      7.11  [1000, 5000]
LU         15.08  [100]

SciMark     9.59  [small problem sizes]

malkia@genesibox:~/p$ luajit/src/luajit -joff scimark.lua
Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010 Mike Pall.

FFT         2.21  [1024]
SOR         6.69  [100]
MC          1.76
SPARSE      4.85  [1000, 5000]
LU          5.56  [100]

SciMark     4.21  [small problem sizes]

malkia@genesibox:~/p$ lua scimark.lua
Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010 Mike Pall.

FFT         1.41  [1024]
SOR         2.91  [100]
MC          0.92
SPARSE      1.61  [1000, 5000]
LU          1.93  [100]

SciMark     1.75  [small problem sizes]



On 5/11/11 10:33 AM, Dimiter "malkia" Stanev wrote:
Some results on Efika MX smartbook (I'm very happy!):

Note: LuaJIT is running with (-joff, e.g. JIT off on this architecture
right now). But even without it, the results are impressive!

I would also test it on the Efika MX smarttop (very small cute device,
but I expect the same results).

This is running on Ubuntu 11.04 (just upgraded it from Ubuntu 10.10).

malkia@genesi:~/p/luajit$ git log -1
commit b79cdba3a06cbabb772535b5bce18d6460135845
Author: Mike Pall <mike>
Date: Tue May 10 16:55:23 2011 +0200

Tuning loop unrolling heuristics again.
malkia@genesi:~/p/luajit$ cat /proc/cpuinfo
Processor : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 799.53
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc08
CPU revision : 5

Hardware : Genesi Efika MX (Smartbook)
Revision : 51030
Serial : 0000000000000000
malkia@genesi:~/p/luajit$ lua ../scimark.lua
Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010
Mike Pall.

FFT 1.36 [1024]
SOR 2.82 [100]
MC 0.90
SPARSE 1.58 [1000, 5000]
LU 1.89 [100]

SciMark 1.71 [small problem sizes]
malkia@genesi:~/p/luajit$ src/luajit ../scimark.lua
Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010
Mike Pall.

FFT 2.14 [1024]
SOR 6.49 [100]
MC 1.72
SPARSE 4.70 [1000, 5000]
LU 5.39 [100]

SciMark 4.09 [small problem sizes]
malkia@genesi:~/p/luajit$