[PATCH 5/13] [NDS32] Update and support more target features for the nds32 port

Nelson Chu nelson.chu1990@gmail.com
Wed Sep 19 09:36:00 GMT 2018


Hi, binutils maintainers and developers,

Attached is the modified patch.

* bfd/ChangeLog
2018-09-19  Nelson Chu  <nelson.chu@1990gmail.com>

        * elf32-nds32.c (nds32_convert_32_to_16): Updated.

* gas/ChangeLog
2018-09-19  Nelson Chu  <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  <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  <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
Nelson Chu <nelson.chu1990@gmail.com> 於 2018年9月17日 週一 上午9:58寫道:
>
> Hi, 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-NDS32-ADD-DSP-and-ZOL-instructions.patch
Type: application/octet-stream
Size: 56930 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180919/fa471a37/attachment.obj>


More information about the Binutils mailing list