binutils-gdb.git
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.

26 years agoFix vr4320 sanitization.
Doug Evans [Wed, 4 Mar 1998 21:03:29 +0000 (21:03 +0000)]
Fix vr4320 sanitization.

26 years ago * cpu.h,model.c,sem-switch.c,sem.c: Regenerate.
Doug Evans [Wed, 4 Mar 1998 20:14:51 +0000 (20:14 +0000)]
* cpu.h,model.c,sem-switch.c,sem.c: Regenerate.
* cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.

26 years ago * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.
Doug Evans [Wed, 4 Mar 1998 20:10:36 +0000 (20:10 +0000)]
* m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.

26 years agoCleanup entry for feb 19
John Metzler [Wed, 4 Mar 1998 19:26:03 +0000 (19:26 +0000)]
Cleanup entry for feb 19

26 years ago* Merely eliminated silly duplicated code, to raise test coverage.
Frank Ch. Eigler [Wed, 4 Mar 1998 19:14:03 +0000 (19:14 +0000)]
* Merely eliminated silly duplicated code, to raise test coverage.

* sky-pke.c (pke_issue): Move interrupt-handling into decode logic.
(pke_code_*): Remove duplicated interrupt-handling code.

26 years agosim-main.h: track SKY register number changes from gdb
Ron Unrau [Wed, 4 Mar 1998 08:47:31 +0000 (08:47 +0000)]
sim-main.h: track SKY register number changes from gdb
interp.c: ditto

26 years agoelfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into MAKE_MSYMBOL_SPECIAL
Ron Unrau [Wed, 4 Mar 1998 08:45:55 +0000 (08:45 +0000)]
elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into MAKE_MSYMBOL_SPECIAL
config/mips/tm-mips.h: ditto
symtab.h: update comments re minimal_symbol->info
mips-tdep.c: globalize gdb_print_insn_mips
txvu-tdep.c: disassemble support
config/mips/tm-txvu.h: add vu_pc, use MAKE_MSYMBOL_SPECIAL, track updates
from tm-r5900.h

26 years ago * cgen-asm.in: Move insertion of generated routines to top of file.
Doug Evans [Wed, 4 Mar 1998 02:54:57 +0000 (02:54 +0000)]
* cgen-asm.in: Move insertion of generated routines to top of file.
  (insert_normal): Add prototype.  Delete `shift' arg.
* cgen-dis.in: Move insertion of generated routines to top of file.
(extract_normal): Add prototype.  Delete `shift' arg.
(print_normal): Add prototype.  Call CGEN_PRINT_NORMAL if defined.
(print_keyword): Add prototype.  Fix type of `attrs' arg.

26 years ago * sim-core.c (sim_core_attach): Use xmalloc instead of zalloc.
Doug Evans [Wed, 4 Mar 1998 02:05:06 +0000 (02:05 +0000)]
* sim-core.c (sim_core_attach): Use xmalloc instead of zalloc.
Use 0xa5 as initial value.
(sim_core_map_detach): Use free instead of zfree.
Back out this change.

26 years agovr4111 changes for mips64vr4111-*-elf, Passes make chack with only 2 failures
John Metzler [Wed, 4 Mar 1998 01:28:53 +0000 (01:28 +0000)]
vr4111 changes for mips64vr4111-*-elf, Passes make chack with only 2 failures

26 years agoPreviously, the size of pointers was taken from the hosts pointer size. Now, it is...
John Metzler [Wed, 4 Mar 1998 01:12:43 +0000 (01:12 +0000)]
Previously, the size of pointers was taken from the hosts pointer size. Now, it is a function of TARGET_PTR_BITS.

26 years agoTarget triple mips64vr4111-*-elf is defined by the header file tm-vr4xxx.h
John Metzler [Wed, 4 Mar 1998 00:28:41 +0000 (00:28 +0000)]
Target triple mips64vr4111-*-elf is defined by the header file tm-vr4xxx.h

26 years agoSupports mips64vr4111-*-elf
John Metzler [Wed, 4 Mar 1998 00:08:00 +0000 (00:08 +0000)]
Supports mips64vr4111-*-elf
See tm-vrxxx.h

26 years agoDefines a mips configuration which entails
John Metzler [Wed, 4 Mar 1998 00:05:05 +0000 (00:05 +0000)]
Defines a mips configuration which entails
   Configuration triple mips64vr4111-*-elf
   64 bit architecture
   16 bit sub core
   32 bit ints and floats
   No floating point unit
   MIPS EABI interface
   Dwarf2 debugging format

26 years agoTue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jason Molenda [Tue, 3 Mar 1998 22:38:38 +0000 (22:38 +0000)]
Tue Mar  3 14:37:02 1998  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

        * alpha-nat.c (fetch_osf_core_registers):  Renamed from
        fetch_aout_core_registers.
        (alpha_osf_core_fns):  Renamed from alpha_aout_core_fns, change
        flavour to bfd_target_unknown_flavour for OSF core files.

26 years ago * vr4320.igen: New file.
Gavin Romig-Koch [Tue, 3 Mar 1998 17:03:57 +0000 (17:03 +0000)]
* vr4320.igen: New file.
* Makefile.in (vr4320.igen) : Added.
* configure.in (mips64vr4320-*-*): Added.
* configure : Rebuilt.
* mips.igen : Correct the bfd-names in the mips-ISA model entries.
Add the vr4320 model entry and mark the vr4320 insn as necessary.

26 years ago * mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:53:41 +0000 (16:53 +0000)]
* mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
* mips-opc.c ("mac","dmac") : Added 4320 insns.

26 years ago * mips.h (INSN_4320) : Added.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:48:34 +0000 (16:48 +0000)]
* mips.h (INSN_4320) : Added.

26 years ago * config/tc-mips.c : Added vr4320 similar to vr4300.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:45:13 +0000 (16:45 +0000)]
* config/tc-mips.c : Added vr4320 similar to vr4300.

26 years ago * mips-cpu.c: Reorganize sanitization.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:31:21 +0000 (16:31 +0000)]
* mips-cpu.c: Reorganize sanitization.

* archures.c, bfd-in2.h, mips-cpu.c : Added bfd_mach_mips4320.

26 years ago * configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:20:17 +0000 (16:20 +0000)]
* configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added.

26 years ago * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
Gavin Romig-Koch [Tue, 3 Mar 1998 16:16:57 +0000 (16:16 +0000)]
* configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
Added.

26 years ago * gas/mips/mips.exp (ilocks) : Added mips64vr4320*-*-*.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:12:56 +0000 (16:12 +0000)]
* gas/mips/mips.exp (ilocks) : Added mips64vr4320*-*-*.

26 years ago * config.sub (mips64vr4320-unknown-elf) : Added.
Gavin Romig-Koch [Tue, 3 Mar 1998 16:05:41 +0000 (16:05 +0000)]
* config.sub (mips64vr4320-unknown-elf) : Added.

26 years agoFix DIV, DIV1 (wrong check for overflow) and DIVU1 (shouldn't check
Andrew Cagney [Tue, 3 Mar 1998 05:39:49 +0000 (05:39 +0000)]
Fix DIV, DIV1 (wrong check for overflow) and DIVU1 (shouldn't check
for overflow).
Pacify GCC.

26 years ago * sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
Andrew Cagney [Tue, 3 Mar 1998 05:34:31 +0000 (05:34 +0000)]
* sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
* sim-alu.h (ALU64_BEGIN): Make alu64_r unsigned.

26 years agoFix typos.
Doug Evans [Tue, 3 Mar 1998 01:54:22 +0000 (01:54 +0000)]
Fix typos.

26 years agoMon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Tue, 3 Mar 1998 01:46:36 +0000 (01:46 +0000)]
Mon Mar  2 17:44:13 1998  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * breakpoint.c (_initialize_breakpoint): Make "en" an alias
        for "enable" (so that it doesn't conflict with "end").

26 years ago * Make-common.in (TAGS): Make smarter.
Doug Evans [Tue, 3 Mar 1998 01:05:23 +0000 (01:05 +0000)]
* Make-common.in (TAGS): Make smarter.
* Makefile.in (TAGS): Ditto.

26 years agoMon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Tue, 3 Mar 1998 01:04:46 +0000 (01:04 +0000)]
Mon Mar  2 17:04:25 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * Makefile (VERSION): Bump to 4.17.1.

26 years ago * Make-common.in (TAGS): Make smarter.
Doug Evans [Tue, 3 Mar 1998 01:04:00 +0000 (01:04 +0000)]
* Make-common.in (TAGS): Make smarter.

26 years agoMon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Tue, 3 Mar 1998 01:00:59 +0000 (01:00 +0000)]
Mon Mar  2 16:59:15 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.

26 years agoMon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Tue, 3 Mar 1998 00:52:52 +0000 (00:52 +0000)]
Mon Mar  2 16:51:44 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.

Er, oops.

26 years agoMon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be>
Jason Molenda [Tue, 3 Mar 1998 00:51:10 +0000 (00:51 +0000)]
Mon Mar  2 16:47:11 1998  Philippe De Muyter  <phdm@macqel.be>

        * Makefile.in (distclean): Add `rm $(YYFILES)'.

26 years agoMon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be>
Jason Molenda [Tue, 3 Mar 1998 00:48:39 +0000 (00:48 +0000)]
Mon Mar  2 16:45:48 1998  Philippe De Muyter  <phdm@macqel.be>

        * coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum
        is unsigned.

26 years agoGood grief. Detailed function descriptions should accompany their definition.
Doug Evans [Tue, 3 Mar 1998 00:45:10 +0000 (00:45 +0000)]
Good grief.  Detailed function descriptions should accompany their definition.

26 years agoFix setting memory from default attributes
Michael Meissner [Tue, 3 Mar 1998 00:35:48 +0000 (00:35 +0000)]
Fix setting memory from default attributes

26 years ago(sim_core_attach): Add a comment describing its function.
Doug Evans [Tue, 3 Mar 1998 00:30:24 +0000 (00:30 +0000)]
(sim_core_attach): Add a comment describing its function.
Tweak switch() sanity check.

26 years agoImprove comment.
Doug Evans [Tue, 3 Mar 1998 00:10:34 +0000 (00:10 +0000)]
Improve comment.

26 years ago* Continuing PKE sim unit tests. Found little bugs in VU instead.
Frank Ch. Eigler [Tue, 3 Mar 1998 00:00:09 +0000 (00:00 +0000)]
* Continuing PKE sim unit tests.  Found little bugs in VU instead.

* sky-vu1.c (vu1_io_write_register_window): Make CIA (pc) write
  effective by updating more registers.

* sky-libvpe.c: Updated to match earlier VU state-change code.

* sky-vpe.h: Removed unused globals from declarations.

26 years ago* Added more PKE unit tests. Coverage now at 90%.
Frank Ch. Eigler [Mon, 2 Mar 1998 23:57:35 +0000 (23:57 +0000)]
* Added more PKE unit tests.  Coverage now at 90%.

* t-pke3.trc: Added FLUSH* / PKEMS* tests.

26 years agoSun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>
Jason Molenda [Mon, 2 Mar 1998 23:17:31 +0000 (23:17 +0000)]
Sun Mar  2 15:16:13 1998 Richard Henderson  <rth@cygnus.com>

        * configure.host, configure.tgt: Add sparc-linux.
        * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux.
        * config/sparc/*linux*: New files.

26 years ago * sim-core.c (sim_core_attach): Revise last patch.
Doug Evans [Mon, 2 Mar 1998 23:03:32 +0000 (23:03 +0000)]
* sim-core.c (sim_core_attach): Revise last patch.
Use 0xa5 as initial value.

26 years ago * gas/m32r/allinsn.[sd] (ldi8a,ldi16a): Delete.
Doug Evans [Mon, 2 Mar 1998 21:31:45 +0000 (21:31 +0000)]
* gas/m32r/allinsn.[sd] (ldi8a,ldi16a): Delete.
(ldi16): Improve test.
(nop): Fix test.

26 years agoMon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com)
Jason Molenda [Mon, 2 Mar 1998 20:14:53 +0000 (20:14 +0000)]
Mon Mar  2 12:12:41 1998  Anthony Thompson   (athompso@cambridge.arm.com)

        * arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm
        if we're big endian; else call print_insn_little_arm.

Patch contributed in PR 15182.

26 years agonot used and not wanted
Angela Marie Thomas [Mon, 2 Mar 1998 19:30:05 +0000 (19:30 +0000)]
not used and not wanted

26 years ago * cgen.h (CGEN_BOOL_ATTR): New macro.
Doug Evans [Mon, 2 Mar 1998 18:44:06 +0000 (18:44 +0000)]
* cgen.h (CGEN_BOOL_ATTR): New macro.

26 years ago * sim-core.c (sim_core_attach): Use xmalloc instead of zalloc.
Doug Evans [Mon, 2 Mar 1998 18:20:39 +0000 (18:20 +0000)]
* sim-core.c (sim_core_attach): Use xmalloc instead of zalloc.
(sim_core_map_detach): Use free instead of zfree.

26 years agoadd sky-gdb.c to sky_files
Ron Unrau [Mon, 2 Mar 1998 14:43:52 +0000 (14:43 +0000)]
add sky-gdb.c to sky_files

26 years ago(find_match): recheck argv[argi] in multi-word match. Fixes crash when
Ron Unrau [Sun, 1 Mar 1998 14:49:50 +0000 (14:49 +0000)]
(find_match): recheck argv[argi] in multi-word match. Fixes crash when
subset words are alone on the command line.

26 years agosky-gdb.c: new file - temporary demo version of the sim interface
Ron Unrau [Sun, 1 Mar 1998 14:41:38 +0000 (14:41 +0000)]
sky-gdb.c: new file - temporary demo version of the sim interface
sky-hardware.c: add sim commands
Makefile.in: build sky-gdb.c

26 years ago * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
Richard Henderson [Sun, 1 Mar 1998 01:34:22 +0000 (01:34 +0000)]
    * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
        Recognize -GN and -relax.
        (md_begin): Initialize gp size from -G switch.
        (alpha_force_relocation): Always force if -relax.
        (alpha_align): Take a new argument that will specify when to
        emit an R_ALPHA_ALIGN relocation (though we don't do that now).
        Change all callers.  Emit nop alignment padding as nop+unop pair.

26 years ago* config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
Richard Henderson [Sun, 1 Mar 1998 01:08:03 +0000 (01:08 +0000)]
* config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.

26 years agoPrevent core dump when info->symbols is NULL.
Nick Clifton [Sun, 1 Mar 1998 00:04:17 +0000 (00:04 +0000)]
Prevent core dump when info->symbols is NULL.

26 years ago* alpha-opc.c (cvtqs) There is no such thing.
Richard Henderson [Sat, 28 Feb 1998 20:21:32 +0000 (20:21 +0000)]
* alpha-opc.c (cvtqs) There is no such thing.
(cvttq): Missing most of the /*d variants.

26 years ago * sim-module.c (*): Fix typos in assertion tests.
Doug Evans [Sat, 28 Feb 1998 03:01:52 +0000 (03:01 +0000)]
* sim-module.c (*): Fix typos in assertion tests.

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.