Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | assert cannot use instruction after the last | Roberto Ierusalimschy | 2017-12-22 | 1 | -2/+2 | |
| | ||||||
* | new macros 'isOT'/'isIT' | Roberto Ierusalimschy | 2017-12-22 | 1 | -7/+7 | |
| | | | | | (plus exchanged parameters of OP_VARARG to make it similar to other 'isOT' instructions) | |||||
* | new auxiliary function 'luaK_isKint' + removal of 'luaK_needclose', | Roberto Ierusalimschy | 2017-12-18 | 1 | -16/+10 | |
| | | | | which was not being used anywhere. | |||||
* | some cleaning on signed opcode parameters | Roberto Ierusalimschy | 2017-12-15 | 1 | -12/+32 | |
| | ||||||
* | 'VRELOCABLE' -> 'VRELOC' | Roberto Ierusalimschy | 2017-12-14 | 1 | -16/+16 | |
| | ||||||
* | new opcodes BANDK/BORK/BXORK. (They do not use immediate operands | Roberto Ierusalimschy | 2017-12-13 | 1 | -10/+42 | |
| | | | | | because, too often, masks in bitwise operations are integers larger than one byte.) | |||||
* | new opcodes OP_SHLI/OP_SHRI | Roberto Ierusalimschy | 2017-12-04 | 1 | -14/+55 | |
| | ||||||
* | warnings from Visual Studio /W3 | Roberto Ierusalimschy | 2017-11-30 | 1 | -2/+2 | |
| | ||||||
* | small peephole optimizations | Roberto Ierusalimschy | 2017-11-30 | 1 | -38/+53 | |
| | ||||||
* | new opcodes OP_RETURN0/OP_RETURN1 | Roberto Ierusalimschy | 2017-11-29 | 1 | -2/+12 | |
| | ||||||
* | order opcodes cannot use 'K' operands | Roberto Ierusalimschy | 2017-11-28 | 1 | -2/+2 | |
| | ||||||
* | using register 'k' for conditions in tests (we only need one bit there) | Roberto Ierusalimschy | 2017-11-28 | 1 | -36/+58 | |
| | ||||||
* | detail (typo in comments) | Roberto Ierusalimschy | 2017-11-23 | 1 | -2/+2 | |
| | ||||||
* | using 'A' for register instead of 'B' in relational opcodes | Roberto Ierusalimschy | 2017-11-22 | 1 | -5/+5 | |
| | | | | ('R(A)' is already created by default for all instructions.) | |||||
* | new opcode 'OP_EQI' for equality with immediate numbers | Roberto Ierusalimschy | 2017-11-22 | 1 | -22/+51 | |
| | ||||||
* | new instruction 'OP_EQK' (for equality with constants) | Roberto Ierusalimschy | 2017-11-16 | 1 | -11/+44 | |
| | ||||||
* | new function 'luaV_flttointeger' to convert floats to integers (without | Roberto Ierusalimschy | 2017-11-08 | 1 | -3/+3 | |
| | | | | | string coercions) + string operands to bitwise operations handled by string metamethods | |||||
* | new format for JUMP instructions (to allow larger offsets) | Roberto Ierusalimschy | 2017-11-07 | 1 | -10/+25 | |
| | ||||||
* | eplicit 1-bit opcode operand 'k' | Roberto Ierusalimschy | 2017-10-04 | 1 | -29/+45 | |
| | ||||||
* | new opcodes with immediate integer operand for all arithmetic operations | Roberto Ierusalimschy | 2017-10-04 | 1 | -19/+52 | |
| | ||||||
* | string constants (Kstr) must fit into 'B' register | Roberto Ierusalimschy | 2017-10-02 | 1 | -2/+2 | |
| | ||||||
* | avoid the use of bit 'Bk' ('B' will lose this bit soon) | Roberto Ierusalimschy | 2017-10-01 | 1 | -4/+4 | |
| | ||||||
* | no more 'getBMode'-'getCMode' (imprecise + we will need more space | Roberto Ierusalimschy | 2017-09-28 | 1 | -5/+13 | |
| | | | | for op mode) + better control of op modes | |||||
* | binary operators use R instead of RK | Roberto Ierusalimschy | 2017-09-26 | 1 | -11/+10 | |
| | | | | | faster + nobody uses RK(B), so B can be smaller (freeing one bit for more opcodes, soon) | |||||
* | detail | Roberto Ierusalimschy | 2017-09-26 | 1 | -2/+4 | |
| | | | | put explicit all cases for a switch of an enumeration | |||||
* | new opcode OP_LOADF (load immediate float) | Roberto Ierusalimschy | 2017-09-19 | 1 | -2/+14 | |
| | ||||||
* | jumps do not close upvalues (to be faster and simpler); | Roberto Ierusalimschy | 2017-09-13 | 1 | -10/+41 | |
| | | | | | | explicit instruction to close upvalues; command 'break' not handled like a 'goto' (to optimize removal of uneeded 'close' instructions) | |||||
* | new type 'StackValue' for stack elements | Roberto Ierusalimschy | 2017-06-29 | 1 | -2/+2 | |
| | | | | (we may want to put extra info there in the future) | |||||
* | 'lineinfo' in prototypes saved as differences instead of absolute | Roberto Ierusalimschy | 2017-06-27 | 1 | -7/+45 | |
| | | | | | | values, so that the array can use bytes instead of ints, reducing its size. (A new array 'abslineinfo' is used when line differences do not fit in a byte.) | |||||
* | table field names for dedicated opcodes can be restricted to | Roberto Ierusalimschy | 2017-05-18 | 1 | -3/+3 | |
| | | | | small strings for slightly faster access | |||||
* | new opcodes for table access with constant keys (strings and integers) | Roberto Ierusalimschy | 2017-04-28 | 1 | -18/+56 | |
| | ||||||
* | new opcode OP_ADDI (for immediate integer operand) (Experimental) | Roberto Ierusalimschy | 2017-04-26 | 1 | -4/+28 | |
| | ||||||
* | detail (using unsigned comparison in range check for LOADI) | Roberto Ierusalimschy | 2017-04-25 | 1 | -2/+2 | |
| | ||||||
* | registers in a VINDEXED expression must be freed in order | Roberto Ierusalimschy | 2017-04-25 | 1 | -11/+19 | |
| | ||||||
* | opcodes 'OP_GETTABUP'/'OP_SETTABUP' operate only with string keys, | Roberto Ierusalimschy | 2017-04-24 | 1 | -2/+12 | |
| | | | | so they can use fast-track table access | |||||
* | new opcode LOADI (for loading immediate integers) | Roberto Ierusalimschy | 2017-04-20 | 1 | -4/+12 | |
| | ||||||
* | detail (removing spaces at end of lines) | Roberto Ierusalimschy | 2016-12-22 | 1 | -3/+3 | |
| | ||||||
* | bug: Lua can generate wrong code in functions with too many constants | Roberto Ierusalimschy | 2016-07-19 | 1 | -3/+6 | |
| | ||||||
* | all 'static' variables should be 'const' | Roberto Ierusalimschy | 2016-06-20 | 1 | -5/+6 | |
| | ||||||
* | comment (FALLTHROUGH) | Roberto Ierusalimschy | 2016-05-13 | 1 | -2/+2 | |
| | ||||||
* | 'getcode' -> 'getinstruction' | Roberto Ierusalimschy | 2016-01-05 | 1 | -12/+15 | |
| | ||||||
* | more refactoring | Roberto Ierusalimschy | 2016-01-04 | 1 | -94/+97 | |
| | ||||||
* | comments (*lots* of them) + asserts | Roberto Ierusalimschy | 2015-12-18 | 1 | -84/+324 | |
| | ||||||
* | reordering of some functions + 'code_label' renamed to 'code_loadbool' | Roberto Ierusalimschy | 2015-12-17 | 1 | -61/+61 | |
| | ||||||
* | detail ('while' -> 'for') in 'luaK_patchclose' | Roberto Ierusalimschy | 2015-12-17 | 1 | -4/+2 | |
| | ||||||
* | details (typos in comments) | Roberto Ierusalimschy | 2015-11-19 | 1 | -2/+2 | |
| | ||||||
* | use macro 'hasjumps' to test whether expression has jumps... | Roberto Ierusalimschy | 2015-10-26 | 1 | -2/+2 | |
| | ||||||
* | error message ("too complex" -> "too many registers") + MAXREGS | Roberto Ierusalimschy | 2015-04-29 | 1 | -4/+5 | |
| | | | | changed to 255 (no reason not to use maximum allowed) | |||||
* | details (avoid 'lint' warnings) | Roberto Ierusalimschy | 2015-03-28 | 1 | -5/+5 | |
| | ||||||
* | all "divisions" (div,idiv,mod) by zero are not folded, to avoid | Roberto Ierusalimschy | 2014-12-29 | 1 | -24/+10 | |
| | | | | | | | problems during compilation + does not fold zero results, as they can collapse with -0.0 and the ANSI test to distinguish both needs a division by zero (which we are trying to avoid) + removed macro 'luai_numinvalidop' (as its main use case were divisions by zero) |