aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cgen-opc.in
AgeCommit message (Collapse)AuthorFilesLines
1998-04-29Internationalised these files.Nick Clifton1-0/+1
1998-04-27 * cgen-asm.c (cgen_current_opcode_table): Renamed from ..._data.Doug Evans1-28/+55
(asm_hash_table_entries): New variable. (cgen_asm_init): Free asm_hash_table_entries. (hash_insn_array,hash_insn_list): New functions. (build_asm_hash_table): Use them. Hash macro insns as well. (cgen_asm_lookup_insn): Update. * cgen_dis.c (cgen_current_opcode_table): Renamed from ..._data. (dis_hash_table_entries): New variable. (cgen_dis_init): Free dis_hash_table_entries. (hash_insn_array,hash_insn_list): New functions. (build_dis_hash_table): Use them. Hash macro insns as well. (cgen_dis_lookup_insn): Update. * cgen-opc.c (cgen_current_opcode_table): Renamed from ..._data. (cgen_set_cpu,cgen_hw_lookup,cgen_insn_count): Update. (cgen_macro_insn_count): New function. * cgen-opc.in (@arch@_cgen_lookup_insn): New arg alias_p. All callers updated. Sanity check result of extract fn. (@arch@_cgen_get_insn_operands): Change result type to void. Delete args insn_value, length. New arg fields. All callers updated. (@arch@_cgen_lookup_get_insn_operands): New function.
1998-02-13Fix comment.Doug Evans1-1/+2
1998-02-13 * cgen-opc.in (@arch@_cgen_get_insn_operands): Handle emptyDoug Evans1-1/+2
operand instance list. * m32r-opc.c: Regenerate.
1998-02-13 * cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.Doug Evans1-10/+24
Ignore ALIAS insns if asked to. (@arch@_cgen_get_insn_operands): Pass 0 for alias_p, NULL for insn. * m32r-opc.c: Regenerate.
1998-02-12 * cgen-opc.in: New file.Doug Evans1-0/+143
* cgen.sh: Translate @ARCH@. Cat cgen-opc.in into @arch@-opc.c. * Makefile.am (CGENFILES): Add cgen-opc.in. * Makefile.in: Regenerate. * cgen-opc.c (cgen_set_cpu): Delete init of hw list `next' chain. (cgen_hw_lookup): Make result const. * cgen-dis.in (*): Use PTR instead of void *. (print_insn): Delete unused vars `i', `syntax'. * m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate.