octave-maintainers
[Top][All Lists]
Advanced

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

Re: Work on the JIT


From: Julien Bect
Subject: Re: Work on the JIT
Date: Sat, 1 Jun 2019 15:59:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

Le 01/06/2019 à 05:36, Gene Harvey a écrit :

I’ve submitted a patch to the bug tracker containing fixes for the JIT which will hopefully allow us to continue work on it. It also allows for building with versions of LLVM up to 8.0 (Although, for LLVM-5.0 a llvm::getFunctionAddress  fails with no output to stderr and then calls `exit 1`. Very frustrating indeed.)

 

I plan to continue work on it with a refactor of the module management (focusing on getting rid of `new`), and then work on implementing the JIT for functions. However, I wanted to discuss whether we should continue using MCJIT, or move on to ORC JIT. The ORC JIT seems to fit our needs better, and would have solved some of the bugs that we had because they wouldn’t be allowed to happen. In particular, bug #55492, which was caused by adding functions to the singleton jit_typeinfo module after it had been finalized.

 

Also, there’s another bug which crashes octave if we use `sin` on a 1x1 matrix, so I’ll add that to the tracker if the patch goes through.


Hi Harvey,

This is great news, I will try your patch as soon as possible !

Concerning the move form MCJIT to ORC JIT : how hard would it be to make the change ?  If you are able to do it, I would say go ahead.

@++
Julien


reply via email to

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