diff options
author | Damien George <damien.p.george@gmail.com> | 2014-09-07 01:06:19 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-09-07 01:06:19 +0100 |
commit | 8105736982b0bb2ee3809c8d05b9c41b9aceea1b (patch) | |
tree | 42d11922da7aa5f416958fecaee916e9a7c5cc2c /py/asmx86.h | |
parent | 25d904105c61ba09de8460c0bf031c77b3faf51f (diff) | |
download | micropython-8105736982b0bb2ee3809c8d05b9c41b9aceea1b.tar.gz micropython-8105736982b0bb2ee3809c8d05b9c41b9aceea1b.zip |
py: Clean up x86-64 native assembler; allow use of extended regs.
Native x86-64 now has 3 locals in registers.
Diffstat (limited to 'py/asmx86.h')
-rw-r--r-- | py/asmx86.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/py/asmx86.h b/py/asmx86.h index 35ee55e4f4..5af19cbf61 100644 --- a/py/asmx86.h +++ b/py/asmx86.h @@ -52,11 +52,6 @@ #define ASM_X86_CC_JNE (0x5) #define ASM_X86_CC_JL (0xc) // less, signed -#define REG_RET REG_EAX -#define REG_ARG_1 REG_EAX -#define REG_ARG_2 REG_ECX -#define REG_ARG_3 REG_EDX - typedef struct _asm_x86_t asm_x86_t; asm_x86_t* asm_x86_new(mp_uint_t max_num_labels); |