dibyendumajumdar
|
16f40a39f6
|
Fix gcc warning
|
5 years ago |
Dibyendu Majumdar
|
16576517df
|
issue #135 some restructuring
|
5 years ago |
Dibyendu Majumdar
|
81b4b1fb35
|
doc updates and some minor reformatting
|
5 years ago |
Dibyendu Majumdar
|
72b5dc551a
|
issue #98 tiny bit of work in type checking - table expr
|
5 years ago |
Dibyendu Majumdar
|
fe3ca414f1
|
issue #98 tiny bit of work in type checking - table expr
|
5 years ago |
Dibyendu Majumdar
|
93121f3afe
|
issue #98 tiny bit of work in type checking, handle unary expr
|
5 years ago |
dibyendumajumdar
|
fe2632bad9
|
The simple makefile build should not enable assertions and ltests
|
5 years ago |
Dibyendu Majumdar
|
a92416f864
|
issue #98 fix compile error
|
5 years ago |
Dibyendu Majumdar
|
3a98ffe3c2
|
issue #98 dump list of locals for each function, and start work on type checker
|
5 years ago |
Dibyendu Majumdar
|
f9c74b3b08
|
issue #98 fix bug in while parsing - remove extra endscope
|
5 years ago |
Dibyendu Majumdar
|
2912415983
|
issue #98 fix parsing of consecutive labels
|
5 years ago |
Dibyendu Majumdar
|
e0b4d65402
|
issue #98 cleanup
|
5 years ago |
Dibyendu Majumdar
|
83bcfcbed2
|
issue #98 add missing end_function() calls
|
5 years ago |
Dibyendu Majumdar
|
2f85d6e8bc
|
issue #98 reformat
|
5 years ago |
Dibyendu Majumdar
|
06335d0d36
|
issue #98 cleanup
|
5 years ago |
Dibyendu Majumdar
|
7385d76f12
|
issue #98 refactor scope and ast so that statement lists are no longer in scope
|
5 years ago |
Dibyendu Majumdar
|
74e8c76f5a
|
issue #98 fix bug - final return not handled correctly, and ensure on parser failure error message is pushed as a second value after nil
|
5 years ago |
Dibyendu Majumdar
|
04b1885011
|
issue #98 redo upvalue implementation - wip
|
5 years ago |
Dibyendu Majumdar
|
abe4759bc7
|
issue #114 fix bug in handling of function call
|
5 years ago |
Dibyendu Majumdar
|
b95a2e7016
|
issue #98 Reformat using clangformat
|
5 years ago |
Dibyendu Majumdar
|
01eb83dcfe
|
issue #161 avoid taking address of math functions in the fast call scenario, instead assign unique codes to functions that may be inlined
|
5 years ago |
dibyendumajumdar
|
f057c79ccf
|
issue #157
|
6 years ago |
Dibyendu Majumdar
|
d27dbd7619
|
issue #110
|
6 years ago |
Dibyendu Majumdar
|
e5b5ae9f05
|
issue #110
|
6 years ago |
Dibyendu Majumdar
|
ebff2906c7
|
issue #110
|
6 years ago |
Dibyendu Majumdar
|
ceeb4d86bf
|
issue #110 update savedpc befaore function calls
|
6 years ago |
Dibyendu Majumdar
|
cb3f9282e5
|
issue #110 bug fix
|
6 years ago |
Dibyendu Majumdar
|
08157b102c
|
issue #157 rename bytecodes
|
6 years ago |
Dibyendu Majumdar
|
5e552ab4a7
|
issue #157 more renaming of bytecodes
|
6 years ago |
Dibyendu Majumdar
|
489e118012
|
issue #157 more renaming of bytecodes
|
6 years ago |
Dibyendu Majumdar
|
b65c595e05
|
issue #157 import from Lua 5.4 changes to the way number conversions are done in the VM to push string coersion down to string metamethods
|
6 years ago |
Dibyendu Majumdar
|
dd593cdcd5
|
issue #157 import from Lua 5.4 changes to the way number conversions are done in the VM to push string coersion down to string metamethods
|
6 years ago |
Dibyendu Majumdar
|
21028d833b
|
issue #157 more renaming of op codes
|
6 years ago |
Dibyendu Majumdar
|
31f4e178ee
|
issue #157 more opcode renaming
|
6 years ago |
Dibyendu Majumdar
|
fc6929aa58
|
issue #157 more opcode renaming
|
6 years ago |
Dibyendu Majumdar
|
edac3648f0
|
issue #158 import the string metamethods from 5.4
|
6 years ago |
Dibyendu Majumdar
|
7041827d53
|
issue #157 rename the array get/set op codes
|
6 years ago |
Dibyendu Majumdar
|
eec9a49414
|
issue #157: rename GETTABLE_SK and SETTABLE_SK opcodes
|
6 years ago |
Dibyendu Majumdar
|
04ca32e8f5
|
Remove the metatable api alternatives
|
6 years ago |
Dibyendu Majumdar
|
d4d679bb3c
|
issue #156
|
6 years ago |
Dibyendu Majumdar
|
2d646a0bde
|
issue #110 Enable setting opt level
|
6 years ago |
Dibyendu Majumdar
|
21427cf741
|
issue #98
|
6 years ago |
Dibyendu Majumdar
|
478375f354
|
issue #98
|
6 years ago |
Dibyendu Majumdar
|
1f1115eb06
|
issue #110 add more specific method calls for table set/get ops
|
6 years ago |
Dibyendu Majumdar
|
5f4b94bed6
|
issue #110 dump C intermediate code if verbosity is on
|
6 years ago |
Dibyendu Majumdar
|
3def57baf8
|
issue #110 option to inline some arithmetic ops
|
6 years ago |
Dibyendu Majumdar
|
5d5d036fdc
|
issue #110 more opcodes
|
6 years ago |
Dibyendu Majumdar
|
3e1d1bc752
|
issue #110 add support for a few more op codes
|
6 years ago |
Dibyendu Majumdar
|
31bb288c2c
|
issue #98 rearrange code
|
6 years ago |
Dibyendu Majumdar
|
f6fc9b100b
|
issue #98 rearrange code
|
6 years ago |
Dibyendu Majumdar
|
d3cf8fb6b4
|
issue #110 avoid calling functions with local vars passed by reference due to incorrect opt by OMR JIT; this also means that we cannot do implicit conversions in some opcodes such as the arith opcodes or for num loops
|
6 years ago |
Dibyendu Majumdar
|
405fc20f91
|
issue #110 add support for omitting range checks on array read access for OMR JIT
|
6 years ago |
Dibyendu Majumdar
|
9f3043dcc9
|
reduce compiler noise (warnings)
|
6 years ago |
Dibyendu Majumdar
|
365a4157af
|
issue #110 refactoring
|
6 years ago |
Dibyendu Majumdar
|
a11cf5ae66
|
issue #110 fix missing refresh of base pointer and define full set of loop vars even for the int loop instruction
|
6 years ago |
Dibyendu Majumdar
|
1c97bd1974
|
issue #110 add implementations of JIT api
|
6 years ago |
Dibyendu Majumdar
|
1a8c432625
|
issue #110 fix stupid typo bug in ravi_jitshared (emit_op_movef) and add implementations of JIT api
|
6 years ago |
Dibyendu Majumdar
|
7d465a0ab5
|
issue #110 #154
|
6 years ago |
Dibyendu Majumdar
|
74cb2401d8
|
issue #31 tidy up
|
6 years ago |
Dibyendu Majumdar
|
471280ca3a
|
tech debt compiler warnings
|
6 years ago |
Dibyendu Majumdar
|
7a055dc0c2
|
formatting and compiler warnings
|
6 years ago |
Dibyendu Majumdar
|
7e00e0d2e3
|
issue #110 prep for slow arith ops
|
6 years ago |
Dibyendu Majumdar
|
5dbaf0b391
|
issue #110 C code gen - update to emit go to error block
|
6 years ago |
Dibyendu Majumdar
|
ef60e52ce4
|
issue #110 fix to dmrC
|
6 years ago |
Dibyendu Majumdar
|
47e0cddfaf
|
issue #110 Initial implementation of JIT backend using OMRJIT
|
6 years ago |
Dibyendu Majumdar
|
a3757ce010
|
issue #110 report omrjit
|
6 years ago |
Dibyendu Majumdar
|
8f105712b5
|
issue #110 Bring JIT C codegen up to date
|
6 years ago |
dibyendumajumdar
|
5afdd3f6bb
|
issue #114 fix compilation error on Linux
|
6 years ago |
Dibyendu Majumdar
|
1583e618ab
|
issue #114 complete rename
|
6 years ago |
Dibyendu Majumdar
|
7dec6fa08f
|
issue #114 add new LUA_TFUNCTION subtype to allow direct (faster) calls to simple C functions
|
6 years ago |
Dibyendu Majumdar
|
4676f220a4
|
issue #114 Prepare for implementing fast C calls; the Lua typecode is extended to 16 bits to allow more type variants to be added. The intention is that for light C functions, we can encode return type / parameter types to enable calling some C functions directly without having to go through the Lua api.
|
6 years ago |
Dibyendu Majumdar
|
5c17bca34e
|
Some cleanup
|
6 years ago |
Dibyendu Majumdar
|
77c044c0cf
|
issue #126 fix problems with symbol parser
|
6 years ago |
Dibyendu Majumdar
|
e10ab7b04f
|
issue #126 dmr_C now integral part of Ravi
|
6 years ago |
Dibyendu Majumdar
|
be1f7e82ce
|
issue #151 enable dlmalloc
|
6 years ago |
Dibyendu Majumdar
|
60eccabd2b
|
issue #151 enable dlmalloc by default
|
6 years ago |
Dibyendu Majumdar
|
aa7e271083
|
issue #151 adopt Doug Lea's allocator
|
6 years ago |
Dibyendu Majumdar
|
b584ce9862
|
issue #151 memory allocator updates
|
6 years ago |
Dibyendu Majumdar
|
4ccf6cb2ef
|
issue #151 fix compile on Linux
|
6 years ago |
Dibyendu Majumdar
|
73c31bb59d
|
issue #151 import LuaJIT's allocator
|
6 years ago |
Dibyendu Majumdar
|
7ad859f79b
|
issue #151 import LuaJIT's allocator
|
6 years ago |
Dibyendu Majumdar
|
a3fdf76103
|
issue #98 refactoring and start on value types
|
6 years ago |
Dibyendu Majumdar
|
693c2b716e
|
issue #98 some code cleanup
|
6 years ago |
Dibyendu Majumdar
|
d27e18d617
|
issue #98 for/while/repeat statement revision to make AST more syntax tree like, and various cleanups
|
6 years ago |
Dibyendu Majumdar
|
29a507b911
|
issue #98 for statement parsing - wip
|
6 years ago |
Dibyendu Majumdar
|
2d30da5bd0
|
issue #98 more on while and repeat statement parsing
|
6 years ago |
Dibyendu Majumdar
|
01cb2ad69d
|
issue #98 start on while/repeat statements
|
6 years ago |
Dibyendu Majumdar
|
20c7e6c4e5
|
issue #98 if statement parsing
|
6 years ago |
Dibyendu Majumdar
|
463d0bbd71
|
issue #98 added if statement parsing
|
6 years ago |
Dibyendu Majumdar
|
49b8fdea0f
|
issue #98 function call, assignment and expression statement parsing
|
6 years ago |
Dibyendu Majumdar
|
7a5aef4989
|
issue #98 parse do statement
|
6 years ago |
Dibyendu Majumdar
|
b3ad4d2579
|
issue #98 goto and label statements parsing
|
6 years ago |
Dibyendu Majumdar
|
e6daa68980
|
issue #98 fix incorrect use of stack value, and add more tests
|
6 years ago |
Dibyendu Majumdar
|
19d13d5817
|
issue #98 start adding some tests
|
6 years ago |
Dibyendu Majumdar
|
cb7977d4bb
|
issue #98 function parameter parsing fix and a different attempt to output the parse tree
|
6 years ago |
Dibyendu Majumdar
|
c9b7939cc1
|
issue #98 instead of printing out generate a string from ast and expose as api method
|
6 years ago |
Dibyendu Majumdar
|
5978dcfb42
|
issue #98 fix scoping
|
6 years ago |
Dibyendu Majumdar
|
3a042f0ade
|
issue #98 function statement parsing
|
6 years ago |
Dibyendu Majumdar
|
5c714ff948
|
issue #98 function parsing, and print up-values too
|
6 years ago |
Dibyendu Majumdar
|
9dc2630ecf
|
issue #98 parse function literal
|
6 years ago |
Dibyendu Majumdar
|
2e0af5cecc
|
issue #98 local statement parsing
|
6 years ago |
Dibyendu Majumdar
|
48807fb351
|
issue #98 local statement parsing
|
6 years ago |
Dibyendu Majumdar
|
fff8452d21
|
issue #98 start on local vars
|
6 years ago |
Dibyendu Majumdar
|
8ba41946dc
|
issue #98 improve output of AST
|
6 years ago |
Dibyendu Majumdar
|
45e41e044b
|
issue #98 improve output of AST
|
6 years ago |
Dibyendu Majumdar
|
ebebb72416
|
issue #98 return statement and more on printing out the AST
|
6 years ago |
Dibyendu Majumdar
|
051f75b8c0
|
issue #98 block scope has statement list
|
6 years ago |
Dibyendu Majumdar
|
67accd8a41
|
issue #98 refactor ast library to be just a library and resolve the issue with lua_lock()
|
6 years ago |
Dibyendu Majumdar
|
0a69234b07
|
issue #98 return statement
|
6 years ago |
Dibyendu Majumdar
|
417c2965cc
|
issue #98 unary and binary sub expression parsing
|
6 years ago |
Dibyendu Majumdar
|
00847ef2b8
|
issue #98 suffixed expr
|
6 years ago |
Dibyendu Majumdar
|
79a4265962
|
issue #98 primary expr
|
6 years ago |
Dibyendu Majumdar
|
7547883b54
|
issue #98 parse table constructors
|
6 years ago |
Dibyendu Majumdar
|
20052594a1
|
issue #98 more work on basics: including searching for vars in scopes
|
6 years ago |
Dibyendu Majumdar
|
fc95eb1223
|
issue #98 more work on function and scope linkage
|
6 years ago |
Dibyendu Majumdar
|
e42073b064
|
issue #98 initial steps in setting up scope and attempt to create main function
|
6 years ago |
Dibyendu Majumdar
|
7ce94baedc
|
issue #98 more work on fleshing out function, block and ast structure
|
6 years ago |
Dibyendu Majumdar
|
6a2f94953a
|
issue #98 more work on fleshing out function, block and ast structure
|
6 years ago |
Dibyendu Majumdar
|
b39fdf9399
|
issue #98 added ptrlist and started to flesh out ast structures
|
6 years ago |
Dibyendu Majumdar
|
f3fed79bc7
|
issue #98 start changing the api so that build_ast returns a userdata object containing the AST
|
6 years ago |
Dibyendu Majumdar
|
c465af3465
|
issue #98 rename functions and start to change the api to construct AST as a userdata object
|
6 years ago |
Dibyendu Majumdar
|
24ac6f29f3
|
issue #98 merge changes in master
|
6 years ago |
Dibyendu Majumdar
|
f9793dc527
|
issue #136 added support for user defined type names to have '.' in them
|
6 years ago |
Dibyendu Majumdar
|
ef66365b5d
|
issue #148 fix bad code gen for OP_RAVI_SELF_S
|
6 years ago |
Dibyendu Majumdar
|
64a6a2372b
|
issue #146 Currently Ravi's code generator assumes that #operator returns an integer value, but if user has set a metamethod for __len the operator# might return a non-integer value. This issue came to light when testing lpeg, which redefines #operator to return userdata objects. We now try to only expect integer values when # is used in fornum loops, or applied to table or array. Additionally unless the target is an array, we also emit a TOINT opcode to validate at runtime that the value in integer type
|
6 years ago |
Dibyendu Majumdar
|
94ab8ced4d
|
try to understand and document the GC implementation
|
6 years ago |
Dibyendu Majumdar
|
1ca729a4c2
|
issue #145 move collectable bit left by one bit to make an extra bit available for encoding typeinfo
|
6 years ago |
Dibyendu Majumdar
|
f62b1eb557
|
refactoring
|
6 years ago |
Dibyendu Majumdar
|
b51868d20f
|
issue #144 fix compile error
|
6 years ago |
Dibyendu Majumdar
|
95b5819cf3
|
issue #144
|
6 years ago |
Dibyendu Majumdar
|
a97f974db5
|
issue #144 change the size of TValue.tt to byte
|
6 years ago |
Dibyendu Majumdar
|
55dc69d4c4
|
issue #143 Remove NanoJIT backend
|
6 years ago |
Dibyendu Majumdar
|
9fa20358b2
|
issue #142 removed gcc jit implementation (left on a branch)
|
6 years ago |
Dibyendu Majumdar
|
416bdb960b
|
Merge branch 'master' of https://github.com/dibyendumajumdar/ravi
|
6 years ago |
Dibyendu Majumdar
|
808092e17f
|
issue #141 stop calling GC from codegen
|
6 years ago |
Dibyendu Majumdar
|
2161226c14
|
Merge branch 'master' of https://github.com/dibyendumajumdar/ravi
|
6 years ago |
Dibyendu Majumdar
|
e8e68707f9
|
issue #140 avoid c++14 features
|
6 years ago |
Dibyendu Majumdar
|
2e42d1364c
|
issue #135 debug guards
|
6 years ago |
Dibyendu Majumdar
|
bb5ec933cf
|
fix compiler warnings
|
6 years ago |
Dibyendu Majumdar
|
2b4f1859c1
|
restore Lua Hook check in computed goto mode
|
6 years ago |
Dibyendu Majumdar
|
f4a5a52e89
|
issue #135 add OP_RAVI_FORPREP_IP/I1 and OP_RAVI_FORLOOP_IP/I1
|
6 years ago |
Dibyendu Majumdar
|
95d0f3ee41
|
issue #135 OP_MOVE
|
6 years ago |
Dibyendu Majumdar
|
1ef4e01275
|
issue #135 fix bugs and add some basic tests
|
6 years ago |
Dibyendu Majumdar
|
c83f56fcc1
|
issue #135 regenerate clang asm output
|
6 years ago |
Dibyendu Majumdar
|
e02087c201
|
issue #135 fix bug - KBASE was not set
|
6 years ago |
Dibyendu Majumdar
|
65fc6adc0d
|
issue #135 wiring stuff together
|
7 years ago |
Dibyendu Majumdar
|
aa02c2e124
|
issue #135 setup dispatch table, some build updates and fixes
|
7 years ago |
Dibyendu Majumdar
|
0eb4464184
|
incorporate some upcoming Lua 5.4 changes to do with a) caching savedpc and mask, and b) fast tracking comp operators for integers
|
7 years ago |
Dibyendu Majumdar
|
7577df8e80
|
catchup on some pending updates
|
7 years ago |
Dibyendu Majumdar
|
3b16c0a902
|
fix compiler warnings
|
7 years ago |
Dibyendu Majumdar
|
4c2503e916
|
added Makefile
|
7 years ago |
dibyendumajumdar
|
6d89ac9026
|
revised build and option to enable computed goto in the VM
|
7 years ago |
Dibyendu Majumdar
|
b2c6c8ebd4
|
fix a bug in issue #136 implementation and add experimental support for computed gotos in the VM
|
7 years ago |
dibyendumajumdar
|
60a2f6ee7e
|
add a Makefile for simple NOJIT builds
|
7 years ago |
Dibyendu Majumdar
|
e740cc73cc
|
issue #136 allow nil to be assigned
|
7 years ago |
Dibyendu Majumdar
|
c96483431f
|
issue #136 more type checking
|
7 years ago |
Dibyendu Majumdar
|
1e23abbbff
|
issue #136 more type checking
|
7 years ago |
Dibyendu Majumdar
|
d3f821c59a
|
issue #136 wip
|
7 years ago |
Dibyendu Majumdar
|
92d4d5d186
|
issue #136 implement new type checking opcodes
|
7 years ago |
Dibyendu Majumdar
|
daf2b8bfe9
|
issue #136 wip
|
7 years ago |
Dibyendu Majumdar
|
e06da495d4
|
issue #136 make room for user typename constant regid in LocVar
|
7 years ago |
Dibyendu Majumdar
|
5e03430d7d
|
issue #136 additional type assertions
|
7 years ago |
Dibyendu Majumdar
|
05963da39d
|
issue #133 add LuaJIT's bit library so that we can support dynasm
|
7 years ago |
dibyendumajumdar
|
e146412441
|
fix libgccjit build by disabling the dump option for now
|
7 years ago |
Dibyendu Majumdar
|
7ed629bdfe
|
go back to earlier approach of doing full GC collection every n compilations as the GCSETP approach doesn't work
|
7 years ago |
Dibyendu Majumdar
|
a8c04341cf
|
issue #131 fixes
|
7 years ago |
Dibyendu Majumdar
|
99abdf633f
|
issue #131 more fixes
|
7 years ago |
Dibyendu Majumdar
|
daa4f8e89e
|
refactor
|
7 years ago |
Dibyendu Majumdar
|
b67f492c04
|
refactor
|
7 years ago |
Dibyendu Majumdar
|
389663e165
|
better fix for 5.0 removal of dump() in release builds
|
7 years ago |
Dibyendu Majumdar
|
74a2c8a16e
|
add verbosity option
|
7 years ago |
Dibyendu Majumdar
|
828e39aa39
|
minor fixes
|
7 years ago |
Dibyendu Majumdar
|
d8962e917c
|
issue #59 adjustments
|
7 years ago |
Dibyendu Majumdar
|
249f832fea
|
make C++14 default on Mac OSX
|
7 years ago |
Dibyendu Majumdar
|
6c608a38b5
|
get ORC version to work correctly
|
7 years ago |
Dibyendu Majumdar
|
bf173e28dc
|
issue #59 port to ORC JIT api
|
7 years ago |
Dibyendu Majumdar
|
d0ca3719be
|
fast track int key case in GETTABLE and SETTABLE
|
7 years ago |
Dibyendu Majumdar
|
a68d915865
|
change GETTABLE_I to work on objects that may not be tables
|
7 years ago |
Dibyendu Majumdar
|
03485223ed
|
change GETTABLE_I to work on objects that may not be tables
|
7 years ago |
Dibyendu Majumdar
|
f93cefb33c
|
tech debt
|
7 years ago |
Dibyendu Majumdar
|
1728f0bded
|
missed opportunity to specialize a GETTABUP operation
|
7 years ago |
Dibyendu Majumdar
|
b0b5545597
|
issue #132 fix a bug that occurs when object access is applied to an array type
|
7 years ago |
Dibyendu Majumdar
|
afccc701ca
|
fix compilation error
|
7 years ago |
Dibyendu Majumdar
|
1ca8eba968
|
issue #131
|
7 years ago |
Dibyendu Majumdar
|
5fb89d4c07
|
issue #128 refactor
|
7 years ago |
Dibyendu Majumdar
|
8d9c9310ad
|
Merge branch 'master' of https://github.com/dibyendumajumdar/ravi
|
7 years ago |
Dibyendu Majumdar
|
d8f07e091a
|
issue #128 more on array set ops
|
7 years ago |
Dibyendu Majumdar
|
5ff1a72fb3
|
cleanup some warnings
|
7 years ago |
Dibyendu Majumdar
|
1caeca2700
|
issue #128 add array get / set opcodes
|
7 years ago |
Dibyendu Majumdar
|
1a3ee604c9
|
issue #128 added not, tforcall, tforloop
|
7 years ago |
Dibyendu Majumdar
|
35cb6dc47f
|
issue #128 added setupval
|
7 years ago |
Dibyendu Majumdar
|
35ae4cc567
|
issue #128 added generic forprep/forloop
|
7 years ago |
Dibyendu Majumdar
|
364b221433
|
issue #128 refactoring
|
7 years ago |
Dibyendu Majumdar
|
73635d3876
|
issue #128 added LEN, SELF
|
7 years ago |
Dibyendu Majumdar
|
34fd42583f
|
issue #128 refactor
|
7 years ago |
Dibyendu Majumdar
|
2f365f4a9d
|
issue #128 refactor
|
7 years ago |
Dibyendu Majumdar
|
8f0e55a3bf
|
issue #128 refactor
|
7 years ago |
Dibyendu Majumdar
|
ac9d755843
|
issue #128 refactor
|
7 years ago |
Dibyendu Majumdar
|
7b419996a0
|
issue #128 more opcodes SETLIST, VARARG, CLOSURE, COMCAT, NEWARRAY
|
7 years ago |
Dibyendu Majumdar
|
7209f55b9d
|
issue #128 workaround issue in NanoJIT with vars being declared/initialized in between branching
|
7 years ago |
Dibyendu Majumdar
|
078fc86aca
|
issue #128 bunch of additional ops
|
7 years ago |
Dibyendu Majumdar
|
a0d75a27b9
|
issue #128 refactoring
|
7 years ago |
Dibyendu Majumdar
|
c6872815f4
|
issue #128 bug fixes and LOADIZ/LOADFZ
|
7 years ago |
Dibyendu Majumdar
|
6f6aba2f96
|
issue #128 add various type specialized arith operators
|
7 years ago |
Dibyendu Majumdar
|
1fe3012a36
|
issue #128 add default implementation of binary ops using luaO_arith()
|
7 years ago |
Dibyendu Majumdar
|
ea9c583c49
|
issue #128 various table ops, but only default implementation, not yet specialized for the performance related op codes
|
7 years ago |
Dibyendu Majumdar
|
2287c80986
|
Implement OP_TEST, OP_TESTSET, OP_CALL, OP_TAILCALL, OP_GETTABUP, OP_GETUPVAL
|
7 years ago |
Dibyendu Majumdar
|
9085902470
|
issue #128 fix bug in scan_jump_targets()
|
7 years ago |
Dibyendu Majumdar
|
39af4ead60
|
issue #128 added LOADBOOL, JMP, AND EQ/LT/LE family
|
7 years ago |
Dibyendu Majumdar
|
d767010cad
|
issue #128 add OP_MOVE, OP_RAVI_FORPLOOP_Ix, OP_RAVI_FORPREP_Ix instructions
|
7 years ago |
Dibyendu Majumdar
|
0aef3a5136
|
change precision used for double
|
7 years ago |
Dibyendu Majumdar
|
0ce5ac0e94
|
issue #128 add OP_LOADK instruction
|
7 years ago |
Dibyendu Majumdar
|
1c8a0a8cb0
|
issue #128 implement OP_RETURN and compilation of Lua function with only a return statement
|
7 years ago |
Dibyendu Majumdar
|
1443fe9099
|
issue #128 refactor membuff_t to move it from the debugger to a shared location so that we can reuse it in the JIT implementation, some more initial work on the new backend
|
7 years ago |
Dibyendu Majumdar
|
b2ddc8038e
|
issue #128 setup stuff that is defined in Lua headers
|
7 years ago |
Dibyendu Majumdar
|
7e130556ff
|
issue #128 initialize/destroy NanoJIT Context
|
7 years ago |
Dibyendu Majumdar
|
95779e058c
|
issue #128 add initial skeleton files
|
7 years ago |
Dibyendu Majumdar
|
f07efc720d
|
update to latest dmrC tree
|
7 years ago |
Dibyendu Majumdar
|
6474f34a71
|
update to latest dmrC tree
|
7 years ago |
Dibyendu Majumdar
|
20e29c68cf
|
issue #127 IDIV applied on doubles does not yield integer values
|
7 years ago |
Dibyendu Majumdar
|
3470206d93
|
issue #127 IDIV operation should cause result type to be marked as integer type when type checking
|
7 years ago |
Dibyendu Majumdar
|
56f0480b44
|
some tech debt cleanup
|
7 years ago |
Dibyendu Majumdar
|
1c703d4ec0
|
some tech debt cleanup
|
7 years ago |
Dibyendu Majumdar
|
98dbf83670
|
issue #126 wip
|
7 years ago |
Dibyendu Majumdar
|
1d1362ddc1
|
issue #126 wip
|
7 years ago |
Dibyendu Majumdar
|
1a26a5d43b
|
issue #126 add a couple of simple hello world examples
|
7 years ago |
Dibyendu Majumdar
|
340e2f1769
|
issue #126 wip
|
7 years ago |
Dibyendu Majumdar
|
c09991b781
|
issue #126 wip
|
7 years ago |
Dibyendu Majumdar
|
61da43d105
|
issue #98 wip
|
7 years ago |
Dibyendu Majumdar
|
d477e76155
|
issue #98 merge changes from master
|
7 years ago |
Dibyendu Majumdar
|
a79f4d8a99
|
issue #124 fix LLVM4.0 related issues
|
7 years ago |
Dibyendu Majumdar
|
ac064238bd
|
remove unused code
|
7 years ago |
Dibyendu Majumdar
|
40104add1a
|
use version of arith op with branch weights
|
7 years ago |
Dibyendu Majumdar
|
4cae255866
|
use version of arith op with branch weights
|
7 years ago |
Dibyendu Majumdar
|
189be74786
|
fix wrong branch weight
|
7 years ago |
Dibyendu Majumdar
|
c0d2b0e3f8
|
issue #115 experiment with LLVM branch weights
|
7 years ago |
Dibyendu Majumdar
|
37a2b99061
|
issue #115 start playing with LLVM attributes
|
7 years ago |
Dibyendu Majumdar
|
9eb8f1d98d
|
issue #115 experiment with table performance - use LuaJIt approach of precomputed hashmask
|
7 years ago |
Dibyendu Majumdar
|
dd4f4a8400
|
doc update
|
7 years ago |
Dibyendu Majumdar
|
66d3e20d30
|
issue #121 fix potential issue with lifetime of LLVM module created via the bindings API
|
7 years ago |
Dibyendu Majumdar
|
9dac99942a
|
issue #119 merge upcming Lua 5.3.4 changes
|
7 years ago |
Dibyendu Majumdar
|
1592cc01be
|
issue #120
|
7 years ago |
Dibyendu Majumdar
|
3c068e8651
|
issue #120
|
7 years ago |
Dibyendu Majumdar
|
77e2f6268d
|
issue #119
|
7 years ago |
Dibyendu Majumdar
|
654013698f
|
issue #119
|
7 years ago |
Dibyendu Majumdar
|
794cfc162c
|
use macros vmdispatch, vmfetch, vmcase and vmbreak
|
7 years ago |
Dibyendu Majumdar
|
0f089b6b92
|
issue #119
|
7 years ago |
Dibyendu Majumdar
|
1cecb6d346
|
fix messed up merge
|
7 years ago |
Dibyendu Majumdar
|
e1b71e6f0e
|
Change callstatus to short type to match 5.3.4 change
|
7 years ago |
Dibyendu Majumdar
|
6c099045b6
|
merge profile
|
7 years ago |