binutils-gdb.git
26 years agoPacify GCC: const char * passed to asprintf; int function returning
Andrew Cagney [Sat, 28 Feb 1998 03:01:51 +0000 (03:01 +0000)]
Pacify GCC: const char * passed to asprintf; int function returning
void; unused variable.

26 years agoAdd generic sim-info.c:sim_info() function using module mechanism.
Andrew Cagney [Sat, 28 Feb 1998 02:51:06 +0000 (02:51 +0000)]
Add generic sim-info.c:sim_info() function using module mechanism.
Clean up compile probs in mips/vr5400.

26 years ago * interp.c (DECLARE_OPTION_HANDLER): Use it.
Doug Evans [Sat, 28 Feb 1998 02:43:31 +0000 (02:43 +0000)]
* interp.c (DECLARE_OPTION_HANDLER): Use it.
(mips_option_handler): New argument `cpu'.
(sim_open): Update call to sim_add_option_table.

26 years ago * simops.c (inc): Fix typo.
Jeff Law [Sat, 28 Feb 1998 01:41:28 +0000 (01:41 +0000)]
    * simops.c (inc): Fix typo.

26 years ago* Updated build to allow srcdir != objdir. Tests still do not use dejagnu.
Frank Ch. Eigler [Fri, 27 Feb 1998 21:58:44 +0000 (21:58 +0000)]
* Updated build to allow srcdir != objdir.  Tests still do not use dejagnu.

26 years ago* Major endianness fixes on sky code today. The milestone sample and existing
Frank Ch. Eigler [Fri, 27 Feb 1998 21:52:40 +0000 (21:52 +0000)]
* Major endianness fixes on sky code today.  The milestone sample and existing
  PKE tests run identically on SPARC/Solaris and x86/Linux.

* sky-pke.c (pke_io_{read,write}_buffer): Endianness fixes aka
  "E-fixes" in register and FIFO read/writes.
(pke_code_{pkemscalf,pkemscal}): E-fixes in VU CIA setting.
(pke_code_{mpg,unpack}): E-fixes in VU memory & tracking updates.
(pke_code_direct): E-fixes in GPUIF FIFO stuffing.

* sky-pke.h (PKE_MEM_WRITE): E-fixes in trace file writing.

* sky-vu0.c (vu0_attach): Allocate micro/data memory with zalloc
  to guarantee sufficient (16-byte) alignment.

* sky-vu1.c (vu1_attach): Ditto.
(vu1_io_read_register_window): *PARTIAL* E-fixes in register accesses.

* sky-libvpe.c (gif_write): E-fixes in GPUIF FIFO stuffing.

* sky-gpuif.c (gif_io_{read,write}_buffer): E-fixes in
  register and FIFO read/writes.

* sky-dma.c (do_dma_transfer_tag): E-fixes in tag reading.

26 years agoPut sanitize markers around last ChangeLog entry.
Jeff Law [Fri, 27 Feb 1998 20:16:35 +0000 (20:16 +0000)]
Put sanitize markers around last ChangeLog entry.

26 years ago * mips-opc.c (r5900/madd.s): Takes three operands, not four. Fix
Jeff Law [Fri, 27 Feb 1998 20:15:50 +0000 (20:15 +0000)]
    * mips-opc.c (r5900/madd.s): Takes three operands, not four.  Fix
        opcode.
        (r5900/min.s): Incorrect opcode ....,101001 not ...110000.
        (r5900/msub.s): Takes three operands, not four.  Fix opcode.

26 years agoIndicate which instructions are delayed branches or jumps
Michael Meissner [Fri, 27 Feb 1998 19:24:15 +0000 (19:24 +0000)]
Indicate which instructions are delayed branches or jumps

26 years agoAdd eit_vb section support
Michael Meissner [Fri, 27 Feb 1998 19:22:13 +0000 (19:22 +0000)]
Add eit_vb section support

26 years agoAdd flag for delayed branches/jumps
Michael Meissner [Fri, 27 Feb 1998 19:17:55 +0000 (19:17 +0000)]
Add flag for delayed branches/jumps

26 years agoDelayed jsr instructions do not require padding to next long word boundary
Michael Meissner [Fri, 27 Feb 1998 19:15:38 +0000 (19:15 +0000)]
Delayed jsr instructions do not require padding to next long word boundary

26 years ago * sim-base.h (sim_cpu_base): New members name, options.
Doug Evans [Fri, 27 Feb 1998 18:39:22 +0000 (18:39 +0000)]
* sim-base.h (sim_cpu_base): New members name, options.
(sim_cpu_lookup): Add prototype.
* sim-module.c (sim_pre_argv_init): Provide default names for cpus.
* sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
(sim_add_option_table): Update prototype.
* sim-options.c (sim_add_option_table): New argument `cpu'.
(standard_option_handler,standard_install): Update.
(sim_parse_args): Handle cpu specific options.
(print_help): New static function.
(sim_print_help): Call it.  Print cpu specific options.
(find_match): New static function.
(sim_args_command): Call it.  Handle cpu specific options.
* sim-utils.c (sim_cpu_lookup): New function.
* sim-memopt.c (memory_option_handler): Update.
(sim_memopt_install): Update.
* sim-model.c (model_option_handler): Update.
(model_install): Update.
* sim-profile.c (profile_option_handler): Update.
(profile_install): Update.
* sim-trace.c (trace_option_handler): Update.
(trace_install): Update.
* sim-watch.c (watchpoint_option_handler): Update.
(sim_watchpoint_install): Update.
* cgen-scache.c (scache_option_handler): Update.
(scache_install): Update.

26 years ago * mloopx.in: Fix handling of branch in parallel with another insn.
Doug Evans [Fri, 27 Feb 1998 18:24:00 +0000 (18:24 +0000)]
* mloopx.in: Fix handling of branch in parallel with another insn.
* semx.c: Regenerate.

26 years ago * config/tc-dvp.c (assemble_vif): Insert cpu type marker before
Doug Evans [Fri, 27 Feb 1998 18:10:03 +0000 (18:10 +0000)]
* config/tc-dvp.c (assemble_vif): Insert cpu type marker before
inserted binary files.

26 years ago * dvp-opc.c (vif_operands): Add unpack[u] support.
Doug Evans [Fri, 27 Feb 1998 18:07:50 +0000 (18:07 +0000)]
* dvp-opc.c (vif_operands): Add unpack[u] support.
(vif_opcodes): Ditto.
(*_vif_imrubits): Renamed from *_vif_imrbits.

26 years ago * dvp.h (VIF_FLAG_U): New macro.
Doug Evans [Fri, 27 Feb 1998 18:03:11 +0000 (18:03 +0000)]
* dvp.h (VIF_FLAG_U): New macro.

26 years agofix
Angela Marie Thomas [Fri, 27 Feb 1998 10:26:19 +0000 (10:26 +0000)]
fix

26 years ago * config/tc-m32r.c (optimize): New static local.
Doug Evans [Wed, 25 Feb 1998 19:54:59 +0000 (19:54 +0000)]
* config/tc-m32r.c (optimize): New static local.
(md_shortopts): Add -O.
(md_parse_option): Recognize it.
(md_show_usage): Document it.
(md_assemble): Don't try to combine insns in parallel if !optimize.

26 years ago* PKE unit testing continuing. Confusion over PKE1 double-buffering
Frank Ch. Eigler [Wed, 25 Feb 1998 19:34:06 +0000 (19:34 +0000)]
* PKE unit testing continuing.  Confusion over PKE1 double-buffering
  mechanism is starting to subside.

* sky-pke.h (PKE_FLAG_INT_NOLOOP): Added device flag to indicate
  presence of stalled & interrupted PKEcode.

* sky-pke.c (pke_issue): Added PKEcode interrupt bit handling.
(pke_flip_dbf): Changed double-buffering logic to match SCEI
  clarification.
(pke_code_*): Added interrupt bit stalling clause.
(pke_code_pkems*): Added ITOP/ITOPS transmission code.
(pke_code_unpack): Added more careful logic for processing
  overflows of VU data memory addresses.

26 years ago* Enlarged PKE testing mini bucket. Not yet converted to dejagnu.
Frank Ch. Eigler [Wed, 25 Feb 1998 19:27:34 +0000 (19:27 +0000)]
* Enlarged PKE testing mini bucket.  Not yet converted to dejagnu.

26 years ago * Makefile.in (RUNTEST): Fix path to runtest.
Doug Evans [Wed, 25 Feb 1998 19:02:58 +0000 (19:02 +0000)]
* Makefile.in (RUNTEST): Fix path to runtest.

26 years agoFinish implementation of r5900 instructions.
Andrew Cagney [Wed, 25 Feb 1998 15:31:15 +0000 (15:31 +0000)]
Finish implementation of r5900 instructions.

26 years ago * Make-common.in (check): Run `make check' in testsuite dir.
Doug Evans [Wed, 25 Feb 1998 15:15:09 +0000 (15:15 +0000)]
* Make-common.in (check): Run `make check' in testsuite dir.

26 years agoExtend TRACE macros to include more cases.
Andrew Cagney [Wed, 25 Feb 1998 15:15:08 +0000 (15:15 +0000)]
Extend TRACE macros to include more cases.
Add MAX/MIN floating point functions.
Add max32, min32 floating point contstants.

26 years agoTest r5900 floating point instructions.
Andrew Cagney [Wed, 25 Feb 1998 15:04:11 +0000 (15:04 +0000)]
Test r5900 floating point instructions.

26 years ago * simops.c (signed multiply instructions): Cast input operands to
Jeff Law [Wed, 25 Feb 1998 08:58:23 +0000 (08:58 +0000)]
    * simops.c (signed multiply instructions): Cast input operands to
        signed32 before casting them to signed64 so that the sign bit
        is propagated properly.

26 years agodelete FIXME
Doug Evans [Wed, 25 Feb 1998 08:37:11 +0000 (08:37 +0000)]
delete FIXME

26 years ago * dvp-dis.c (print_insn): Handle word number.
Doug Evans [Wed, 25 Feb 1998 08:34:41 +0000 (08:34 +0000)]
    * dvp-dis.c (print_insn): Handle word number.
        Handle mips address vs vu address.
        * dvp-opc.c (vif_operands): Use DVP_OPERAND_VU_ADDRESS.
        (dma_operands): Use DVP_OPERAND_MIPS_ADDRESS.
        ({insert,extract}_dma_addr): Fix word ofset.
        ({insert,print}_gif_regs): Fix encode/decode.

26 years ago * dvp.h (DVP_OPERAND_MIPS_ADDRESS): Renamed from DVP_OPERAND_ADDRESS.
Doug Evans [Wed, 25 Feb 1998 08:26:52 +0000 (08:26 +0000)]
    * dvp.h (DVP_OPERAND_MIPS_ADDRESS): Renamed from DVP_OPERAND_ADDRESS.
        (DVP_OPERAND_VU_ADDRESS): New macro.
        (DVP_OPERAND_*): Renumber.

26 years ago * genmloop.sh (engine_resume): Update insn_count before exiting.
Doug Evans [Wed, 25 Feb 1998 08:25:11 +0000 (08:25 +0000)]
* genmloop.sh (engine_resume): Update insn_count before exiting.
(engine_resume_full): Keep accurate core profile data.
* cgen-utils.c (sim_disassemble_insn): Don't use
sim_core_read_aligned_N, it messes up profiling results.

26 years ago (profile_print_core): Simplify by calling sim_core_map_to_str.
Doug Evans [Wed, 25 Feb 1998 07:47:32 +0000 (07:47 +0000)]
(profile_print_core): Simplify by calling sim_core_map_to_str.
* sim-core.h (sim_core_map_to_str): Declare.
* sim-core.c (sim_core_map_to_str): Make non-static.

26 years ago (profile_print_core): Simplify by calling sim_core_map_to_str.
Doug Evans [Wed, 25 Feb 1998 07:36:23 +0000 (07:36 +0000)]
(profile_print_core): Simplify by calling sim_core_map_to_str.
* sim-core.h (sim_core_map_to_str): Declare.
* sim-core.c (sim_core_map_to_str): Make non-static.

26 years ago * sim-profile.c (profile_print): Delete duplicate test of
Doug Evans [Wed, 25 Feb 1998 07:16:09 +0000 (07:16 +0000)]
* sim-profile.c (profile_print): Delete duplicate test of
PROFILE_INSN_IDX.
(profile_print_pc): Exit early if data collection not set up.

26 years agoFix bug detected by Michael snyder.
Nick Clifton [Wed, 25 Feb 1998 02:05:09 +0000 (02:05 +0000)]
Fix bug detected by Michael snyder.

26 years ago* Unit testing of PKE sim continuing. Only minor VU addressing problems
Frank Ch. Eigler [Wed, 25 Feb 1998 01:13:05 +0000 (01:13 +0000)]
* Unit testing of PKE sim continuing.  Only minor VU addressing problems
  found today.

26 years ago (dma_opcodes): Add dmarefe insn.
Doug Evans [Wed, 25 Feb 1998 01:11:14 +0000 (01:11 +0000)]
(dma_opcodes): Add dmarefe insn.

26 years ago* Added test bucket directory for sky tests, which may be run in conjunction
Frank Ch. Eigler [Wed, 25 Feb 1998 01:08:47 +0000 (01:08 +0000)]
* Added test bucket directory for sky tests, which may be run in conjunction
  with the mips64r5900 tests.  It's all meant to be sanitized out without
  "keep-sky".

26 years ago (s_endgif): Update. NLOOP is in quadwords for IMAGE mode now.
Doug Evans [Wed, 25 Feb 1998 01:05:10 +0000 (01:05 +0000)]
(s_endgif): Update.  NLOOP is in quadwords for IMAGE mode now.

26 years ago (gif_regs): Add new register number/name changes.
Doug Evans [Wed, 25 Feb 1998 00:57:19 +0000 (00:57 +0000)]
(gif_regs): Add new register number/name changes.

26 years ago (gif_reg): Add recent register name/number changes.
Doug Evans [Wed, 25 Feb 1998 00:55:32 +0000 (00:55 +0000)]
(gif_reg): Add recent register name/number changes.

26 years ago* A bunch of changes which get us closer to running the sample.
Ian Carmichael [Tue, 24 Feb 1998 23:37:20 +0000 (23:37 +0000)]
* A bunch of changes which get us closer to running the sample.

26 years ago (print_gif): Fix word order.
Doug Evans [Tue, 24 Feb 1998 22:10:28 +0000 (22:10 +0000)]
(print_gif): Fix word order.

26 years ago (UNIQUE_LABEL_PREFIX): New macro.
Doug Evans [Tue, 24 Feb 1998 22:08:40 +0000 (22:08 +0000)]
(UNIQUE_LABEL_PREFIX): New macro.
(unique_label): Use it.
(assemble_gif): Emit start label before mach label.
(s_endgif): Update.

26 years ago * dvp-opc.c (gif_operands): Fix word order.
Doug Evans [Tue, 24 Feb 1998 21:56:44 +0000 (21:56 +0000)]
* dvp-opc.c (gif_operands): Fix word order.
(gif_opcodes): Likewise.
({insert,extract,print}_gif_regs): Likewise.

26 years ago(s_endgif): Change length mismatched errors to warnings.
Doug Evans [Tue, 24 Feb 1998 21:39:58 +0000 (21:39 +0000)]
(s_endgif): Change length mismatched errors to warnings.

26 years ago * arm-dis.c (print_insn_{big,little}_arm): info->symbol changed
Doug Evans [Tue, 24 Feb 1998 20:57:58 +0000 (20:57 +0000)]
* arm-dis.c (print_insn_{big,little}_arm): info->symbol changed
to *info->symbols.
* mips-dis.c (print_insn_{big,little}_mips): Likewise.
* tic30-dis.c (print_branch): Likewise.
start-sanitize-sky
* mips-dis.c (print_insn_little_mips): Call dvp_info_mach_type.
* dvp-dis.c (dvp_info_mach_type): New function.
(print_insn_dvp): Call it.
(print_vif): Return length of 4 if mpg or direct insn so following
insns get properly disabled.
* dvp-opc.c (vif_insn_len): New argument `pcpu'.  All callers updated.
end-sanitize-sky

26 years ago (create_colon_label): New argument `sto'. All callers updated.
Doug Evans [Tue, 24 Feb 1998 20:40:41 +0000 (20:40 +0000)]
(create_colon_label): New argument `sto'.  All callers updated.
(record_mach): New argument `force_next_p'.  All callers updated.
(cpu_sto): New function.

26 years agoChange from rth.
Jason Molenda [Tue, 24 Feb 1998 19:25:44 +0000 (19:25 +0000)]
Change from rth.

        * Makefile.in (BISON): Don't even pretend to use yacc.
        (c-exp.tab.o): Use bison -o to use a unique intermediate file.
        (jv-exp.tab.o, f-exp.tab.o, m2-exp.tab.o): Likewise.

26 years agoRemoved saved_symbol code as it is no longer needed.
Nick Clifton [Tue, 24 Feb 1998 19:23:07 +0000 (19:23 +0000)]
Removed saved_symbol code as it is no longer needed.

26 years agoFixed bug displaying symbols in big endian arms.
Nick Clifton [Tue, 24 Feb 1998 19:07:28 +0000 (19:07 +0000)]
Fixed bug displaying symbols in big endian arms.

26 years ago * config/tc-dvp.h (tc_frob_label): Define.
Doug Evans [Tue, 24 Feb 1998 19:04:22 +0000 (19:04 +0000)]
* config/tc-dvp.h (tc_frob_label): Define.
* config/tc-dvp.c (dvp_frob_label): New function.

26 years ago * dvp.h (dvp_cpu): Add DVP_UNKNOWN.
Doug Evans [Tue, 24 Feb 1998 18:46:29 +0000 (18:46 +0000)]
* dvp.h (dvp_cpu): Add DVP_UNKNOWN.
(vif_insn_len): Update prototype.

26 years ago * Makefile.in: Last change was bad. Define NL_TARGET
Mark Alexander [Tue, 24 Feb 1998 05:07:11 +0000 (05:07 +0000)]
* Makefile.in: Last change was bad.  Define NL_TARGET
so that targ-vals.h will be used instead of syscall.h.
* simops.c: Use targ-vals.h instead of syscall.h.
(OP_F020): Disable unsupported system calls.

26 years ago * nltvals.def: Regenerate with MN10300 additions.
Mark Alexander [Tue, 24 Feb 1998 05:00:53 +0000 (05:00 +0000)]
* nltvals.def: Regenerate with MN10300 additions.

26 years agoAdd tracing to r5900 p* instructions.
Andrew Cagney [Tue, 24 Feb 1998 03:42:27 +0000 (03:42 +0000)]
Add tracing to r5900 p* instructions.

26 years ago* PKE sim unit testing continuing. Starting to run milestone sample.
Frank Ch. Eigler [Tue, 24 Feb 1998 02:10:23 +0000 (02:10 +0000)]
* PKE sim unit testing continuing.  Starting to run milestone sample.

* sky-pke.h (PKE_MEM_READ): Removed "read" entry from FIFO trace.

* sky-pke.c (pke_attach): Set trace file to line buffering iff
  open.
(pke_io_read_buffer, pke_io_write_buffer): Handle erroneous
  reads/writes by zero-padding.
(pke_io_write_buffer): Switch to more bit-field definition macros.
(pke_issue): Remove "stalled" entry from FIFO trace.
(pke_pc_advance): Correct logic for DMA-tag-skipping, PKEcode
  classification.
(pke_code_mskpath3): Sketch of possible PATH3 masking method.
(pke_code_mpg): Keep order of lower/upper VU words as supplied.
(pke_code_unpack): Logic change for wl/cl/num unpacking.  Weird.

26 years ago * configure.in: Add elf.lo to elf shell variable.
Ian Lance Taylor [Tue, 24 Feb 1998 00:53:38 +0000 (00:53 +0000)]
* configure.in: Add elf.lo to elf shell variable.
* Makefile.am (BFD_LIBS): Remove elf.lo.
(BFD_LIBS_CFILES): Remove elf.c.
(BFD32_BACKENDS): Add elf.lo.
(BFD32_BACKENDS_CFILES): Add elf.c.
* configure, Makefile.in: Rebuild.

26 years ago * config/tc-dvp.c (assemble_dma): Do alignment before parsing insn.
Doug Evans [Tue, 24 Feb 1998 00:00:18 +0000 (00:00 +0000)]
* config/tc-dvp.c (assemble_dma): Do alignment before parsing insn.
(setup_dma_autocount): Renamed from setup_autocount.  New argument
inline_p.  All callers changed.  Fix word address of count.
(parse_dma_addr_autocount): Fix word address of address.

26 years ago(elf_i386_relocate_section): A pc-relative relocation against a
Ulrich Drepper [Mon, 23 Feb 1998 23:58:16 +0000 (23:58 +0000)]
(elf_i386_relocate_section): A pc-relative relocation against a
now-local symbol should not have a dynamic relocation.

26 years ago (dma_operands): Fix word numbers.
Doug Evans [Mon, 23 Feb 1998 23:56:04 +0000 (23:56 +0000)]
(dma_operands): Fix word numbers.
(dma_opcodes): Likewise.
({insert,extract}_dma_flags): Likewise.

26 years agoAdded sanitization for my latest changelog entry.
James Lemke [Mon, 23 Feb 1998 23:50:39 +0000 (23:50 +0000)]
Added sanitization for my latest changelog entry.

26 years agoMake it compile again for -DTARGET_SKY
Ron Unrau [Mon, 23 Feb 1998 23:40:40 +0000 (23:40 +0000)]
Make it compile again for -DTARGET_SKY

26 years ago * emultempl/pe.em (sort_sections): Permit the wildcard to include
Ian Lance Taylor [Mon, 23 Feb 1998 22:48:20 +0000 (22:48 +0000)]
* emultempl/pe.em (sort_sections): Permit the wildcard to include
a trailing '*' when sorting grouped sections.
* scripttempl/pe.sc: Include grouped sections using NAME\$*.  Only
include them when relocating.

26 years agoInstead of changing the names of .bss etc, add .vubss etc via
James Lemke [Mon, 23 Feb 1998 22:27:12 +0000 (22:27 +0000)]
Instead of changing the names of .bss etc, add .vubss etc via
the macro ELF_TC_SPECIAL_SECTIONS.  As per Ian's suggestion.

26 years ago * sim-main.h: #include symcat.h.
Doug Evans [Mon, 23 Feb 1998 21:36:15 +0000 (21:36 +0000)]
* sim-main.h: #include symcat.h.
* m32r-sim.h (BRANCH_NEW_PC): Delete current_cpu arg.
(NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros.
* cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
* sem.c,sem-switch.c: Regenerate.
* m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec.
* mloopx.in: Rewrite.
* cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.

26 years ago * cgen-sim.h (SEM_NEXT_PC): New arg `len'.
Doug Evans [Mon, 23 Feb 1998 21:28:14 +0000 (21:28 +0000)]
* cgen-sim.h (SEM_NEXT_PC): New arg `len'.

26 years ago * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.
Doug Evans [Mon, 23 Feb 1998 21:20:37 +0000 (21:20 +0000)]
* m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.

26 years ago * peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in
Ian Lance Taylor [Mon, 23 Feb 1998 21:18:30 +0000 (21:18 +0000)]
* peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in
COFF filehdr flags.
(pe_print_private_bfd_data): Print PE flags.  From Mikey
<jeffdb@netzone.com>.

26 years ago * cgen-asm.c: Include symcat.h.
Doug Evans [Mon, 23 Feb 1998 21:17:29 +0000 (21:17 +0000)]
* cgen-asm.c: Include symcat.h.
* cgen-dis.c,cgen-opc.c,cgen-asm.in,cgen-dis.in: Ditto.

26 years agoImplment backup PC shadowing of CR6.
Nick Clifton [Mon, 23 Feb 1998 20:31:19 +0000 (20:31 +0000)]
Implment backup PC shadowing of CR6.

26 years ago * Makefile.in (INSTALL_MODULES): Move install-tcl before
Ian Lance Taylor [Mon, 23 Feb 1998 19:46:52 +0000 (19:46 +0000)]
* Makefile.in (INSTALL_MODULES): Move install-tcl before
install-itcl.
(install-itcl): Remove dependency on install-tcl.

26 years ago * cgen.c: #include symcat.h.
Doug Evans [Mon, 23 Feb 1998 19:30:18 +0000 (19:30 +0000)]
* cgen.c: #include symcat.h.
* config/tc-m32r.c: Likewise.

26 years ago * cgen.h (CGEN_CAT3): Delete. Use CONCAT3 now.
Doug Evans [Mon, 23 Feb 1998 18:39:25 +0000 (18:39 +0000)]
* cgen.h (CGEN_CAT3): Delete.  Use CONCAT3 now.
(cgen_insn): Record syntax and format entries here, rather than
separately.

26 years ago * sim-xcat.h: Delete.
Doug Evans [Mon, 23 Feb 1998 18:21:14 +0000 (18:21 +0000)]
* sim-xcat.h: Delete.
* cgen-mem.h: Delete inclusion of sim-xcat.h.
* cgen-sim.h: Ditto.
* sim-alu.h: Replace sim-xcat.h with symcat.h.
* sim-n-bits.h: Ditto.
* sim-n-core.h: Ditto.
* sim-n-endian.h: Ditto.

26 years agoHandle short reads and EOF
Michael Meissner [Mon, 23 Feb 1998 18:21:13 +0000 (18:21 +0000)]
Handle short reads and EOF

26 years ago * configure.in: Remove libgloss from noconfigdirs for MN10300.
Mark Alexander [Mon, 23 Feb 1998 18:03:48 +0000 (18:03 +0000)]
* configure.in: Remove libgloss from noconfigdirs for MN10300.

26 years ago * dvp-opc.c (extra_dma_flags): Fix typos.
Doug Evans [Mon, 23 Feb 1998 17:53:31 +0000 (17:53 +0000)]
* dvp-opc.c (extra_dma_flags): Fix typos.

26 years ago * Makefile.in: Get header files from libgloss/mn10300/sys.
Mark Alexander [Mon, 23 Feb 1998 17:51:23 +0000 (17:51 +0000)]
* Makefile.in: Get header files from libgloss/mn10300/sys.

26 years ago * gas/mips/vr5400.s: Use absolute expression for performance
Jeff Law [Mon, 23 Feb 1998 17:35:44 +0000 (17:35 +0000)]
    * gas/mips/vr5400.s: Use absolute expression for performance
        register number.
        * gas/mips/vr5400.d: Corresponding changes.

        * gas/mips/r5900.s: Use absolute expression for performance
        register number.
        * gas/mips/r5900.d: Corresponding changes.

26 years ago * mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'.
Jeff Law [Mon, 23 Feb 1998 17:32:21 +0000 (17:32 +0000)]
    * mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'.

26 years ago * gas/mips/vr5400.s: Use absolute expression for performance
Jeff Law [Mon, 23 Feb 1998 17:29:31 +0000 (17:29 +0000)]
    * gas/mips/vr5400.s: Use absolute expression for performance
        register number.

        * gas/mips/r5900.s: Use absolute expression for performance
        register number.

26 years ago * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
Jeff Law [Mon, 23 Feb 1998 17:26:25 +0000 (17:26 +0000)]
    * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
        absolute expressions instead of '$' prefixed register names.

26 years ago * config/mn10300-eval.exp: New file to support MN10300 eval board.
Mark Alexander [Mon, 23 Feb 1998 17:01:02 +0000 (17:01 +0000)]
* config/mn10300-eval.exp: New file to support MN10300 eval board.

26 years agosim-main.h: Re-arange r5900 registers so that they have their own
Andrew Cagney [Mon, 23 Feb 1998 16:55:38 +0000 (16:55 +0000)]
sim-main.h: Re-arange r5900 registers so that they have their own
little struct.
interp.c: Update.  Also add floating point Max/Min functions.
mips.igen: Remove r5900 tag from any floating point instructions.
r5900.igen: Rewrite.  Implement *all* floating point insns (except ld/st).
r5400.igen: Tag mdmx functions as being mdmx specific.

26 years agoAdd tracing of booleans and addresses.
Andrew Cagney [Mon, 23 Feb 1998 16:43:34 +0000 (16:43 +0000)]
Add tracing of booleans and addresses.

26 years agoSpecify correct values for REGISTER_RAW_SIZE.
Andrew Cagney [Mon, 23 Feb 1998 16:40:34 +0000 (16:40 +0000)]
Specify correct values for REGISTER_RAW_SIZE.
If a SIM/GDB register size botch, warn the user once.

26 years agoGenerate ENGINE_ISSUE hooks as part of SMP simulator.
Andrew Cagney [Mon, 23 Feb 1998 14:43:13 +0000 (14:43 +0000)]
Generate ENGINE_ISSUE hooks as part of SMP simulator.

26 years ago * sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
Andrew Cagney [Mon, 23 Feb 1998 09:18:30 +0000 (09:18 +0000)]
    * sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
        (sim_fpu_fpto, sim_fpu_tofp): Define.

26 years ago * ld-insn.c (parse_function_record): When -Wnodiscard, suppress
Andrew Cagney [Mon, 23 Feb 1998 08:55:41 +0000 (08:55 +0000)]
    * ld-insn.c (parse_function_record): When -Wnodiscard, suppress
        discarded function warning.
        * igen.c (main): Clarify -Wnodiscard.
        * ld-insn.c (parse_function_record): For functions, allow use of
        instruction style function model records

26 years agoremove sparclinux.h
Ian Lance Taylor [Mon, 23 Feb 1998 04:53:58 +0000 (04:53 +0000)]
remove sparclinux.h

26 years ago* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
Richard Henderson [Mon, 23 Feb 1998 04:41:18 +0000 (04:41 +0000)]
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
a plt entry when we can determine that we authoritatively define
the symbol.

26 years ago* configure.in (COREFILE selection): Remove sparc-*-linux*. They
Richard Henderson [Mon, 23 Feb 1998 04:37:04 +0000 (04:37 +0000)]
* configure.in (COREFILE selection): Remove sparc-*-linux*.  They
don't actually use trad-core, but a SunOS-style core file handled
by gdb directly.
* hosts/sparclinux.h: Remove.

26 years agoKeep include/regs.
Andrew Cagney [Mon, 23 Feb 1998 00:06:33 +0000 (00:06 +0000)]
Keep include/regs.

26 years ago * simops.c: Include sim-types.h.
Jeff Law [Sun, 22 Feb 1998 22:59:43 +0000 (22:59 +0000)]
    * simops.c: Include sim-types.h.

26 years ago* read.c (s_set): Record file and line info for symbols when -as.
Richard Henderson [Sun, 22 Feb 1998 06:36:20 +0000 (06:36 +0000)]
* read.c (s_set): Record file and line info for symbols when -as.
(pseudo_set): Don't overwrite that dummy fragment.

PR 14986

26 years ago (vu_count): New static local.
Doug Evans [Sat, 21 Feb 1998 07:44:25 +0000 (07:44 +0000)]
(vu_count): New static local.
(assemble_vif): Temporary hack to properly align mpg/direct data.
(assemble_vu): Insert mpg every 256 insns.

26 years agotc-dvp.c (cur_mach): New static local.
Doug Evans [Sat, 21 Feb 1998 06:28:46 +0000 (06:28 +0000)]
tc-dvp.c (cur_mach): New static local.
(record_mach): New function.
(md_begin): Initialize `cur_mach'.
(assemble_*): Record current mach type.

26 years ago (cur_mach): New static local.
Doug Evans [Sat, 21 Feb 1998 06:28:18 +0000 (06:28 +0000)]
(cur_mach): New static local.
(record_mach): New function.
(md_begin): Initialize `cur_mach'.
(assemble_*): Record current mach type.

26 years ago (extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
Doug Evans [Sat, 21 Feb 1998 06:26:41 +0000 (06:26 +0000)]
(extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
(vif_insn_len): Handle `unpack'.
({insert,extract}_dma_flags): Complete.