aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v
AgeCommit message (Collapse)AuthorFilesLines
1998-02-13Implement separate user (SPU) and interrupt (SPI) stack pointers.Andrew Cagney3-0/+15
1998-02-11Don't abort() when system call is unknown.Andrew Cagney2-1/+4
1998-02-11Ensure zero-hardwired bits in DPSW remain zero.Andrew Cagney3-4/+77
1998-02-10D10v memory map changed. Update.Andrew Cagney1-136/+173
Initialize IMAP/DMAP registers to hardware reset value.
1998-01-31Add config support for the size of the target address and OF cell.Andrew Cagney1-0/+4
1998-01-26Exit status is in r0, not r2Michael Meissner1-0/+4
1998-01-25If DEBUG has 0x20 set, turn traps into batch debuggingMichael Meissner1-0/+7
1998-01-23First round of d10v ABI changesMichael Meissner2-68/+78
1998-01-22 * interp.c (UMEM_SEGMENTS): New define, set to 128.Fred Fish2-54/+134
(sim_size): Use UMEM_SEGMENTS rather than hardwired constant. (sim_close): Reset prog_bfd to NULL after closing it. Also reset prog_bfd_was_opened_p after closing prog_bfd. (sim_load): Reset prog_bfd_was_opened_p after closing prog_bfd. (sim_create_inferior): Get start address from abfd not prog_bfd. (xfer_mem): Do bounds checking on addresses and return zero length read/write on bad addresses, rather than aborting. Prepare to be able to handle xfers that cross segment boundaries, but not yet implemented. Only emit debug message when d10v_debug is set as well as DEBUG being defined.
1998-01-20* aclocal.m4: Recognize --enable-maintainer-mode.Doug Evans2-43/+90
*/configure: Regenerated.
1997-12-08Fix typo, REP_S was refering to REP_E register.Andrew Cagney2-1/+5
Add test.
1997-12-08For "trap", IBT and RIE exceptions, mask all PSW.SM. NB: SteppingAndrew Cagney3-87/+165
through an exception may not work correctly. For GDB reads/writes to the control registers, ensure the cpu state is updated correctly.
1997-12-04Regenerate configure files.Doug Evans1-0/+4
1997-12-04Add DM (bit 4) to PSW. See 7-1 for more info.Andrew Cagney3-0/+10
Test.
1997-12-03* d10v_sim.h (SEXT56): Define.Andrew Cagney3-54/+48
* simops.c (OP_4201): For "rac", sign extend 56 bit value before it is shifted. * d10v_sim.h (MAX32, MIN32, MASK32, MASK40): Re-define using SIGNED64 macro.
1997-12-02 * interp.c (sim_resume): Call do_2_short with LEFT_FIRST orFred Fish2-26/+36
RIGHT_FIRST, as appropriate, instead of hardcoded ints that don't match enum values. PR 13496
1997-12-02For "msbu", subtract unsigned product from ACC,Andrew Cagney2-4/+9
Test.
1997-12-02For "mulxu", store unsigned product in ACC.Andrew Cagney2-3/+7
Test.
1997-12-02For MACU add unsigned multiply to accumulator.Andrew Cagney2-4/+13
Test.
1997-12-02For sub2w, compute carry according to negated addition rules.Andrew Cagney2-4/+6
Test.
1997-12-01Rework sim/common/sim-alu.h to differentiate between direcctAndrew Cagney2-11/+40
subtraction (involves borrow) and negated addition (involves carry). Update d30v so that it uses this method. Add more tests.
1997-11-10* simops.c (OP_4201): "rachi". Sign extend bit 40 of ACC. SignAndrew Cagney1-0/+6
extend bit 44 all constants. (OP_4201): Replace GCC specific 0x..LL with SIGNED64 macro.
1997-10-25Correct name of file given in ChangeLog for change: Pass lma_p andAndrew Cagney1-1/+1
sim_write args to sim_load_file.
1997-10-24Address MSC compiler issues in d10v_sim.hAndrew Cagney1-0/+8
1997-10-22Add LMA_P and DO_WRITE arguments to sim/common/sim-load.c:sim_load_file().Andrew Cagney2-2/+29
Update all simulators. Clarify behavour of sim_load in remote-sim.h
1997-10-13 * simops.c (OP_6A01): Change OP_POSTDEC to OP_POSTINC and moveFred Fish2-8/+15
exception generation code to OP_6E01. (OP_6E01): Change OP_POSTINC to OP_POSTDEC and insert exception generation code. PR 13550
1997-10-11 * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.Fred Fish1-15/+3
(OP_6601): Ditto. PR 13498
1997-10-11 * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.Fred Fish1-0/+9
(OP_6601): Ditto.
1997-09-27 * d10v_sim.h (INC_ADDR): Align MOD_E to increment before testingFred Fish1-0/+2
for end condition. PR 13334
1997-09-27 * interp.c (pc_addr): Discard upper bit(s) of PC in caseFred Fish1-0/+9
IMAP1 selects unified memory. PR 13275
1997-09-23Remove need to update <targ>/Makefile.in when adding optional optionsAndrew Cagney2-39/+125
to <targ>/configure.in. Simplify logic used to select target [default] endianness.
1997-09-22Simplify logic behind the generic configuration option --enable-sim-alignment.Andrew Cagney1-0/+4
1997-09-22Add support for --enable-sim-alignment to simulator common aclocal.m4Andrew Cagney1-0/+8
Add support for --alignment={strict,nonstrict,forced} to simulator common run-time options. For v850 use, make the default NONSTRICT_ALIGNMENT.
1997-09-11Wed Sep 10 22:30:24 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt1-0/+7
* interp.c (sim_resume): Increment PC at end of rep loop. * simops.c (OP_4201): Fix rachi instruction.
1997-09-05* configure: Regenerated to track ../common/aclocal.m4 changes.David Edelsohn2-71/+307
1997-08-27Fix doco on enable-sim-inline.Andrew Cagney1-0/+5
1997-08-27Add ABFD argument to sim_create_inferior. Document.Andrew Cagney2-7/+15
Add file sim-hload.c - generic load for hardware only simulators. Review each simulators sim_open, sim_load, sim_create_inferior so that they more closely match required behavour.
1997-08-26Flush defunct sim_kill.Andrew Cagney2-7/+4
1997-08-25Add ABFD argument to sim_open call. Pass through to sim_config soAndrew Cagney2-8/+23
that image properties such as endianness can be checked. More strongly document the expected behavour of each of the sim_* interfaces. Add default endian argument to simulator config macro SIM_AC_OPTION_ENDIAN. Use in sim_config.
1997-04-22 * interp.c (sim_open): Undo patch to add -E support.David Edelsohn1-0/+4
1997-04-18Ref gdb/11763 - can't stop a running simulator:Andrew Cagney2-0/+13
o Provide poll_quit callback to simulators so that they can poll for SIGINT on clueless OS's. o Add sim_stop to simulators so that clients can request a halt (eg gdbtk's STOP button) Works for PPC! o Re-arange remote-sim.c so that the hard work is moved from gdbsim_resume() to gdbsim_wait() (where it should be).
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn2-59/+114
* d10v_sim.h (exec_bfd): Rename to prog_bfd. * interp.c: #include bfd.h. (myname, sim_kind, start_address): New static locals. (prog_bfd_was_opened_p, prog_bfd): New static locals. (decode_pc): Update to use prog_bfd. (sim_open): Set sim_kind, myname. Ignore -E arg. (sim_close): Close prog_bfd if simulator opened it. (sim_create_inferior): Return SIM_RC. Delete arg start_address. (sim_load): Return SIM_RC. New arg abfd. Set start address from bfd. Call sim_load_file to load file into simulator. * simops.c (trace_input_func): exec_bfd renamed to prog_bfd.
1997-04-17Cleanups to compile under FreeBSDAndrew Cagney2-40/+34
1997-04-07Get configure to define RETSIGTYPEAndrew Cagney1-187/+97
1997-04-02 * interp.c (sim_open): New arg `kind'.David Edelsohn1-0/+2
1997-04-02 * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.David Edelsohn2-132/+281
(sim-debug): Allow arguments. Define WITH_DEBUG in addition to -DDEBUG. * configure: Regenerated to track ../common/aclocal.m4 changes.
1997-04-02New file common/sim-config.c sets/checks simulator configuration options.Andrew Cagney2-46/+34
Update common/aclocal.m4 to better work with sim-config.[hc].
1997-03-17 * configure: Re-generate.Andrew Cagney1-191/+120
* Make-common.in (CSEARCH): Do not include the gdb directory in the search path. * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, SIM_WARNING): Drop, requiring the simulator specific Makefile.in to explicitly incorporate these. * aclocal.m4 (--enable-sim-alignment); New option. Strongly specify the alignment restrictions of the target architecture - without this option all alignment restrictions are accomodated. (--enable-sim-assert): New option. Conditionally compile in assertion statements. (--enable-sim-float): New option. Strongly specify the target's floating point support. (--enable-sim-hardware): New option. Specify the hardware devices included in the simulation. (--enable-sim-packages): New option. Specify the hardware packages included in the simulation. (--enable-sim-regparm): New option. Specify that parameters be passed in registers instead of on the stack. (--enable-sim-reserved-bits): New option. Specify that reserved bits within an instruction are are correctly set. (--enable-sim-smp): New option. Specify the level of SMP support to be included in the simulator. (--enable-sim-stdcall): New option. Specify an alternative function call convention. (--enable-sim-xor-endian): New option. Configure xor-endian support used by some targets to implement bi-endian support.
1997-03-14Add comment to changelogMichael Meissner1-1/+2
1997-03-14Regenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the ↵Michael Meissner2-302/+66
system call trap, keeping 0 temporarily