Hi, binutils maintainers and developers,
Attached is the modified patch.
* bfd/ChangeLog
2018-09-19 Nelson Chu <***@1990gmail.com>
* elf32-nds32.c (nds32_convert_32_to_16): Updated.
* gas/ChangeLog
2018-09-19 Nelson Chu <***@1990gmail.com>
* configure.ac (--enable-dsp-ext, --enable-zol-ext): New options.
* config.in: Regenerated.
* configure: Regenerated.
* config/tc-nds32.c (nds32_dx_regs):
Set the value according to the configuration.
(nds32_perf_ext, nds32_perf_ext2, nds32_string_ext, nds32_audio_ext):
Likewise.
(nds32_dsp_ext): New variable. Set the value according to the
configuration.
(nds32_zol_ext): Likewise.
(asm_desc, nds32_pseudo_opcode_table): Make them static.
(nds32_set_elf_flags_by_insn): Updated.
(nds32_check_insn_available): Updated.
(nds32_str_tolower): New function.
* include/ChangeLog
2018-09-19 Nelson Chu <***@1990gmail.com>
* elf/nds32.h (E_NDS32_NULL): Removed.
(E_NDS32_HAS_DSP_INST, E_NDS32_HAS_ZOL): New.
* opcode/nds32.h: Ident.
(N32_SUB6, INSN_LW): New macros.
(enum n32_opcodes): Updated.
* opcodes/ChangeLog
2018-09-19 Nelson Chu <***@1990gmail.com>
* nds32-asm.c (keyword_usr, keyword_sr): Updated.
(operand_fields): Add new fields.
(nds32_opcodes): Add new instructions.
(keyword_aridxi_mx): New keyword.
* nds32-asm.h (enum): Add NASM_ATTR_DSP_ISAEXT, HW_AEXT_ARIDXI_MX
and NASM_ATTR_ZOL.
(ALU2_1, ALU2_2, ALU2_3): New macros.
* nds32-dis.c (nds32_filter_unknown_insn): Updated.
Best regards,
Nelson Ching-Yu Chu
Software R&D, Andes Technology
Post by Nelson ChuHi, binutils maintainers and developers,
Attached is the fifth patch,
0005-NDS32-ADD-DSP-and-ZOL-instructions
Best regards,
Nelson Ching-Yu Chu
Software R&D, Andes Technology