diff options
author | Damien George <damien.p.george@gmail.com> | 2014-09-29 18:45:42 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-09-29 19:42:06 +0100 |
commit | 3112cde9006809a1ffa7f19e96fa8ee28311f411 (patch) | |
tree | c888f841266f72afb787069eaf824086ad91d22e /py/asmarm.h | |
parent | 6f81348fa25216f03686b342765f337ab57e2e5f (diff) |
py: Implement more binary ops for viper emitter.
This included a bit of restructuring of the assembler backends. Note
that the ARM backend is missing a few functions and won't compile.
Diffstat (limited to 'py/asmarm.h')
-rw-r--r-- | py/asmarm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py/asmarm.h b/py/asmarm.h index e0c8efe1f..d977102ba 100644 --- a/py/asmarm.h +++ b/py/asmarm.h @@ -89,7 +89,8 @@ void asm_arm_mov_reg_local(asm_arm_t *as, uint rd, int local_num); void asm_arm_cmp_reg_i8(asm_arm_t *as, uint rd, int imm); void asm_arm_cmp_reg_reg(asm_arm_t *as, uint rd, uint rn); void asm_arm_less_op(asm_arm_t *as, uint rd, uint rn, uint rm); -void asm_arm_add_reg(asm_arm_t *as, uint rd, uint rn, uint rm); +void asm_arm_add_reg_reg_reg(asm_arm_t *as, uint rd, uint rn, uint rm); +void asm_arm_sub_reg_reg_reg(asm_arm_t *as, uint rd, uint rn, uint rm); void asm_arm_mov_reg_local_addr(asm_arm_t *as, uint rd, int local_num); void asm_arm_bcc_label(asm_arm_t *as, int cond, uint label); |