diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-12-08 08:27:56 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-12-08 08:27:56 (GMT) |
commit | 096f123b87437cf25cd008a6dea710286fbefcf0 (patch) | |
tree | a79c3b401b44d5aa513e3931b8422134d2f24936 /src/arch/arm/v7/opcodes | |
parent | 0a7b9b66bdcf386a36ec13ec480b52aa17406385 (diff) |
Supported new ARMv7 instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@437 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7/opcodes')
-rw-r--r-- | src/arch/arm/v7/opcodes/Makefile.am | 9 | ||||
-rw-r--r-- | src/arch/arm/v7/opcodes/opcodes_tmp_arm.h | 2 | ||||
-rw-r--r-- | src/arch/arm/v7/opcodes/opcodes_tmp_thumb_16.h | 6 | ||||
-rw-r--r-- | src/arch/arm/v7/opcodes/opcodes_tmp_thumb_32.h | 3 |
4 files changed, 9 insertions, 11 deletions
diff --git a/src/arch/arm/v7/opcodes/Makefile.am b/src/arch/arm/v7/opcodes/Makefile.am index 30d0e16..be437b9 100644 --- a/src/arch/arm/v7/opcodes/Makefile.am +++ b/src/arch/arm/v7/opcodes/Makefile.am @@ -6,13 +6,16 @@ libarcharmv7opcodes_la_SOURCES = \ arm_adc.c \ arm_add.c \ arm_and.c \ + arm_b.c \ arm_bic.c \ arm_bl.c \ arm_bx.c \ + arm_cbnz.c \ arm_cmn.c \ arm_cmp.c \ arm_eor.c \ arm_ldr.c \ + arm_lsl.c \ arm_mla.c \ arm_mls.c \ arm_mov.c \ @@ -36,13 +39,16 @@ libarcharmv7opcodes_la_SOURCES = \ thumb_16_adc.c \ thumb_16_add.c \ thumb_16_and.c \ + thumb_16_b.c \ thumb_16_bic.c \ thumb_16_bl.c \ thumb_16_bx.c \ + thumb_16_cbnz.c \ thumb_16_cmn.c \ thumb_16_cmp.c \ thumb_16_eor.c \ thumb_16_ldr.c \ + thumb_16_lsl.c \ thumb_16_mla.c \ thumb_16_mls.c \ thumb_16_mov.c \ @@ -66,13 +72,16 @@ libarcharmv7opcodes_la_SOURCES = \ thumb_32_adc.c \ thumb_32_add.c \ thumb_32_and.c \ + thumb_32_b.c \ thumb_32_bic.c \ thumb_32_bl.c \ thumb_32_bx.c \ + thumb_32_cbnz.c \ thumb_32_cmn.c \ thumb_32_cmp.c \ thumb_32_eor.c \ thumb_32_ldr.c \ + thumb_32_lsl.c \ thumb_32_mla.c \ thumb_32_mls.c \ thumb_32_mov.c \ diff --git a/src/arch/arm/v7/opcodes/opcodes_tmp_arm.h b/src/arch/arm/v7/opcodes/opcodes_tmp_arm.h index 82590a4..1cd3e24 100644 --- a/src/arch/arm/v7/opcodes/opcodes_tmp_arm.h +++ b/src/arch/arm/v7/opcodes/opcodes_tmp_arm.h @@ -2,14 +2,12 @@ #define arm_def_tmp_h #define armv7_read_arm_instr_adr(r) NULL #define armv7_read_arm_instr_asr_immediate(r) NULL -#define armv7_read_arm_instr_b(r) NULL #define armv7_read_arm_instr_ldmda_ldmfa(r) NULL #define armv7_read_arm_instr_ldmdb_ldmea(r) NULL #define armv7_read_arm_instr_ldm_exception_return(r) NULL #define armv7_read_arm_instr_ldmib_ldmed(r) NULL #define armv7_read_arm_instr_ldm_ldmia_ldmfd_arm(r) NULL #define armv7_read_arm_instr_ldm_user_registers(r) NULL -#define armv7_read_arm_instr_lsl_immediate(r) NULL #define armv7_read_arm_instr_lsr_immediate(r) NULL #define armv7_read_arm_instr_movt(r) NULL #define armv7_read_arm_instr_pop_arm(r) NULL diff --git a/src/arch/arm/v7/opcodes/opcodes_tmp_thumb_16.h b/src/arch/arm/v7/opcodes/opcodes_tmp_thumb_16.h index 4620f83..f9ef7d9 100644 --- a/src/arch/arm/v7/opcodes/opcodes_tmp_thumb_16.h +++ b/src/arch/arm/v7/opcodes/opcodes_tmp_thumb_16.h @@ -2,18 +2,14 @@ #define thumb_16_def_tmp_h #define armv7_read_thumb_16_instr_adc_register(r) NULL #define armv7_read_thumb_16_instr_add_immediate_thumb(r) NULL -#define armv7_read_thumb_16_instr_add_register_thumb(r) NULL #define armv7_read_thumb_16_instr_add_sp_plus_immediate(r) NULL #define armv7_read_thumb_16_instr_adr(r) NULL #define armv7_read_thumb_16_instr_and_register(r) NULL #define armv7_read_thumb_16_instr_asr_immediate(r) NULL #define armv7_read_thumb_16_instr_asr_register(r) NULL -#define armv7_read_thumb_16_instr_b(r) NULL #define armv7_read_thumb_16_instr_bic_register(r) NULL #define armv7_read_thumb_16_instr_bkpt(r) NULL #define armv7_read_thumb_16_instr_blx_register(r) NULL -#define armv7_read_thumb_16_instr_bx(r) NULL -#define armv7_read_thumb_16_instr_cbnz_cbz(r) NULL #define armv7_read_thumb_16_instr_cmn_register(r) NULL #define armv7_read_thumb_16_instr_cmp_immediate(r) NULL #define armv7_read_thumb_16_instr_cmp_register(r) NULL @@ -25,10 +21,8 @@ #define armv7_read_thumb_16_instr_ldrb_register(r) NULL #define armv7_read_thumb_16_instr_ldrh_immediate_thumb(r) NULL #define armv7_read_thumb_16_instr_ldrh_register(r) NULL -#define armv7_read_thumb_16_instr_ldr_register_thumb(r) NULL #define armv7_read_thumb_16_instr_ldrsb_register(r) NULL #define armv7_read_thumb_16_instr_ldrsh_register(r) NULL -#define armv7_read_thumb_16_instr_lsl_immediate(r) NULL #define armv7_read_thumb_16_instr_lsl_register(r) NULL #define armv7_read_thumb_16_instr_lsr_immediate(r) NULL #define armv7_read_thumb_16_instr_lsr_register(r) NULL diff --git a/src/arch/arm/v7/opcodes/opcodes_tmp_thumb_32.h b/src/arch/arm/v7/opcodes/opcodes_tmp_thumb_32.h index 999cd0d..966d6a2 100644 --- a/src/arch/arm/v7/opcodes/opcodes_tmp_thumb_32.h +++ b/src/arch/arm/v7/opcodes/opcodes_tmp_thumb_32.h @@ -1,10 +1,8 @@ #ifndef thumb_32_def_tmp_h #define thumb_32_def_tmp_h #define armv7_read_thumb_32_instr_add_immediate_thumb(r) NULL -#define armv7_read_thumb_32_instr_add_register_thumb(r) NULL #define armv7_read_thumb_32_instr_adr(r) NULL #define armv7_read_thumb_32_instr_asr_register(r) NULL -#define armv7_read_thumb_32_instr_b(r) NULL #define armv7_read_thumb_32_instr_bfc(r) NULL #define armv7_read_thumb_32_instr_bfi(r) NULL #define armv7_read_thumb_32_instr_b_mrs(r) NULL @@ -22,7 +20,6 @@ #define armv7_read_thumb_32_instr_isb(r) NULL #define armv7_read_thumb_32_instr_ldmdb_ldmea(r) NULL #define armv7_read_thumb_32_instr_ldm_ldmia_ldmfd_thumb(r) NULL -#define armv7_read_thumb_32_instr_ldr_register_thumb(r) NULL #define armv7_read_thumb_32_instr_ldrt(r) NULL #define armv7_read_thumb_32_instr_lsl_register(r) NULL #define armv7_read_thumb_32_instr_lsr_register(r) NULL |