cgen/ChangeLog: 2005-09-19 Dave Brolley * attr.scm (gen-value-for-defn-raw): New methods. (gen-value-for-defn): Don't test for 'SID-SIMULATOR. Call gen-value-for-defn-raw. * sid.scm (gen-obj-attr-sid-defn): Call gen-value-for-defn-raw. 2002-12-13 Dave Brolley * utils-cgen.scm (gen-attr-type): Moved from sid.scm. (-gen-attr-accessors): New function. (gen-obj-attr-defn): Update terminating initializer. (gen-obj-attr-end-defn): New function. * sid.scm (gen-attr-type): Moved to utils-cgen.scm. * sid-cpu.scm (cgen-desc.h): Generate code to include "opcode/cgen-bitset.h" * intrinsics.scm (kept-insn-isas): Correct the extraction of the isa name. * desc.scm ('gen-defn): Update terminating initializer. * desc-cpu.scm (gen-ifld-decls): Call -gen-attr-accessors. Update terminatinig initializer. (gen-hw-decls): Ditto. (gen-operand-decls): Ditto. (gen-insn-decls): Ditto. (-gen-hash-defines): Generate code to include "opcde/cgen-bitset.h" (gen-insn-table): Update terminating initializer. (-gen-cpu-open): Update generation of @arch@_cgen_rebuild_tables, @arch@_cgen_cpu_open, @arch@_cgen_cpu_close. * attr.scm (charmask-bytes): New function. (bitset-attr->charmask): New function. (): Handle isa-attributes specially. Also handle differences for SID-SIMULATOR. (): Handle differences for SID-SIMULATOR. (): Ditto. include/ChangeLog: 2003-09-29 Dave Brolley * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for more exotic underlying types to be used. include/opcode/ChangeLog: 2005-02-16 Dave Brolley * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename cgen_isa_mask_* to cgen_bitset_*. * cgen.h: Likewise. 2003-10-21 Richard Sandiford * cgen.h (CGEN_BITSET_ATTR_VALUE): Fix definition. (CGEN_ATTR_ENTRY): Change "value" to type "unsigned". (CGEN_CPU_TABLE): Make isas a ponter. 2003-09-29 Dave Brolley * cgen.h (CGEN_ATTR_VALUE_BITSET_TYPE): New typedef. (CGEN_ATTR_VALUE_ENUM_TYPE): Ditto. (CGEN_ATTR_VALUE_TYPE): Use these new typedefs. 2002-12-13 Dave Brolley * cgen.h (symcat.h): #include it. (cgen-bitset.h): #include it. (CGEN_ATTR_VALUE_TYPE): Now a union. (CGEN_ATTR_VALUE): Reference macros generated in opcodes/-desc.h. (CGEN_ATTR_ENTRY): 'value' now unsigned. (cgen_cpu_desc): 'isas' now (CGEN_ISA_MASK*). * cgen-bitset.h: New file. opcodes/ChangeLog: 2005-09-19 Dave Brolley * 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 * 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 * cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas. * *-dis.c: Regenerate. 2003-06-05 DJ Delorie * 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 * 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. sid/component/cgen-cpu/ChangeLog: 2003-10-07 Dave Brolley * tracedis.cxx (cgen_disassemble): Rename isa_mask to isas. Now (CGEN_ISA_MASK*). * tracedis.h (opcode/cgen-bitset.h): #include it. (cgen_disassemble): Rename isa_mask to isas. Now (CGEN_ISA_MASK*). (cgen_bi_endian_cpu::disassemble): 'isas' now (CGEN_ISA_MASK *). * cgen-cpu.h (opcode/cgen-bitset.h): #include it. (cgen_bi_endian_cpu::disassemble): 'isas' now (CGEN_ISA_MASK *). * compCGEN.cxx (cgen_disassemble): Rename isa_mask to isas. Now (CGEN_ISA_MASK*). cpu/ChangeLog: 2003-09-24 Dave Brolley * frv.opc: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of CGEN_ATTR_VALUE_TYPE. * m32c.opc (m32c_cgen_insn_supported): Use CGEN_INSN_BITSET_ATTR_VALUE. Use cgen_bitset_intersect_p. gas/ChangeLog: 2005-09-19 Dave Brolley * config/tc-m32c.c (default_isa): New static variable. (m32c_isa): Now of type CGEN_BITSET. (md_begin): Pass &m32c_isa to m32c_cgen_cpu_open. sim/frv/ChangeLog: 2003-09-29 Dave Brolley * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of CGEN_ATTR_VALUE_TYPE. * mloop.in: Ditto. * pipeline.c: Ditto. * traps.c: Ditto.