summaryrefslogtreecommitdiff
path: root/lopcodes.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* no need to define 'luaP_opnames' in regular buildsRoberto Ierusalimschy2018-04-191-1/+5
|
* no more nil-in-tableRoberto Ierusalimschy2018-04-041-5/+1
|
* new experimental syntax using reserved word 'undef'Roberto Ierusalimschy2018-03-071-1/+5
|
* new opcodes OP_GTI/OP_GEIRoberto Ierusalimschy2018-02-211-1/+5
|
* some simplifications/optimizations in returns from Lua functionsRoberto Ierusalimschy2018-02-151-3/+1
|
* vararg back to '...' (but with another implementation)Roberto Ierusalimschy2018-02-091-1/+3
| | | | new implementation should have zero overhead for non-vararg functions
* new opcode 'PREPVARARG'Roberto Ierusalimschy2018-02-071-1/+3
| | | | (avoids test for vararg function in all function calls)
* new macros 'isOT'/'isIT'Roberto Ierusalimschy2017-12-221-76/+76
| | | | | (plus exchanged parameters of OP_VARARG to make it similar to other 'isOT' instructions)
* new opcodes 'FORLOOP1'/'FORPREP1' for "basic for" (integer variableRoberto Ierusalimschy2017-12-181-1/+5
| | | | with increment of 1)
* new opcodes BANDK/BORK/BXORK. (They do not use immediate operandsRoberto Ierusalimschy2017-12-131-1/+7
| | | | | because, too often, masks in bitwise operations are integers larger than one byte.)
* new opcodes OP_SHLI/OP_SHRIRoberto Ierusalimschy2017-12-041-1/+5
|
* new opcodes OP_RETURN0/OP_RETURN1Roberto Ierusalimschy2017-11-291-1/+5
|
* new opcodes 'OP_LTI' and 'OP_LEI'Roberto Ierusalimschy2017-11-271-1/+5
|
* new opcode 'OP_EQI' for equality with immediate numbersRoberto Ierusalimschy2017-11-221-1/+3
|
* new instruction 'OP_EQK' (for equality with constants)Roberto Ierusalimschy2017-11-161-1/+3
|
* new format for JUMP instructions (to allow larger offsets)Roberto Ierusalimschy2017-11-071-2/+2
|
* new opcodes with immediate integer operand for all arithmetic operationsRoberto Ierusalimschy2017-10-041-1/+13
|
* no more 'getBMode'-'getCMode' (imprecise + we will need more spaceRoberto Ierusalimschy2017-09-281-59/+57
| | | | for op mode) + better control of op modes
* binary operators use R instead of RKRoberto Ierusalimschy2017-09-261-16/+16
| | | | | faster + nobody uses RK(B), so B can be smaller (freeing one bit for more opcodes, soon)
* new opcode OP_LOADF (load immediate float)Roberto Ierusalimschy2017-09-191-1/+3
|
* detail (keep OP_LOADK and OP_LOADKX together)Roberto Ierusalimschy2017-09-151-3/+3
|
* jumps do not close upvalues (to be faster and simpler);Roberto Ierusalimschy2017-09-131-2/+4
| | | | | | explicit instruction to close upvalues; command 'break' not handled like a 'goto' (to optimize removal of uneeded 'close' instructions)
* jumps in 'for' loops don't need to be signedRoberto Ierusalimschy2017-08-141-4/+4
|
* 'OP_VARARG' has the vararg parameter as an operandRoberto Ierusalimschy2017-06-291-2/+2
|
* new opcodes for table access with constant keys (strings and integers)Roberto Ierusalimschy2017-04-281-5/+13
|
* new opcode OP_ADDI (for immediate integer operand) (Experimental)Roberto Ierusalimschy2017-04-261-1/+3
|
* new opcode LOADI (for loading immediate integers)Roberto Ierusalimschy2017-04-201-1/+3
|
* includes 'stddef.h' (as it uses NULL)Roberto Ierusalimschy2015-01-051-1/+3
|
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-2/+3
| | | | any other header file
* first implementation of '<<', '>>', and '~' (bitwise not)Roberto Ierusalimschy2013-12-301-1/+7
|
* first implementation of bitwise operators '&' (band), '|' (bor),Roberto Ierusalimschy2013-12-181-1/+7
| | | | and '~' (bxor)
* new order for binary operations (grouping them by type of result)Roberto Ierusalimschy2013-12-161-5/+5
|
* new operation '//' (integer division)Roberto Ierusalimschy2013-04-261-1/+3
|
* details (header comments)Roberto Ierusalimschy2012-05-141-1/+2
|
* change in opcode OP_LOADNIL: B is used as a counter instead of aRoberto Ierusalimschy2011-04-191-2/+2
| | | | | register. (Avoids an assignment to R(B), not present in any other instruction.)
* small corrections in description of OP_TEST and OP_LOADKXRoberto Ierusalimschy2011-04-121-3/+3
|
* new instruction OP_LOADKX (to replace OP_LOADK with extra argument)Roberto Ierusalimschy2011-04-071-1/+3
|
* no more 'OP_CLOSE' instructions (use jumps to close upvalues)Roberto Ierusalimschy2011-02-071-3/+1
|
* details in opcode listRoberto Ierusalimschy2010-10-131-3/+3
|
* first version of _ENV; no more global variablesRoberto Ierusalimschy2010-03-121-5/+1
|
* new instructions to optimize indexing on upvaluesRoberto Ierusalimschy2010-02-261-1/+5
|
* new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations andRoberto Ierusalimschy2009-11-191-3/+3
| | | | definitions of non-static variables
* generic for coded as two dedicated instructions to simplify resumptionRoberto Ierusalimschy2008-10-301-3/+5
|
* SETLIST extra argument now is an "instruction" (OP_EXTRAARG)Roberto Ierusalimschy2008-04-021-1/+3
|
* avoid trailing white spacesRoberto Ierusalimschy2006-09-111-2/+2
|
* unused include'sRoberto Ierusalimschy2005-11-081-3/+1
|
* "conceptually", OP_TEST may change reg. ARoberto Ierusalimschy2005-10-131-2/+2
|
* new method to handle tests without values (negative values)Roberto Ierusalimschy2005-08-291-2/+4
|
* detailsRoberto Ierusalimschy2005-05-201-3/+3
|
* no more compatibility code for traversing tablesRoberto Ierusalimschy2005-05-041-3/+1
|