JIT: Difference between revisions

889 bytes added ,  15 April 2013
(→‎recommended reading: fixed closing url bracket)
Line 20: Line 20:
* libinterp/octave-value/ov-usr-fcn.cc line 385
* libinterp/octave-value/ov-usr-fcn.cc line 385
That just invokes the jit code, which you can find in pt-jit.cc
That just invokes the jit code, which you can find in pt-jit.cc
===Notes by Amod Mulay(white)===
The snippets above define the point in execution where the jit code is called.
All of the file forjit implementation are in libinterp/interp-core, the main files are:
*pt-jit.cc (& pt-jit.h)
*jit-ir.cc (& jit-ir.h)
*jit-typeinfo.cc (& jit-typeinfo.h)
*jit-util.cc (& jit-util.h)
I haven't gone through all parts of the code yet and dont understand a lot of it, but my first impression is that it feels like more of a text dump. The various parts need to be seperated into different files based on functionality. The current files are a tad too big imho.Right now all of the jit parts are in 4 files(+4 header files) which are quite large and a lot of it has no documentaion to explain how the diff parts come togeather.
To be fair my impressions/opinions are that of a beginner level user and you are welcome to have a look and post your own comments.
16

edits