aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* details (comments)Roberto Ierusalimschy2017-11-301-5/+10
|
* detail (spacing)Roberto Ierusalimschy2017-11-301-3/+3
|
* new opcodes OP_RETURN0/OP_RETURN1Roberto Ierusalimschy2017-11-291-1/+4
|
* using register 'k' for conditions in tests (we only need one bit there)Roberto Ierusalimschy2017-11-281-12/+18
|
* new opcodes 'OP_LTI' and 'OP_LEI'Roberto Ierusalimschy2017-11-271-1/+3
|
* using 'A' for register instead of 'B' in relational opcodesRoberto Ierusalimschy2017-11-221-6/+6
| | | | ('R(A)' is already created by default for all instructions.)
* new opcode 'OP_EQI' for equality with immediate numbersRoberto Ierusalimschy2017-11-221-1/+2
|
* 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-5/+25
|
* eplicit 1-bit opcode operand 'k'Roberto Ierusalimschy2017-10-041-42/+29
|
* new opcodes with immediate integer operand for all arithmetic operationsRoberto Ierusalimschy2017-10-041-1/+8
|
* opcode size increased to 7 bitsRoberto Ierusalimschy2017-10-021-8/+8
|
* avoid the use of bit 'Bk' ('B' will lose this bit soon)Roberto Ierusalimschy2017-10-011-6/+3
|
* no more 'getBMode'-'getCMode' (imprecise + we will need more spaceRoberto Ierusalimschy2017-09-281-30/+27
| | | | 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/+2
|
* comments (documentation about instruction formats)Roberto Ierusalimschy2017-09-181-15/+14
|
* detail (keep OP_LOADK and OP_LOADKX together)Roberto Ierusalimschy2017-09-151-2/+2
|
* jumps do not close upvalues (to be faster and simpler);Roberto Ierusalimschy2017-09-131-2/+3
| | | | | | 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-5/+5
|
* 'OP_VARARG' has the vararg parameter as an operandRoberto Ierusalimschy2017-06-291-3/+3
|
* details (direct access to 'Ck' bit in instructions)Roberto Ierusalimschy2017-05-081-1/+4
|
* new opcodes for table access with constant keys (strings and integers)Roberto Ierusalimschy2017-04-281-9/+11
|
* new opcode OP_ADDI (for immediate integer operand) (Experimental)Roberto Ierusalimschy2017-04-261-2/+6
|
* opcodes 'OP_GETTABUP'/'OP_SETTABUP' operate only with string keys,Roberto Ierusalimschy2017-04-241-1/+3
| | | | so they can use fast-track table access
* new opcode LOADI (for loading immediate integers)Roberto Ierusalimschy2017-04-201-1/+2
|
* MAXINDEXRK can be redefined (for debugging, to force most values toRoberto Ierusalimschy2016-07-191-1/+3
| | | | go through registers)
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-14/+14
|
* error in commentRoberto Ierusalimschy2014-10-201-2/+2
|
* first implementation of '<<', '>>', and '~' (bitwise not)Roberto Ierusalimschy2013-12-301-1/+4
|
* first implementation of bitwise operators '&' (band), '|' (bor),Roberto Ierusalimschy2013-12-181-1/+4
| | | | and '~' (bxor)
* new order for binary operations (grouping them by type of result)Roberto Ierusalimschy2013-12-161-3/+3
|
* new operation '//' (integer division)Roberto Ierusalimschy2013-04-261-1/+2
|
* detail (cleaned whitespaces at end of lines)Roberto Ierusalimschy2011-07-151-2/+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.)
* new instruction OP_LOADKX (to replace OP_LOADK with extra argument)Roberto Ierusalimschy2011-04-071-3/+4
|
* no more 'OP_CLOSE' instructions (use jumps to close upvalues)Roberto Ierusalimschy2011-02-071-2/+1
|
* new scheme to close upvalues in 'break'; jump instructions mayRoberto Ierusalimschy2011-02-011-4/+3
| | | | do the close, avoiding the need for a OP_CLOSE instruction
* POS_A replaced by POS_Ax (which is more "precise")Roberto Ierusalimschy2010-10-251-2/+2
|
* details in opcode listRoberto Ierusalimschy2010-10-131-3/+4
|
* first version of _ENV; no more global variablesRoberto Ierusalimschy2010-03-121-5/+2
|
* new instructions to optimize indexing on upvaluesRoberto Ierusalimschy2010-02-261-1/+3
|
* new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations andRoberto Ierusalimschy2009-11-191-3/+3
| | | | definitions of non-static variables
* comment explaining OP_VARARG was wrong (and corresponding code was notRoberto Ierusalimschy2009-10-281-2/+2
| | | | very clear)
* information about upvalues (where they come from) kept in Proto structure,Roberto Ierusalimschy2009-09-281-5/+1
| | | | instead of sequence of pseudo-opcodes after OP_CLOSURE
* limit of constants per function changed to 2^26 using extra argumentsRoberto Ierusalimschy2009-09-231-6/+9
| | | | to opcodes LOADK, GETGLOBAL, and SETGLOBAL
* better notes about some opcodes (comments only)Roberto Ierusalimschy2009-03-091-11/+16
|
* generic for coded as two dedicated instructions to simplify resumptionRoberto Ierusalimschy2008-10-301-4/+5
|
* SETLIST extra argument now is an "instruction" (OP_EXTRAARG)Roberto Ierusalimschy2008-04-021-18/+34
|
* avoid trailing white spacesRoberto Ierusalimschy2006-09-111-9/+9
|