deliverable/binutils-gdb.git
26 years agoSanitize away vu0 stuff unless --keep-r5900.
Jeff Law [Fri, 20 Mar 1998 22:56:01 +0000 (22:56 +0000)] 
Sanitize away vu0 stuff unless --keep-r5900.

26 years agoAdded DMAC unit test cases.
James Lemke [Fri, 20 Mar 1998 22:51:39 +0000 (22:51 +0000)] 
Added DMAC unit test cases.

26 years ago* Monster bug fixes & improvements from the last two days' demo-testing work.
Frank Ch. Eigler [Fri, 20 Mar 1998 22:12:06 +0000 (22:12 +0000)] 
* Monster bug fixes & improvements from the last two days' demo-testing work.

* sky-pke.h (pke_fifo*): Exported these formerly private functions.
(pke_device): Added FIFO cache fields.

* sky-pke.c (pke_fifo_reset): New function for GPUIF client -
  clear FIFO contents.
(pke_pcrel_fifo): Added caching facility to prevent O(n^2) cost for
searching for consecutive operand words.

* sky-libvpe.c (MEM, uMEM): New/changed macros that perform modulo
  calculations to handle out-of-range VU memory addresses.
(*): Replaced many previous uses of MEM[] and state->uMEM[] with
calls to above macros.

* sky-vu.h (struct VectorUnitState): Added qw/dw size fields for
MEM/uMEM buffers, for overflow prevention.  Renamed MEM/uMEM fields
to catch all their prior users.

* sky-vu0.c (vu0_attach): Manually align MEM0/MEM1 buffers to force
16-byte alignment.  (zalloc is not enough.)

* sky-vu1.c (vu1_attach): Ditto.
(init_vu): Store buffer sizes from allocation into VectorUnitState.

* sky-gpuif.h (GifPath): Use a pke_fifo strucf instead of
  temporary fixed-size array for flexible FIFO sizing.

* sky-gpuif.c (SKY_GPU2_REFRESH): This is now an integer value to be
used as a modulus for periodic refresh.
(refresh): New function to send GPU2 refresh code periodically.
(*): Use pke_fifo calls to en/dequeue GPUIF tags & operands.

* sky-pke.h (struct pke_device): Added fields to allow caching of
  results from recent FIFO searches.

26 years agoFixes for PR15358 and 15373
Nick Clifton [Fri, 20 Mar 1998 19:28:48 +0000 (19:28 +0000)] 
Fixes for PR15358 and 15373

26 years ago * config/tc-mips.c: Change '%' to '#' in r5900 code to avoid conflict
Jeff Law [Fri, 20 Mar 1998 16:04:15 +0000 (16:04 +0000)] 
    * config/tc-mips.c: Change '%' to '#' in r5900 code to avoid conflict
        with vr5400 support.

26 years ago * mips-dis.c: Change '%' to '#' to avoid conflict with vr5400
Jeff Law [Fri, 20 Mar 1998 16:01:43 +0000 (16:01 +0000)] 
    * mips-dis.c: Change '%' to '#' to avoid conflict with vr5400
        support.
        * vu0.h: Likewise.

26 years ago * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert
Richard Henderson [Fri, 20 Mar 1998 10:28:55 +0000 (10:28 +0000)] 
    * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert
        part of Feb 22 change controling when to override the existing
        symbol with the .plt entry.

26 years agoAdd builtin explicitly sized 8, 16, 32, 64 and 128 bit int and
Andrew Cagney [Fri, 20 Mar 1998 07:50:33 +0000 (07:50 +0000)] 
Add builtin explicitly sized 8, 16, 32, 64 and 128 bit int and
unsigned types.
Specify size of r5900 FSR using 32 bit unsigned type.
Correctly format mips registers when some are not 64 bits in size
Check that REGISTER_{RAW,VIRTUAL}_SIZE are consistent when the target
specifies that no conversion is needed when moving from one to the
other.

26 years agoFix for PR15358 (out of range PC relative branches not being caught)
Nick Clifton [Fri, 20 Mar 1998 00:09:24 +0000 (00:09 +0000)] 
Fix for PR15358 (out of range PC relative branches not being caught)
submitted by Jonathan Walton, c/o Tony Thompson at ARM.

26 years agoPatches for PR15356 courtesy of Tony Thompson at ARM.
Nick Clifton [Thu, 19 Mar 1998 23:51:18 +0000 (23:51 +0000)] 
Patches for PR15356 courtesy of Tony Thompson at ARM.

26 years agoThu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 19 Mar 1998 23:04:54 +0000 (23:04 +0000)] 
Thu Mar 19 14:54:45 1998  Geoffrey Noer  <noer@cygnus.com>

        * scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy
        section to avoid copying certain data on fork.  The linker used to
        include this between __data_start__ and __data_end__, but that
        breaks building the cygwin32 dll.  The fix is to rename the
        section ".data_cygwin_nocopy" and explictly include it after
        __data_end__.

26 years ago * config/tc-mips.c (mips_ip): Handle opcodes which have the form
Jeff Law [Thu, 19 Mar 1998 21:28:24 +0000 (21:28 +0000)] 
    * config/tc-mips.c (mips_ip): Handle opcodes which have the form
        "name.completer" where only the name is actually in the opcode
        table.  Allow various operands for base register in load/store
        instructions.  Handle various new argument characters for the
        cop2/vu0 co-processor.

26 years ago * gas/mips/vu0.s, gas/mips/vu0.d: New testfiles.
Jeff Law [Thu, 19 Mar 1998 21:16:39 +0000 (21:16 +0000)] 
    * gas/mips/vu0.s, gas/mips/vu0.d: New testfiles.
        * gas/mips/mips.exp: Run vu0 tests.

26 years ago * vu0.h: New file with cop2/vu0 instructions.
Jeff Law [Thu, 19 Mar 1998 21:05:23 +0000 (21:05 +0000)] 
    * vu0.h: New file with cop2/vu0 instructions.
        * mips-opc.c: Include vu0.h.
        * mips-dis.c (print_insn_arg): Handle new args 0-9, +, -, %, K, &,
        J, Q, X, and U.
        (print_insn_mips): Do not emit a tab after an instruction if the
        first arg is an instruction completer (&).  If the next arg is an
        escape character (%), then print the next arg verbatim.
        * Makefile.am (mips-opc.lo): Depend on vu0.h

26 years agoThu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Thu, 19 Mar 1998 19:35:18 +0000 (19:35 +0000)] 
Thu Mar 19 11:32:15 1998  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * minsyms.c (compare_minimal_symbols): If addresses are identical,
        then compare on names.  Sorted list should have symbols with
        identical addresses AND names adjacent, so dups can be discarded.

26 years ago * dvp-opc.c (vif_opcodes): Add stcycl.
Doug Evans [Thu, 19 Mar 1998 18:51:46 +0000 (18:51 +0000)] 
* dvp-opc.c (vif_opcodes): Add stcycl.

26 years ago * gas/dvp/vif-1.[sd]: stcycle -> stcycl.
Doug Evans [Thu, 19 Mar 1998 18:51:19 +0000 (18:51 +0000)] 
* gas/dvp/vif-1.[sd]: stcycle -> stcycl.

26 years ago * stabsread.c (define_symbol): Don't look for ',' as a LRS
Jeff Law [Thu, 19 Mar 1998 04:47:59 +0000 (04:47 +0000)] 
    * stabsread.c (define_symbol): Don't look for ',' as a LRS
        indicator.

26 years ago* Changes today consist just of some code hardening.
Frank Ch. Eigler [Wed, 18 Mar 1998 19:33:33 +0000 (19:33 +0000)] 
* Changes today consist just of some code hardening.

26 years ago* Added forced 16-byte alignment to a sky-only (tc-dvp) assembler
Frank Ch. Eigler [Wed, 18 Mar 1998 19:02:00 +0000 (19:02 +0000)] 
* Added forced 16-byte alignment to a sky-only (tc-dvp) assembler
  pseudo-op: `.dmadata'.

26 years agoChange type of sys_errlist[] to match definition in /usr/include/errno.h
Nick Clifton [Wed, 18 Mar 1998 18:36:48 +0000 (18:36 +0000)] 
Change type of sys_errlist[] to match definition in /usr/include/errno.h

26 years agoAdd thumb-pe target.
Nick Clifton [Wed, 18 Mar 1998 17:42:51 +0000 (17:42 +0000)] 
Add thumb-pe target.

26 years agoAdd thumb-pe target.
Nick Clifton [Wed, 18 Mar 1998 17:31:54 +0000 (17:31 +0000)] 
Add thumb-pe target.

26 years agoAdd thumb-pe support
Nick Clifton [Wed, 18 Mar 1998 17:28:50 +0000 (17:28 +0000)] 
Add thumb-pe support

26 years agoAdd thumb-pe target.
Nick Clifton [Wed, 18 Mar 1998 17:25:57 +0000 (17:25 +0000)] 
Add thumb-pe target.

26 years agoPrototype common device framework. Plenty more work to go.
Andrew Cagney [Wed, 18 Mar 1998 04:08:21 +0000 (04:08 +0000)] 
Prototype common device framework.  Plenty more work to go.

26 years ago* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
Andrew Cagney [Wed, 18 Mar 1998 02:07:56 +0000 (02:07 +0000)] 
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
sim_dv_src in Makefile. Take list of devices as parameter to m4
macro..
* configure: Regenerated to track ../common/aclocal.m4 changes.

26 years agoTue Mar 17 17:02:00 PST 1998 Syd Polk <spolk@cygnus.com>
Syd Polk [Wed, 18 Mar 1998 01:05:50 +0000 (01:05 +0000)] 
Tue Mar 17 17:02:00 PST 1998 Syd Polk <spolk@cygnus.com>

* configure.in Makefile.in
Changed "sn" to "snavigator"

26 years ago* Added --with-sim-gpu2=<path> option for linking SCEI's GPU2 library with
Frank Ch. Eigler [Wed, 18 Mar 1998 00:20:40 +0000 (00:20 +0000)] 
* Added --with-sim-gpu2=<path> option for linking SCEI's GPU2 library with
  the stand-alone executable.

[in ChangeLog.sky:]

* sky-gpuif.c (call_gs): Call properly into GPU2 library if
  configured --with-sim-gpu2.  Use SKY_GPU2_REFRESH symbol as
  placeholder for future GPU2-refresh policy.

[in ChangeLog:]

* Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added
  configurable settings for stand-alone simulator.

start-sanitize-sky
* configure.in: Added --with-sim-gpu2 option to specify path of
  sky GPU2 library.  Triggers -DSKY_GPU2 for sky-gpuif.c, and
  links/compiles stand-alone simulator with this library.

* interp.c (MEM_SIZE): Increased default sky memory size to 16MB.
end-sanitize-sky

* configure.in: Added X11 search, just in case.

* configure: Regenerated.

26 years ago * config/tc-dvp.c (s_enddmadata): Always fill dma data out to 16
Doug Evans [Tue, 17 Mar 1998 22:19:12 +0000 (22:19 +0000)] 
* config/tc-dvp.c (s_enddmadata): Always fill dma data out to 16
byte boundary.

26 years ago * config/tc-dvp.h (TC_START_LABEL): Define.
Doug Evans [Tue, 17 Mar 1998 22:10:10 +0000 (22:10 +0000)] 
* config/tc-dvp.h (TC_START_LABEL): Define.
* config/tc-dvp.c (force_mach_label): New function.
(md_begin,create_colon_label,s_dmadata): Use it.

26 years ago * gas/dvp/dma-[12].[sd]: New testcases.
Doug Evans [Tue, 17 Mar 1998 22:04:22 +0000 (22:04 +0000)] 
* gas/dvp/dma-[12].[sd]: New testcases.
* gas/dvp/dvp.exp: Run them.

26 years ago* itbl-lex.l (yywrap): Don't define if already defined as a macro.
Ken Raeburn [Tue, 17 Mar 1998 22:01:10 +0000 (22:01 +0000)] 
* itbl-lex.l (yywrap): Don't define if already defined as a macro.

26 years ago * dvp-dis.c (print_dma): Change length from 16 to 8.
Doug Evans [Tue, 17 Mar 1998 21:28:32 +0000 (21:28 +0000)] 
* dvp-dis.c (print_dma): Change length from 16 to 8.

26 years ago* Added "t-pke4" test case that I forgot to check in when it was created.
Frank Ch. Eigler [Tue, 17 Mar 1998 20:49:50 +0000 (20:49 +0000)] 
* Added "t-pke4" test case that I forgot to check in when it was created.

26 years ago* Added the "c_gen.pl" perl script into this directory, so the current
Frank Ch. Eigler [Tue, 17 Mar 1998 20:47:03 +0000 (20:47 +0000)] 
* Added the "c_gen.pl" perl script into this directory, so the current
  bunch of tests may be run on non-Toronto hosts.

26 years ago * config/tc-dvp.c (md_begin): Turn dma/vif packing on by default.
Doug Evans [Tue, 17 Mar 1998 18:51:57 +0000 (18:51 +0000)] 
* config/tc-dvp.c (md_begin): Turn dma/vif packing on by default.
(assemble_dma): Only output 8 bytes for actual dma insn if dma/vif
packing is enabled.  Emit VIF cpu marker after dma insn.

26 years agoalways keep SH4 support now (& remove an unused variable decl)
Stan Shebs [Tue, 17 Mar 1998 01:09:27 +0000 (01:09 +0000)] 
always keep SH4 support now (& remove an unused variable decl)

26 years ago* Some changes in PKE tests, as per SCEI e-mail. t-pke1 still fails, but
Frank Ch. Eigler [Tue, 17 Mar 1998 00:07:19 +0000 (00:07 +0000)] 
* Some changes in PKE tests, as per SCEI e-mail.  t-pke1 still fails, but
  will ignore this until next SCEI clarification.

* tsv308_1.trc: Fixed test case as per SCEI email.
* tsv316_1.trc: Ditto.
* tsv408_1.trc: Same.
* tsv416_1.trc: Again.
* t-pke3.trc: Added more padding to one VU test to widen timing race.

26 years agoimport rth alphapca56, alphaev6 fix from egcs
Ken Raeburn [Mon, 16 Mar 1998 21:30:04 +0000 (21:30 +0000)] 
import rth alphapca56, alphaev6 fix from egcs

26 years agoMust have copied the wrong message when creating this file...
Jeff Law [Mon, 16 Mar 1998 19:07:02 +0000 (19:07 +0000)] 
Must have copied the wrong message when creating this file...

26 years ago * config/tc-dvp.c (md_pseudo_table): Make .quad 16 bytes.
Doug Evans [Mon, 16 Mar 1998 18:22:18 +0000 (18:22 +0000)] 
* config/tc-dvp.c (md_pseudo_table): Make .quad 16 bytes.

26 years agoPass sim_cia cia into trace_prefix()
Andrew Cagney [Mon, 16 Mar 1998 03:44:33 +0000 (03:44 +0000)] 
Pass sim_cia cia into trace_prefix()

26 years agom32r-opc.h: Regenerate.
Doug Evans [Sun, 15 Mar 1998 09:19:59 +0000 (09:19 +0000)] 
m32r-opc.h: Regenerate.

26 years ago * config.in (HAVE_FCNTL_H): Add.
Doug Evans [Sun, 15 Mar 1998 05:15:18 +0000 (05:15 +0000)] 
* config.in (HAVE_FCNTL_H): Add.
* configure: Regenerate.
* Makefile.in (SIM_OBJS): Add devices.o.
* m32r-sim.h (m32r_devices): Renamed from m32r_mspr_device.
(UART_*): Define m32r serial port parameters.
(M32R_DEVICE_ADDR,M32R_DEVICE_LEN): Define.
* m32r.c (device_io_{read,write}_buffer,device_error): Move from here,
* devices.c: To here.
* sim-if.c: Don't include signal.h,sim-core.h.
(sim_open): Use M32R_DEVICE_{ADDR,LEN} in sim_core_attach call.
(sim_resume): Call sim_module_{resume,suspend}.
* m32r.c (m32r_h_cr_{get,set}): Use register number enums.

* tconfig.in (SIM_HANDLES_LMA): Define.

* sim-if.c (do_trap): Result is new pc.
Handle --environment=operating.
* sem-switch.c,sem.c: Regenerate.
start-sanitize-m32rx
* semx.c: Regenerate.
end-sanitize-m32rx

26 years ago * dv-sockser.c, dv-sockser.h: New files.
Doug Evans [Sun, 15 Mar 1998 02:43:00 +0000 (02:43 +0000)] 
* dv-sockser.c, dv-sockser.h: New files.
* Make-common.in (dv-sockser.o): Add rule for.
* aclocal.m4: Check for fcntl.h.
* config.h: Add HAVE_FCNTL_H.

* sim-break.c (remove_breakpoint): Fix thinko.

* sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.

26 years ago* Added "test0" test bucket from SCEI. Due to changes in the behavior specs
Frank Ch. Eigler [Sat, 14 Mar 1998 01:51:03 +0000 (01:51 +0000)] 
* Added "test0" test bucket from SCEI.  Due to changes in the behavior specs
  of PKE, some old test cases had to be modified.  There are suspected bugs
  in the SCEI test cases too, so "make check" does not run cleanly at present.

* tss*.trc: New files, generated by perl script from
SCEI "test0" bucket.

* tsv*.trc: New files, generated by perl script from SCEI "test0"
  bucket.  Note that tsv432_0 may obsolete t-pke1.

* Makefile.in (TESTS): Run new scripts.
(check): Bulldoze through failing test cases with "make -k" until
  SCEI fixes some of them.
(.run.ok): Increased run-time limit since some test runs can take
  several seconds.

26 years ago* PKE testing was driven by SCEI "test0" bucket; code coverage remains
Frank Ch. Eigler [Sat, 14 Mar 1998 01:47:06 +0000 (01:47 +0000)] 
* PKE testing was driven by SCEI "test0" bucket; code coverage remains
  effectively full.  The code is believed to be functionally complete now.
  Some code cleanup is included at no extra charge in this version.

Fri Mar 13 20:21:57 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-vu1.c: (dump_mem): Commented out function to satiate
  warning-ful compilation.

* sky-pke.c: (pke_reset): New function, called explicitly at
  initialization and at FBRST.
(pke_fifo_flush): New function to flush (skip over) existing
  quadwords in FIFO.
(pke_fifo_fit): New function to add space for new quadword in
  FIFO.
(pke_fifo_access): New function to absolute-index into FIFO.
(pke_fifo_old): New function to remove old quadwords from FIFO.
(pke_begin_interrupt_stall): New function to abstract
  interrupt-caused stalls.
(pke_*): Access PKE FIFO only thorugh pke_fifo functions.
(pke_pcrel_*): Renamed pke_pc_* functions.
(pke_code_unpack): Numerous logic tweaks for latest UNPACK
  behavior changes & clarifications from SCEI.

* sky-pke.h (struct pke_fifo): New explicit FIFO representation.
(struct pke_device): Use struct above.
(PKE_DEBUG): Removed macro as misnomer.

* sky-hardware.c: Moved *_cmd_install declarations out.

* sky-hardware.h: Moved *_cmd_install declarations in.

26 years agoMerged recent change from rembrandt branch
Tom Tromey [Sat, 14 Mar 1998 00:27:43 +0000 (00:27 +0000)] 
Merged recent change from rembrandt branch

* depend.c (quote_string_for_make): New function.
(wrap_output): Use it.

26 years agoFri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Fri, 13 Mar 1998 23:45:51 +0000 (23:45 +0000)] 
Fri Mar 13 15:43:53 1998  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

        * config/mips/xm-mips.h (CC_HAS_LONG_LONG):  Undefine for Ultrix
        when compiling with native cc, the compiler has broken long long
        support.

26 years agoFri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Fri, 13 Mar 1998 23:43:05 +0000 (23:43 +0000)] 
Fri Mar 13 15:37:02 1998  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

        * config/m68k/xm-sun3os4.h:  Remove malloc declarations, they
        are handled via autoconf now.
        * remote.c (remote_ops, extended_remote_ops):  Replace static
        forward declaration by moving the static definition to the top of
        the file, for old K&R compilers.
        * tracepoint.c (collect_symbol, trace_start_command):
        Replace ANSI string concatenation with K&R compatible simple string.

26 years ago * gdb.asm/{Makefile.in,configure.in,configure}: New files.
Doug Evans [Fri, 13 Mar 1998 22:43:18 +0000 (22:43 +0000)] 
* gdb.asm/{Makefile.in,configure.in,configure}: New files.
* gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.

26 years ago * sim-base.h (struct sim_state_base): Add prog_syms and
Fred Fish [Fri, 13 Mar 1998 20:39:00 +0000 (20:39 +0000)] 
* sim-base.h (struct sim_state_base): Add prog_syms and
define macro STATE_PROG_SYMS.
* sim-trace.c (trace_one_insn): Add variables abfd, symsize,
symbol_count, and asymbols.  Call bfd_get_symtab_upper_bound
and bfd_canonicalize_symtab, to get symbol table on first use
and preserve it via STATE_PROG_SYMS for future calls to
bfd_find_nearest_line.

26 years agomassive sanitization fixes
Angela Marie Thomas [Fri, 13 Mar 1998 13:09:32 +0000 (13:09 +0000)] 
massive sanitization fixes

26 years agonew .Sanitize files
Angela Marie Thomas [Fri, 13 Mar 1998 11:03:37 +0000 (11:03 +0000)] 
new .Sanitize files

26 years agosnapshot
Doug Evans [Fri, 13 Mar 1998 01:36:59 +0000 (01:36 +0000)] 
snapshot

26 years agoregenerate
Doug Evans [Fri, 13 Mar 1998 00:36:03 +0000 (00:36 +0000)] 
regenerate

26 years agoconfigure script for gdb.asm, initial source debugging test.
Doug Evans [Fri, 13 Mar 1998 00:35:09 +0000 (00:35 +0000)] 
configure script for gdb.asm, initial source debugging test.

26 years agoMakefile.in for gdb.asm.
Doug Evans [Fri, 13 Mar 1998 00:28:30 +0000 (00:28 +0000)] 
Makefile.in for gdb.asm.

26 years ago * gdb.asm: New directory.
Doug Evans [Fri, 13 Mar 1998 00:25:36 +0000 (00:25 +0000)] 
* gdb.asm: New directory.
* configure.in: Configure it.
* configure: Regenerate.

26 years agokeep gdb.asm
Doug Evans [Fri, 13 Mar 1998 00:22:00 +0000 (00:22 +0000)] 
keep gdb.asm

26 years ago * config/tc-dvp.h (TC_FIX_TYPE,TC_INIT_FIX_DATA): Define.
Doug Evans [Fri, 13 Mar 1998 00:17:35 +0000 (00:17 +0000)] 
* config/tc-dvp.h (TC_FIX_TYPE,TC_INIT_FIX_DATA): Define.
* config/tc-dvp.c (compute_nloop,check_nloop): New functions.
(gif_insn_frag_loc): New static global.
(assemble_gif): Record frag and location frag of insn.
(md_apply_fix3): Validate user specified nloop if we couldn't do
it earlier.
(s_endgif): Queue fixup to install nloop if we can't compute it here.

26 years ago * dvp-opc.c (print_dest1): Print dest spec again.
Doug Evans [Thu, 12 Mar 1998 17:23:22 +0000 (17:23 +0000)] 
* dvp-opc.c (print_dest1): Print dest spec again.
(print_vfreg,print_accdest): Likewise.

26 years agoSanity for 4320
Gavin Romig-Koch [Wed, 11 Mar 1998 17:05:20 +0000 (17:05 +0000)] 
Sanity for 4320

26 years agoAllow more than just read, write and exec memory spaces in the core
Andrew Cagney [Wed, 11 Mar 1998 12:18:39 +0000 (12:18 +0000)] 
Allow more than just read, write and exec memory spaces in the core
module.

26 years ago* sky-gdb.c (vu_option_handler): Delete unused local unit.
Andrew Cagney [Wed, 11 Mar 1998 11:57:55 +0000 (11:57 +0000)] 
* sky-gdb.c (vu_option_handler): Delete unused local unit.
(log_option_handler): Delete extra arg from printf, twice.
* sky-pke.c (config.h): Include.
(string.h, strings.h): Include.
(pke_issue): Delete unused locals imm, num
* sky-libvpe.c: Pacify GCC.
* sky-gpuif.c (gif_io_write_buffer): Pacify GCC.
* sky-dma.c (config.h): Include.
(string.h, strings.h): Include.
(dma_io_read_buffer): Pacify GCC.
(dma_io_write_buffer): Pacify GCC.  Initialize pmem before first use.
(do_dma_transfer): Delete unused local variables qwbuf and local.

26 years ago * configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.
Gavin Romig-Koch [Tue, 10 Mar 1998 21:21:20 +0000 (21:21 +0000)] 
* configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.

26 years ago * mips-opc.c ("clz","dclz"): Added the 4320 versions.
Gavin Romig-Koch [Tue, 10 Mar 1998 21:01:43 +0000 (21:01 +0000)] 
* mips-opc.c ("clz","dclz"): Added the 4320 versions.

26 years ago * vr4320.igen (clz,dclz) : Added.
Gavin Romig-Koch [Tue, 10 Mar 1998 15:37:24 +0000 (15:37 +0000)] 
* vr4320.igen (clz,dclz) : Added.
(dmac): Replaced 99, with LO.

26 years agoDelete function sim_stop.
Andrew Cagney [Tue, 10 Mar 1998 05:05:44 +0000 (05:05 +0000)] 
Delete function sim_stop.

26 years agoremove whitespace triggering Sanitize bug
Ken Raeburn [Mon, 9 Mar 1998 21:51:09 +0000 (21:51 +0000)] 
remove whitespace triggering Sanitize bug

26 years ago * sim-base.h (sim_state_base): New member environment.
Doug Evans [Mon, 9 Mar 1998 21:04:28 +0000 (21:04 +0000)] 
* sim-base.h (sim_state_base): New member environment.
(STATE_ENVIRONMENT): New macro.
* sim-config.c (current_environment): Delete.
(sim_config_default): New function.
(sim_config): Set STATE_ENVIRONMENT, not current_environment.
* sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
(sim_config_default): Add prototype.
* sim-module.c (sim_pre_argv_init): Call sim_config_default.
* sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
Set STATE_ENVIRONMENT, not current_environment.

26 years ago * mips-opc.c ("macc*","mul*"): Added the 4320 versions
Gavin Romig-Koch [Mon, 9 Mar 1998 20:26:37 +0000 (20:26 +0000)] 
* mips-opc.c ("macc*","mul*"): Added the 4320 versions
of these.

26 years ago * mips/vr4320.igen: Mark the insn in here as vr4320 only.
Gavin Romig-Koch [Mon, 9 Mar 1998 20:22:45 +0000 (20:22 +0000)] 
* mips/vr4320.igen: Mark the insn in here as vr4320 only.
Reorder the insns.

26 years agoPatch to fix irix6-x-mips64-elf simulator failures.
Jim Wilson [Mon, 9 Mar 1998 19:59:52 +0000 (19:59 +0000)] 
Patch to fix irix6-x-mips64-elf simulator failures.
* sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.

26 years ago (insert_mpg_marker): New function.
Doug Evans [Sat, 7 Mar 1998 03:22:18 +0000 (03:22 +0000)] 
(insert_mpg_marker): New function.
(insert_file): New args insert_marker, size.  All callers updated.
(assemble_vif): Rewrite varlen insn handling.
(assemble_vu): Call insert_mpg_marker when 256th insn reached.
(s_enddirect,s_endunpack): Rename arg to internal_p.

26 years ago (install_vif_length): Second pass at unpack len calcs.
Doug Evans [Sat, 7 Mar 1998 01:43:32 +0000 (01:43 +0000)] 
(install_vif_length): Second pass at unpack len calcs.
(s_endunpack): Round data up to word boundary.

26 years ago* dvp-dis.c (print_insn): Print unsigned values in hex.
Doug Evans [Sat, 7 Mar 1998 01:41:44 +0000 (01:41 +0000)] 
* dvp-dis.c (print_insn): Print unsigned values in hex.
* dvp-opc.c (insert_vif_wlcl,extract_vif_wlcl): New functions.
(vif_operands): Use them for wl,cl fields.
(state_vif_wl,state_vif_cl): New static locals.
(parse_vif_mode): Handle numeric args.
(vif_unpack_len_value,vif_unpack_len): New functions.
(vif_insn_len): Call vif_unpack_len.

26 years agoRemove SH4 sanitation.
Joern Rennecke [Sat, 7 Mar 1998 00:56:05 +0000 (00:56 +0000)] 
Remove SH4 sanitation.

26 years agoRemove SH4 sanitation.
Joern Rennecke [Sat, 7 Mar 1998 00:41:39 +0000 (00:41 +0000)] 
Remove SH4 sanitation.

26 years agoRemove SH4 sanitation.
Joern Rennecke [Sat, 7 Mar 1998 00:31:19 +0000 (00:31 +0000)] 
Remove SH4 sanitation.

26 years ago* Numerous changes & small bug fixes in PKE sim code and test suite.
Frank Ch. Eigler [Fri, 6 Mar 1998 22:46:40 +0000 (22:46 +0000)] 
* Numerous changes & small bug fixes in PKE sim code and test suite.

  for sim/testsuite/sky:

* t-pke4.run: Removed test, since it succeeds yet returns a
  non-zero exit code.

* Makefile.in (RUNOPTS): Removed --memory-size flag, made
  unnecessary by sim/mips/interp.c changes.
(TESTS): Removed t-pke4.ok target.

* t-pke3.trc: Classified tests with [---] indicators, to match
  items up with entries documented in testplan.sgml.  Added numerous
  additional tests.  They assert behavior that assumes certain
  favorable answers to PKE question set #6 to SCEI.

* t-pke1.trc: Added some [---] indicators.

  for sim/mips:

* sky-pke.c (pke_issue): Revamped interrupt & stall code.  Assume
  that ER1/ER0/PIS bits are only set if not masked by ERR bits.
   Signal PIS only if unmasked.
(pke_code_error): Signal ER1 only if unmasked.
(pke_pc_fifo): Signal ER0 only if unmasked.
(pke_code_unpack): Round up num_operands for last operand's
  partial-word.  Factor out "R" bit handling for better coverage
  analysis.  Fill upper words of a quadword with zeroes for Vn_m
  UNPACK with n < 4.

* sky-device.c (device_error): Made function accept varargs.

* sky-device.h (device_error): Changed declaration to match.

* interp.c (sim_open): Made 0x0000 area memory be an alias of
the K0/K1 segments.  Sanitized code.

26 years agoScrap the un-needed vr4111 stuff.
Gavin Romig-Koch [Fri, 6 Mar 1998 21:22:59 +0000 (21:22 +0000)] 
Scrap the un-needed vr4111 stuff.

26 years ago * gas/dvp/vif-2.[sd]: New testcases.
Doug Evans [Fri, 6 Mar 1998 20:54:22 +0000 (20:54 +0000)] 
* gas/dvp/vif-2.[sd]: New testcases.

26 years agoPR 15068
Fred Fish [Fri, 6 Mar 1998 20:38:45 +0000 (20:38 +0000)] 
PR 15068
* utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than
  SERIAL_FLUSH_OUTPUT.
* serial.h (struct serial_ops): Add drain_output, pointer to
  function that waits for output to drain.
(SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain.
* ser-unix.c (hardwire_drain_output): New function and prototype.

* ser-unix.c (hardwire_ops): Add entry for drain_output function.
* ser-tcp.c (tcp_ops): Ditto.
* ser-ocd.c (ocd_ops): Ditto.
* ser-mac.c (mac_ops): Ditto.
* ser-go32.c (dos_ops): Ditto.
* ser-e7kpc.c (e7000pc_ops): Ditto.

26 years ago * config/tc-dvp.c (s_endgif): Fix nloop calc and test. Warn if
Doug Evans [Fri, 6 Mar 1998 19:40:53 +0000 (19:40 +0000)] 
* config/tc-dvp.c (s_endgif): Fix nloop calc and test.  Warn if
insufficient data present.  Fix insertion of computed nloop value.

26 years ago * dvp-dis.c (print_gif): Fix length calcs for gifimage.
Doug Evans [Fri, 6 Mar 1998 19:37:35 +0000 (19:37 +0000)] 
* dvp-dis.c (print_gif): Fix length calcs for gifimage.
(print_insn): Do mask comparison on proper opcode word.
* dvp-opc.c (u_parse_sdest): Return -1 if dest missing.
(parse_bc): Catch missing dest.
(parse_vfreg): Replace atoi call with strtol.
(parse_{bcftreg,ffstreg,freg,ireg,vi01,gif_prim,gif_nloop}): Likewise.
(parse_bcftreg,parse_ffstreg): Handle missing dest.
(extract_gif_eop): New function.
(gif_operands): Update eop entry.
(VGIFOP,VGIFNREGS): Fix calcs.
(extract_gif_prim): Set *pinvalid to 1 if prim not used.
(gif_regs): Add entry for unused 11 case.
(print_gif_regs): Print empty list instead of nothing.
(extract_gif_nloop): Fix value calc.
(print_gif_nloop): Always print value, even if 0.

26 years ago * gas/dvp/upper-2.d (loi): Fix expected output.
Doug Evans [Fri, 6 Mar 1998 19:27:21 +0000 (19:27 +0000)] 
* gas/dvp/upper-2.d (loi): Fix expected output.
* gas/dvp/vif-1.[sd]: Add more tests.
* gas/dvp/gif{packed,reglist,image}-1.[sd]: New testcases.
* gas/dvp/dvp.exp: Run them.  Pass -I${srcdir}/${subdir} to gas.

26 years agoThu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Fri, 6 Mar 1998 00:09:31 +0000 (00:09 +0000)] 
Thu Mar  5 16:07:41 1998  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * sparcl-tdep.c: fix #endif comments

26 years agoThu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 5 Mar 1998 23:11:20 +0000 (23:11 +0000)] 
Thu Mar  5 15:10:35 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.

26 years ago * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
Keith Seitz [Thu, 5 Mar 1998 22:41:56 +0000 (22:41 +0000)] 
    * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
        error () so that we abort out of bdm_ppc_open.

26 years agoFix opcode fields in SHFL.*
Andrew Cagney [Thu, 5 Mar 1998 21:32:31 +0000 (21:32 +0000)] 
Fix opcode fields in SHFL.*

26 years ago* Fixed a double-buffering bug in PKE, due to naive use of
Frank Ch. Eigler [Thu, 5 Mar 1998 20:23:59 +0000 (20:23 +0000)] 
* Fixed a double-buffering bug in PKE, due to naive use of
  complex macros with side-effects.  Gripes.

26 years agoWed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Thu, 5 Mar 1998 01:04:13 +0000 (01:04 +0000)] 
Wed Mar  4 16:53:52 1998  Martin M. Hunt  <hunt@cygnus.com>

* serial.c (_initialize_serial): Add a description of
"set remotelogbase".

* command.c (do_setshow_command): If no arguments are supplied,
don't dump core, instead print out an error message.

26 years agoWed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 5 Mar 1998 00:51:00 +0000 (00:51 +0000)] 
Wed Mar  4 16:50:18 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gdbtk.c (gdb_listfiles): Fix thinko in last change.

26 years agoWed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 4 Mar 1998 23:35:30 +0000 (23:35 +0000)] 
Wed Mar  4 15:34:49 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.

26 years ago * interp.c (sim_open): Map 4M of memory at zero for SKY sim only.
James Lemke [Wed, 4 Mar 1998 23:33:36 +0000 (23:33 +0000)] 
* interp.c (sim_open): Map 4M of memory at zero for SKY sim only.

26 years agotype in feb 19
John Metzler [Wed, 4 Mar 1998 21:52:56 +0000 (21:52 +0000)] 
type in feb 19

26 years ago * Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h.
Doug Evans [Wed, 4 Mar 1998 21:22:09 +0000 (21:22 +0000)] 
* Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h.
(arch.o): Delete cpu-opc.h dependency.
(decode.o,model.o): Likewise.
(decodex.o,modelx.o): Likewise.

26 years agoFix 4320 sanitization.
Doug Evans [Wed, 4 Mar 1998 21:14:50 +0000 (21:14 +0000)] 
Fix 4320 sanitization.

This page took 0.055929 seconds and 4 git commands to generate.