* some support for funny-endian 16/32-bit insn sets
commit81f6038f98bd3ca48651c22779ffe6231d0873a0
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 12 Jul 2001 02:32:25 +0000 (12 02:32 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 12 Jul 2001 02:32:25 +0000 (12 02:32 +0000)
treeb0b00e86933a62418f03d1de98982df853161f80
parent3bbfbb92b3cf687215142bcd8dfe720cf9cdc6b0
* some support for funny-endian 16/32-bit insn sets

[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.
include/opcode/ChangeLog
include/opcode/cgen.h
opcodes/ChangeLog
opcodes/cgen-dis.in
opcodes/cgen-opc.c