octave-maintainers
[Top][All Lists]
Advanced

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

Re: Compiling the JIT with LLVM 3.8


From: Julien Bect
Subject: Re: Compiling the JIT with LLVM 3.8
Date: Tue, 25 Jul 2017 22:54:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Le 24/07/2017 à 23:38, John W. Eaton a écrit :
On 07/24/2017 04:58 PM, Julien Bect wrote:
Hi all,

I have managed to compile Octave stable (4.2.1+) with LLVM 3.8 using MCJIT.

I have a very limited understanding of both LLVM and Octave's JIT, but there some encouraging signs:

1) I can build with --enable-jit

2) I get a good speedup on the attached function

address@hidden:~/.local/src/octave-stable$ ./run-octave --no-gui
GNU Octave, version 4.2.1
[...]

octave:1> tic;  z = test_pisum (),  toc
z =  1.6448
Elapsed time is 11.6463 seconds.

octave:2> jit_enable (1)

octave:3> tic;  z = test_pisum (),  toc
z =  1.6448
Elapsed time is 0.054471 seconds.

octave:4> tic;  z = test_pisum (),  toc
z =  1.6448
Elapsed time is 0.019253 seconds.

octave:5> tic;  z = test_pisum (),  toc
z =  1.6448
Elapsed time is 0.019371 seconds

Bad news: I still get a crash on make check due to jit.tst

My patches are still very unpolished (supports only LLVM 3.8, not autoconf stuff yet) but I can share them if someone is interested.

Where would be the proper place ? bug tracker ? patch tracker ? somewhere else ?

Create a bug report (build failure, I suppose) and post the patch there.

https://savannah.gnu.org/bugs/?51574



reply via email to

[Prev in Thread] Current Thread [Next in Thread]