summaryrefslogtreecommitdiffstatshomepage
path: root/py/asmx86.c
Commit message (Collapse)AuthorAge
* py/asmx86: Fix function definition to use int32_t instead of int.Damien George2015-11-27
|
* py: Implement native multiply operation in viper emitter.Damien George2015-06-04
|
* py: Implement full func arg passing for native emitter.Damien George2015-04-07
| | | | | | | | | | | This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode.
* py/asm*.c: Typo fixes in comments.Paul Sokolovsky2015-02-14
|
* py, unix: Allow to compile with -Wunused-parameter.Damien George2015-01-20
| | | | See issue #699.
* py, unix: Allow to compile with -Wsign-compare.Damien George2015-01-16
| | | | See issue #699.
* py: Allocate memory for assembled code at start of PASS_EMIT.Damien George2015-01-14
| | | | | Previously was allocating at end of PASS_COMPUTE, and this pass was being run twice, so memory was being allocated twice.
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
| | | | Addresses issue #1022.
* py: Make functions static where appropriate.Damien George2014-12-10
|
* py: Implement native load for viper.Damien George2014-10-12
| | | | | Viper can now do: ptr8(buf)[0], which loads a byte from a buffer using machine instructions.
* py: Implement and,or,xor native ops for viper.Damien George2014-10-12
|
* py: Implement more binary ops for viper emitter.Damien George2014-09-29
| | | | | This included a bit of restructuring of the assembler backends. Note that the ARM backend is missing a few functions and won't compile.
* py: Make macro names in assemblers consistent, and tidy up a bit.Damien George2014-09-29
|
* py: Add store r8 and store r16 ops to asm_x86 and asm_x64.Damien George2014-09-29
|
* py: Put define of x86 argument registers in asmx86.h.Damien George2014-09-08
|
* py: Adjust regs for x86 so that 1 more local can live in a reg.Damien George2014-09-06
|
* py: Allow x86 native functions to take arguments.Damien George2014-09-06
| | | | Fix some bugs with x86 stack and saving registers correctly.
* py: Add support for emitting native x86 machine code.Damien George2014-09-06