1. Feb 15, 1999
  2. Feb 14, 1999
  3. Feb 13, 1999
  4. Feb 12, 1999
  5. Feb 11, 1999
  6. Feb 10, 1999
    • Doug Evans's avatar
      * Makefile.in (SPARC64_OBJS): Add dev64.o. · c14d22a7
      Doug Evans authored
      	(CPU_OBJS): New variable.
      	(SIM_OBJS): Add sparc-desc.o.
      	(SIM_EXTRA_DEPS): Replace cpu-opc.h with sparc-desc.h.
      	(sim-core.o): Add dev64.h dependency.
      	(dev64.o): Add rule.
      	(stamp-arch,stamp-cpu32): Update FLAGS variable, option syntax changed.
      	(stamp-cpu64): Ditto.
      	(stamp-desc): New rule.
      	* configure.in (sim_link_files,sim_link_links): Delete.
      	Set cpu_objs to one of SPARC32_OBJS,SPARC64_OBJS.
      	* configure: Rebuild.
      	* acconfig.h: Rebuild.
      	* config.in: Rebuild.
      	* dev64.c: New file.
      	* dev64.h: New file.
      	* sparc64.c: New file.
      	* trap64.h: New file.
      	* arch.c,arch.h,cpuall.h: Rebuild.
      	* cpu32.c,decode32.c,decode32.h,model32.c,sem32.c: Rebuild.
      	* sim-if.c (sparc_disassemble_insn): New function.
      	(sim_open): sparc_cgen_cpu_open renamed from sparc_cgen_opcode_open.
      	Set disassembler.
      	(sim_close): sparc_cgen_cpu_open renamed from sparc_cgen_opcode_open.
      	* sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
      	sparc-desc.h,sparc-opc.h,sparc-sim.h.
      c14d22a7
    • Doug Evans's avatar
      * Makefile.in (SIM_EXTRA_DEPS): Add m32r-desc.h, delete cpu-opc.h. · 9aa2d8dd
      Doug Evans authored
      	(stamp-arch,stamp-cpu): Update FLAGS variable, option syntax changed.
      	(stamp-xmloop): s/-parallel/-parallel-write/.
      	(stamp-xcpu): Update FLAGS variable, option syntax changed.
      	* configure.in (sim_link_files,sim_link_links): Delete.
      	* configure: Rebuild.
      	* decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
      	* decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
      	* mloop.in (execute): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
      	* sim-if.c (sim_open): m32r_cgen_cpu_open renamed from
      	m32r_cgen_opcode_open.  Set disassembler.
      	(sim_close): m32r_cgen_cpu_open renamed from m32r_cgen_opcode_open.
      	* sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
      	m32r-desc.h,m32r-opc.h,m32r-sim.h.
      9aa2d8dd
    • Doug Evans's avatar
      * configure.in (sparc*): Configure sparc subdir if --with-cgen or · 2d84b543
      Doug Evans authored
      	--with-cgen-sim.
      	* configure: Rebuild.
      2d84b543
    • Doug Evans's avatar
      * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h. · 3ab32eae
      Doug Evans authored
      	(cgen.o): Ditto.
      	(EXTRA_as_new_SOURCES): Comment out.
      	(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
      	* Makefile.in: Rebuild.
      	* doc/Makefile.in: Rebuild.
      	* configure.in: Require autoconf 2.13.  Redo using_cgen handling.
      	Delete call to AM_CYGWIN32.  Replace AM_EXEEXT with AC_EXEEXT.
      	(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
      	* configure: Rebuild.
      	* aclocal.m4: Rebuild.
      	* config.in: Rebuild.
      	* cgen.c: Include cgen-desc.h, not cgen-opc.h.
      	(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
      	(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
      	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
      	CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
      	(gas_cgen_record_fixup): Remove unnecessary != 0 test.
      	(gas_cgen_record_fixup_exp): Ditto.
      	(gas_cgen_finish_insn): Ditto.  Refer to operand table via cpu
      	descriptor, not global variable.
      	(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
      	descriptor, not global variable.  Refer to insert_operand handler
      	via cpu descriptor, not global function.
      	* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
      	* config/tc-fr30.c: Include opcodes/fr30-desc.h.
      	(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
      	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
      	Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
      	* config/tc-m32r.c: Ditto.
      	(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
      	(md_assemble): Ditto.
      	(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
      3ab32eae
    • Doug Evans's avatar
      * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h. · 310addc4
      Doug Evans authored
      	(cgen.o): Ditto.
      	(EXTRA_as_new_SOURCES): Comment out.
      	(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
      	* Makefile.in: Rebuild.
      	* configure.in: Require autoconf 2.13.  Redo using_cgen handling.
      	Delete call to AM_CYGWIN32.  Replace AM_EXEEXT with AC_EXEEXT.
      	(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
      	* configure: Rebuild.
      	* aclocal.m4: Rebuild.
      	* config.in: Rebuild.
      	* cgen.c: Include cgen-desc.h, not cgen-opc.h.
      	(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
      	(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
      	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
      	CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
      	(gas_cgen_record_fixup): Remove unnecessary != 0 test.
      	(gas_cgen_record_fixup_exp): Ditto.
      	(gas_cgen_finish_insn): Ditto.  Refer to operand table via cpu
      	descriptor, not global variable.
      	(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
      	descriptor, not global variable.  Refer to insert_operand handler
      	via cpu descriptor, not global function.
      	* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
      	* config/tc-fr30.c: Include opcodes/fr30-desc.h.
      	(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
      	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
      	Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
      	* config/tc-m32r.c: Ditto.
      	(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
      	(md_assemble): Ditto.
      	(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
      310addc4
    • Doug Evans's avatar
      * i960c-asm.c,i960c-dis.c,i960c-opc.c,i960c-opc.h: Delete. · b43ef111
      Doug Evans authored
      	* i960-dis.c (print_insn_i960): Rename from print_insn_i960_orig.
      	* Makefile.am: Remove references to them.
      	(HFILES): Add fr30-desc.h,m32r-desc.h.
      	(CFILES): Add fr30-desc.c,fr30-ibld.c,m32r-desc.c,m32r-ibld.c,
      	m32r-opinst.c.
      	(ALL_MACHINES): Update.
      	* configure.in: Redo handling of cgen_files.
      	(bfd_i960_arch): Delete i960c-*.lo files.
      	* configure: Regenerate.
      	* cgen-asm.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
      	(hash_insn_array): Rewrite.
      	* cgen-dis.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
      	(hash_insn_array): Rewrite.
      	* cgen-opc.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
      	(cgen_lookup_insn,cgen_get_insn_operands): Define here.
      	(cgen_lookup_get_insn_operands): Ditto.
      	* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate.
      	* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
      	* po/POTFILES.in: Rebuild.
      	* po/opcodes.pot: Rebuild.
      
      	* Makefile.am (fr30 cgen dependencies): Add new files.
      	(m32r cgen dependencies): Add new files.
      	(CGENFILES): Update for opcode table reorg.
      	(run-cgen): Pass $(extrafiles).
      	(stamp-m32r): Set extrafiles to "opinst".
      	* cgen-opc.in: Delete.
      	* cgen-ibld.in: New file.
      	* cgen-asm.in: Include @prefix@-desc.h.
      	(insert_1,insert_normal,insert_insn_normal): Moved to cgen-ibld.in.
      	* cgen-dis.in: Include @prefix@-desc.h.
      	(fill_cache,extract_1,extract_normal,extract_insn_normal): Moved to
      	cgen-ibld.in.
      	* cgen.sh: Accept new arg to handle generation of opinst file.
      	Generate arch-desc.[ch],arch-opinst.c,arch-ibld.c files.
      b43ef111