73 Commits (5335942b599d85263d3c18eb99ff5ebd04a8bc98)

Author SHA1 Message Date
Damien George 5255255fb9 py: Create str/bytes objects in the parser, not the compiler. 8 years ago
Damien George 71019ae4f5 py/grammar: Group no-compile grammar rules together to shrink tables. 8 years ago
Damien George e920bab976 py/emitinline: Move common code for end of final pass to compiler. 8 years ago
Damien George dd53b12193 py/emitinline: Move inline-asm align and data methods to compiler. 8 years ago
Damien George a7fd786a1f py/emitinline: Embed entire asm struct instead of a pointer to it. 8 years ago
Damien George 612599587b py: Factor out common code from assemblers into asmbase.[ch]. 8 years ago
Damien George 28adab36c7 py/emitinlinethumb: Use qstrs instead of char* for names of asm ops. 9 years ago
Damien George 8f54c08691 py/inlineasm: Add ability to specify return type of asm_thumb funcs. 9 years ago
Damien George ea8be373a9 py/inlinethumb: Remove 30-bit restriction on movwt instruction. 9 years ago
Damien George 47dc5922ca py/inlinethumb: Allow assembler to use big ints as args to instructions. 9 years ago
Henrik Sölver e242b1785f py/emitinlinethumb: Add support for MRS instruction. 9 years ago
Damien George c3f64d9799 py: Change qstr_* functions to use size_t as the type for str len arg. 9 years ago
Damien George 713ea1800d py: Add constant table to bytecode. 9 years ago
Damien George 3a3db4dcf0 py: Put all bytecode state (arg count, etc) in bytecode. 9 years ago
Damien George 1f92ffb5b7 py/emitinlinethumb: Allow to compile with -Wsign-compare. 9 years ago
adminpete d6201fc4b7 py: In inline asm, vldr and vstr offsets now in bytes not words. 9 years ago
Damien George 096d1e4512 py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler. 9 years ago
Damien George e813541e3f py: Add option for inline assembler to support ARMv7-M instructions. 9 years ago
= 5008972fef py/inlinethumb: Support for core floating point instructions. 10 years ago
Damien George 044c473de2 py: Add %q format support to mp_[v]printf, and use it. 10 years ago
Damien George 6eb7530083 py: In emitinlinethumb, use qstr_data instead of qstr_str and strlen. 10 years ago
Damien George 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago
Damien George dc790977d4 py: In inline assembler, reset labels on code-size pass. 10 years ago
Damien George 9c5cabb502 py: Give error for duplicate label in inline assembler. 10 years ago
Damien George 9f142f0c84 py: For inline assembler, add bcc_n and bcc_w ops. 10 years ago
Damien George 534574348e py: Make inline assembler raise exception when branch not in range. 10 years ago
Damien George 993f067fa2 py: In inline assembler, add return statement to fix flow logic. 10 years ago
Damien George e5315f7ffd py: Factor some code in inline thumb assembler to reduce code size. 10 years ago
Damien George e41b21c01e py: Make more asmthumb functions inline to reduce code size. 10 years ago
Damien George 8f7976ba0d py: Reduce code size of inline thumb assembler by using static tables. 10 years ago
Damien George eff10f66a6 py: Implement bl/bx instructions for inline Thumb assembler. 10 years ago
Damien George 42495392da py: Implement "it" instruction for inline Thumb assembler. 10 years ago
Damien George 192d536fe4 py: Implement clz and rbit for inline Thumb assembler. 10 years ago
Damien George 32f0b7942c py: Implement sdiv/udiv for inline Thumb assembler. 10 years ago
Damien George 0d967b8ae4 py: Implement push/pop for inline Thumb assembler. 10 years ago
Damien George 8dfbd2d589 py: Make inline assembler raise proper SyntaxError exception on error. 10 years ago
Damien George 1bf5a022fe py: Add ldrex and strex to thumb2 inline assembler. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 6efa66f125 py: Remove unnecessary RULE_none and PN_none from parser. 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 10 years ago
Damien George 0b610de017 py: Make macro names in assemblers consistent, and tidy up a bit. 10 years ago
Damien George 851f15f34c py: In asmthumb, clean up unit/int types and ite ops. 10 years ago
Damien George 7ff996c237 py: Convert [u]int to mp_[u]int_t in emit.h and associated .c files. 10 years ago
Damien George 2ac4af6946 py: Allow viper to have type annotations. 10 years ago
Damien George a4022c92f0 py, inline asm: Change "and" op name to "and_" to avoid keyword clash. 10 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George ccc85ea0da py: Combine native emitters to 1 glue function; distinguish viper. 11 years ago
Damien George 36db6bcf54 py, compiler: Improve passes; add an extra pass for native emitter. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago