summaryrefslogtreecommitdiff
path: root/opcodes/cgen-dis.in
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing spaces in opcodesH.J. Lu2015-08-121-4/+4
|
* ChangeLog rotatation and copyright year updateAlan Modra2015-01-021-1/+1
|
* Update copyright yearsAlan Modra2014-03-051-2/+1
|
* * cgen-dis.in (print_normal): Delete CGEN_PRINT_NORMAL.Doug Evans2010-02-121-8/+0
| | | | | | | | (print_address): Delete CGEN_PRINT_ADDRESS. * fr30-dis.c, * frv-dis.c, * ip2k-dis.c, * iq2000-dis.c, * lm32-dis.c, * m32c-dis.c, * m32r-desc.c, * m32r-desc.h, * m32r-dis.c, * mep-dis.c, * mt-dis.c, * openrisc-dis.c, * xc16x-dis.c, * xstormy16-dis.c: Regenerate.
* * cgen-asm.in: Update copyright year.Doug Evans2010-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * cgen-dis.in: Update copyright year. * cgen-ibld.in: Update copyright year. * fr30-asm.c, * fr30-desc.c, * fr30-desc.h, * fr30-dis.c, * fr30-ibld.c, * fr30-opc.c, * fr30-opc.h, * frv-asm.c, * frv-desc.c, * frv-desc.h, * frv-dis.c, * frv-ibld.c, * frv-opc.c, * frv-opc.h, * ip2k-asm.c, * ip2k-desc.c, * ip2k-desc.h, * ip2k-dis.c, * ip2k-ibld.c, * ip2k-opc.c, * ip2k-opc.h, * iq2000-asm.c, * iq2000-desc.c, * iq2000-desc.h, * iq2000-dis.c, * iq2000-ibld.c, * iq2000-opc.c, * iq2000-opc.h, * lm32-asm.c, * lm32-desc.c, * lm32-desc.h, * lm32-dis.c, * lm32-ibld.c, * lm32-opc.c, * lm32-opc.h, * lm32-opinst.c, * m32c-asm.c, * m32c-desc.c, * m32c-desc.h, * m32c-dis.c, * m32c-ibld.c, * m32c-opc.c, * m32c-opc.h, * m32r-asm.c, * m32r-desc.c, * m32r-desc.h, * m32r-dis.c, * m32r-ibld.c, * m32r-opc.c, * m32r-opc.h, * m32r-opinst.c, * mep-asm.c, * mep-desc.c, * mep-desc.h, * mep-dis.c, * mep-ibld.c, * mep-opc.c, * mep-opc.h, * mt-asm.c, * mt-desc.c, * mt-desc.h, * mt-dis.c, * mt-ibld.c, * mt-opc.c, * mt-opc.h, * openrisc-asm.c, * openrisc-desc.c, * openrisc-desc.h, * openrisc-dis.c, * openrisc-ibld.c, * openrisc-opc.c, * openrisc-opc.h, * xc16x-asm.c, * xc16x-desc.c, * xc16x-desc.h, * xc16x-dis.c, * xc16x-ibld.c, * xc16x-opc.c, * xc16x-opc.h, * xstormy16-asm.c, * xstormy16-desc.c, * xstormy16-desc.h, * xstormy16-dis.c, * xstormy16-ibld.c, * xstormy16-opc.c, * xstormy16-opc.h: Regenerate.
* Add LM32 port.Nick Clifton2008-12-231-2/+2
|
* Change source files over to GPLv3.Nick Clifton2007-07-051-8/+8
|
* 2005-10-28 Dave Brolley <brolley@redhat.com>Dave Brolley2005-10-281-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All CGEN-generated sources: Regenerate. Contribute the following changes: 2005-09-19 Dave Brolley <brolley@redhat.com> * disassemble.c (disassemble_init_for_target): Add 'break' to case for bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for bfd_arch_m32c case. 2005-02-16 Dave Brolley <brolley@redhat.com> * cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename cgen_isa_mask_* to cgen_bitset_*. * cgen-opc.c: Likewise. 2003-11-28 Richard Sandiford <rsandifo@redhat.com> * cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas. * *-dis.c: Regenerate. 2003-06-05 DJ Delorie <dj@redhat.com> * cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign it, as it may point to a reused buffer. Set prev_isas when we change cpus. 2002-12-13 Dave Brolley <brolley@redhat.com> * cgen-opc.c (cgen_isa_mask_create): New support function for CGEN_ISA_MASK. (cgen_isa_mask_init): Ditto. (cgen_isa_mask_clear): Ditto. (cgen_isa_mask_add): Ditto. (cgen_isa_mask_set): Ditto. (cgen_isa_supported): Ditto. (cgen_isa_mask_compare): Ditto. (cgen_isa_mask_intersection): Ditto. (cgen_isa_mask_copy): Ditto. (cgen_isa_mask_combine): Ditto. * cgen-dis.in (libiberty.h): #include it. (isas): Renamed from 'isa' and now (CGEN_ISA_MASK *). (print_insn_@arch@): Use CGEN_ISA_MASK and support functions. * Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm. * Makefile.in: Regenerated.
* Update function declarations to ISO C90 formattingNick Clifton2005-07-011-22/+24
|
* Update the address and phone number of the FSFNick Clifton2005-05-071-1/+1
|
* Fix compile time warnings generated by gcc 4.0Nick Clifton2005-02-231-6/+6
|
* Fix compile time warning messagesNick Clifton2005-02-151-4/+4
|
* Convert cgen to C-90Michael Meissner2003-08-081-58/+46
|
* * cgen-dis.in: Include libiberty.h.Alan Modra2002-12-021-1/+3
| | | | | | | | | | | | | | | | | | | * fr30-desc.c: Regenerate. * fr30-dis.c: Regenerate. * frv-desc.c: Regenerate. * frv-dis.c: Regenerate. * ip2k-asm.c: Regenerate. * ip2k-desc.c: Regenerate. * ip2k-dis.c: Regenerate. * ip2k-opc.c: Regenerate. * ip2k-opc.h: Regenerate. * m32r-desc.c: Regenerate. * m32r-dis.c: Regenerate. * openrisc-desc.c: Regenerate. * openrisc-dis.c: Regenerate. * xstormy16-asm.c: Regenerate. * xstormy16-desc.c: Regenerate. * xstormy16-dis.c: Regenerate.
* [ cgen/ChangeLog ]Graydon Hoare2002-05-081-3/+32
| | | | | | | | | | | | | 2002-05-01 Graydon Hoare <graydon@redhat.com> * desc-cpu.scm (@arch@_cgen_cpu_close): Fix memory leaks. [ opcodes/ChangeLog ] 2002-05-07 Graydon Hoare <graydon@redhat.com> * cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather than just most-recently-opened.
* * opcodes disassembler extensionFrank Ch. Eigler2002-02-051-1/+1
| | | | | | | | | | | | | [includes] 2002-02-04 Frank Ch. Eigler <fche@redhat.com> * dis-asm.h (disassemble_info): New field `insn_sets'. (INIT_DISASSEMBLE_INFO): Clear it. [opcodes] 2002-02-04 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
* 2001-10-12 John Healy <jhealy@redhat.com>John Healy2001-10-121-1/+5
| | | | | * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8) for the length when extracting the base part of the insn.
* Fix compile time warnings in cgen-generated filesNick Clifton2001-10-091-27/+13
|
* * some support for funny-endian 16/32-bit insn setsFrank Ch. Eigler2001-07-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | [cgen/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the mach->cpu insn-chunk-bitsize. (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new field toward CGEN_CPU_TABLE->insn_chunk_bitsize. * mach.scm (<cpu>): New field insn-chunk-bitsize. (-cpu-parse, -cpu-read): Parse/initialize it. * doc/rtl.texi (define-cpu): Document it. [opcodes/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of bfd_get_bits. * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect non-zero CGEN_CPU_DESC->insn_chunk_bitsize. [include/opcode/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field. (cgen_cpu_desc): Ditto.
* * cgen disasm bug fixFrank Ch. Eigler2001-05-151-1/+1
| | | | | | 2001-05-15 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (extract_normal): Complete support for min<base case.
* * cgen asm/disasmFrank Ch. Eigler2001-05-071-3/+12
| | | | | | | | | | | | | | | | [opcodes/ChangeLog] 2001-05-07 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (default_print_insn): Tolerate min<base instructions even at end of a section. * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions by ignoring precariously-unpacked insn_value in favor of raw buffer. [cgen/ChangeLog] 2001-05-07 Frank Ch. Eigler <fche@redhat.com> * iformat.scm (compute-insn-base-mask-length): Rewrite to tolerate various-base-length instruction sets.
* * m32r disasm bug fixFrank Ch. Eigler2001-05-041-4/+21
| | | | | | | | | | | | 2001-05-04 Frank Ch. Eigler <fche@redhat.com> * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes. 2001-05-04 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (print_insn): Remove call to read_insn. Instead, assume incoming buffer already has the base insn loaded. Handle case of smaller-than-base instructions for variable-length case.
* Add support for cgen machine determination.Patrick Macdonald2001-03-201-4/+8
| | | | | | | | | | | | * cgen-dis.in (print_insn_@arch@): Add support for target machine determination via CGEN_COMPUTE_MACH. * fr30-desc.c: Regenerate. * fr30-dis.c: Regenerate. * fr30-opc.h: Regenerate. * m32r-desc.c: Regenerate. * m32r-dis.c: Regenerate. * m32r-opc.h: Regenerate. * m32r-opinst.c: Regenerate.
* Fix typos in ChangeLogs; fix dates in copyright noticesNick Clifton2001-03-131-1/+1
|
* 2001-01-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-091-2/+2
| | | | | | | | | * cgen-asm.in (parse_insn_normal): Changed syn to be CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn as character to use CGEN_SYNTAX_CHAR macro and all comparisons to '\0' to use 0 instead. * cgen-dis.in (print_insn_normal): Ditto. * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
* * generalizationFrank Ch. Eigler2001-01-031-15/+1
| | | | | | 2001-01-03 Richard Sandiford <r.sandiford@redhat.com> cgen-dis.in (read_insn): Use bfd_get_bits()
* 2000-11-07 Dave Brolley <brolley@redhat.com>Dave Brolley2000-11-071-6/+6
| | | | | * cgen-dis.in (print_insn): All insns which can fit into insn_value must be loaded there in their entirety.
* 2000-08-28 Dave Brolley <brolley@redhat.com>Dave Brolley2000-08-281-16/+59
| | | | | | | | | | | | | | | | | | | | | | | | | * cgen-ibld.in (cgen_put_insn_int_value): New function. (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P. (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P. (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P. * cgen-dis.in (read_insn): New static function. (print_insn): Use read_insn to read the insn into the buffer and set up for disassembly. (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is in the buffer. * fr30-asm.c: Regenerated. * fr30-desc.c: Regenerated. * fr30-desc.h Regenerated. * fr30-dis.c: Regenerated. * fr30-ibld.c: Regenerated. * fr30-opc.c: Regenerated. * fr30-opc.h Regenerated. * m32r-asm.c: Regenerated. * m32r-desc.c: Regenerated. * m32r-desc.h Regenerated. * m32r-dis.c: Regenerated. * m32r-ibld.c: Regenerated. * m32r-opc.c: Regenerated.
* 2000-08-04 Ben Elliston <bje@redhat.com>Ben Elliston2000-08-041-0/+388
| | | | | * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files. * cgen.sh: Likewise.
* Initial creation of sourceware repositoryStan Shebs1999-04-161-582/+0
|
* * cgen-asm.in (insert_normal): Use CGEN_BOOL_ATTR.Doug Evans1999-01-061-94/+118
| | | | | | | * cgen-asm.in (extract_normal): Ditto. * fr30-asm.c,fr30-dis.c,fr30-opc.h,fr30-opc.c: Regenerate. * i960c-asm.c,i960c-dis.c,i960c-opc.h,i960c-opc.c: Regenerate. * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.
* * cgen-dis.in (print_normal): CGEN_OPERAND_FAKE renamed toDoug Evans1998-11-101-116/+333
| | | | | | CGEN_OPERAND_SEM_ONLY. * m32r-dis.c,m32r-opc.c,m32r-opc.h: Rebuild. * fr30-dis.c,fr30-opc.c,fr30-opc.h: Rebuild.
* * cgen-asm.c: Include symcat.h.Doug Evans1998-02-231-1/+4
| | | | * cgen-dis.c,cgen-opc.c,cgen-asm.in,cgen-dis.in: Ditto.
* * cgen-opc.in: New file.Doug Evans1998-02-121-9/+7
| | | | | | | | | | | | | | * 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.
* * Makefile.am: Add cgen support.Doug Evans1998-01-131-0/+340
* Makefile.in: Regenerate. * configure.in: Add cgen support. * configure: Regenerate. * aclocal.m4: Regenerate. * cgen.sh, cgen-asm.in, cgen-dis.in: New files.