Editing JIT
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 21: | Line 21: | ||
===Notes by Amod Mulay(white)=== | ===Notes by Amod Mulay(white)=== | ||
The snippets above define the point in execution where the jit code is called. | The snippets above define the point in execution where the jit code is called. | ||
− | All of the | + | All of the file forjit implementation are in libinterp/interp-core, the main files are: |
*pt-jit.cc (& pt-jit.h) | *pt-jit.cc (& pt-jit.h) | ||
*jit-ir.cc (& jit-ir.h) | *jit-ir.cc (& jit-ir.h) | ||
Line 27: | Line 27: | ||
*jit-util.cc (& jit-util.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 | + | 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. | 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. |