diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-09-29 10:05:32 +0100 | 
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-09-29 19:42:06 +0100 | 
| commit | 851f15f34c03c87a0e479bd3de61b61846e0cb42 (patch) | |
| tree | 2dcc59e6955db63819f5d8294caa0e81d4ccf46b /py/emitnative.c | |
| parent | 860805aae7b7c26d32150bfc540d67bb951fffa9 (diff) | |
py: In asmthumb, clean up unit/int types and ite ops.
Diffstat (limited to 'py/emitnative.c')
| -rw-r--r-- | py/emitnative.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/py/emitnative.c b/py/emitnative.c index 3be557927..d45b05997 100644 --- a/py/emitnative.c +++ b/py/emitnative.c @@ -1537,7 +1537,7 @@ STATIC void emit_native_binary_op(emit_t *emit, mp_binary_op_t op) {              asm_x86_setcc_r8(emit->as, ASM_X86_CC_JL, REG_RET);  #elif N_THUMB              asm_thumb_cmp_rlo_rlo(emit->as, REG_ARG_2, REG_ARG_3); -            asm_thumb_ite_ge(emit->as); +            asm_thumb_op16(emit->as, ASM_THUMB_OP_ITE_GE);              asm_thumb_mov_rlo_i8(emit->as, REG_RET, 0); // if r0 >= r1              asm_thumb_mov_rlo_i8(emit->as, REG_RET, 1); // if r0 < r1  #elif N_ARM | 
