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

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


Hi, binutils maintainers and developers,

Attached is the modified patch.

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

        * nds32-asm.c (config.h, stdlib.h, string.h): New includes.
        (LEX_SET_FIELD, LEX_GET_FIELD): Update defines.
        (nds32_asm_init, build_operand_hash_table, build_keyword_hash_table,
        build_opcode_hash_table): New functions.
        (nds32_keyword_table, nds32_keyword_count_table, nds32_field_table,
        nds32_opcode_table): New.
        (hw_ktabs): Declare it to a pointer rather than an array.
        (build_hash_table): Removed.
        * nds32-asm.h (enum): Add SYN_INPUT, SYN_OUTPUT, SYN_LOPT,
        SYN_ROPT and upadte HW_GPR and HW_INT.
        * nds32-dis.c (keywords): Remove const.
        (match_field): New function.
        (nds32_parse_opcode): Updated.

Best regards,
Nelson Ching-Yu Chu
Software R&D, Andes Technology
Nelson Chu <nelson.chu1990@gmail.com> 於 2018年9月17日 週一 上午9:55寫道:
>
> Hi, binutils maintainers and developers,
>
> Attached is the second patch,
> 0002-NDS32-Refactor-the-assembler-and-disassembler
>
> Best regards,
> Nelson Ching-Yu Chu
> Software R&D, Andes Technology
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-NDS32-Refactor-the-assembler-and-disassembler.patch
Type: application/octet-stream
Size: 14717 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180919/9d629915/attachment.obj>


More information about the Binutils mailing list