summaryrefslogtreecommitdiff
path: root/py/asmthumb.h
diff options
context:
space:
mode:
authorgraham sanderson <graham.sanderson@raspberrypi.org>2021-01-17 21:56:34 -0600
committerDamien George <damien@micropython.org>2021-01-29 23:57:10 +1100
commit794df0f1d502bf715449ed6d36f16cf52b095d0b (patch)
tree9f5e10ec2b1b6d7232defff515db2023d7fa268d /py/asmthumb.h
parent15ac5a3df9b90eade2b4743e08e23ce219cb4f7f (diff)
py/emitnative: Support binary ops on ARMv6M without use of ite instr.
Diffstat (limited to 'py/asmthumb.h')
-rw-r--r--py/asmthumb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/asmthumb.h b/py/asmthumb.h
index 3c4533618..17a0cca98 100644
--- a/py/asmthumb.h
+++ b/py/asmthumb.h
@@ -330,6 +330,8 @@ void asm_thumb_ldr_reg_reg_i12_optimised(asm_thumb_t *as, uint reg_dest, uint re
void asm_thumb_b_label(asm_thumb_t *as, uint label); // convenience: picks narrow or wide branch
void asm_thumb_bcc_label(asm_thumb_t *as, int cc, uint label); // convenience: picks narrow or wide branch
void asm_thumb_bl_ind(asm_thumb_t *as, uint fun_id, uint reg_temp); // convenience
+void asm_thumb_bcc_rel9(asm_thumb_t *as, int cc, int rel);
+void asm_thumb_b_rel12(asm_thumb_t *as, int rel);
// Holds a pointer to mp_fun_table
#define ASM_THUMB_REG_FUN_TABLE ASM_THUMB_REG_R7