aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
AgeCommit message (Collapse)AuthorFilesLines
1997-07-28Handle overflow from signed divide by -1.Andrew Cagney1-5/+24
1997-07-25gencode.c: Two arg MADD should not assign result to /bin/bash.Gavin Romig-Koch2-1/+7
1997-07-11Fix a number of problems in the r5900 specific p* (parallel) instructions.Andrew Cagney3-90/+177
In particular a host endian dependency one fixed resolved most problems.
1997-07-02 * gencode.c (build_instruction): Handle "pext5" according toJeff Law2-1/+4
version 1.95 of the r5900 ISA. Fixes pr12413 (c/h from toshiba).
1997-07-02 * gencode.c (build_instruction): Handle "ppac5" according toJeff Law2-1/+6
version 1.95 of the r5900 ISA. fixes pr12407 (c/h from toshiba).
1997-07-02 * interp.c (sim_engine_run): Reset the ZERO register to zeroJeff Law2-23/+40
regardless of FEATURE_WARN_ZERO.
1997-07-02 * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.Jeff Law2-3/+20
Fix for pr12402 (c/h from toshiba).
1997-06-03o Fixes to repeated watchpointsAndrew Cagney2-110/+203
o Add mips ISA instructions needed to handle interrupts
1997-06-02o Fix padd insnAndrew Cagney1-8/+12
o Take an interrupt when an int event occures.
1997-05-27Extend xor-endian and per-cpu support in core module.Andrew Cagney2-28/+44
Allow negated test when watching value within core.
1997-05-22ifdef out uses of simSTOP, simSTEP and simBE when DEBUG is defined.Gavin Romig-Koch2-0/+9
1997-05-21Watchpoint interface.Andrew Cagney4-541/+563
1997-05-19Graft sim/common event and other code onto the mips simulator.Andrew Cagney3-194/+170
1997-04-24* tconfig.in (SIM_HAVE_BIENDIAN): Define.David Edelsohn1-0/+4
1997-04-21for DIV: check for div by zero and int overflowGavin Romig-Koch2-15/+44
1997-04-17 * Makefile.in (SIM_OBJS): Add sim-load.o.David Edelsohn2-26/+52
* interp.c: #include bfd.h. (target_byte_order): Delete. (sim_kind, myname, big_endian_p): New static locals. (sim_open): Set sim_kind, myname. Move call to set_endianness to after argument parsing. Recognize -E arg, set endianness accordingly. (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to load file into simulator. Set PC from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address. (set_endianness): Use big_endian_p instead of target_byte_order.
1997-04-17Cleanups to compile under FreeBSDAndrew Cagney2-8/+33
1997-04-07Get configure to define RETSIGTYPEAndrew Cagney2-204/+137
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-144/+298
(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-50/+42
Update common/aclocal.m4 to better work with sim-config.[hc].
1997-03-17Add/use pr_uword64 for SIM_ADDR independent values.Gavin Romig-Koch1-0/+6
1997-03-17 * configure: Re-generate.Andrew Cagney2-208/+136
* 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-14Regenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the ↵Michael Meissner2-123/+53
system call trap, keeping 0 temporarily
1997-03-13 * interp.c (sim_open): New SIM_DESC result. Argument is nowDavid Edelsohn2-166/+472
in argv form. (other sim_*): New SIM_DESC argument.
1997-02-26Correct the overloaded DOUBLEWORD problemGavin Romig-Koch1-7/+7
1997-02-25start-sanitize-r5900Dawn Perchik1-0/+2
* gencode.c: #ifdef out offending code until a permanent fix can be added. Code is causing build errors for non-5900 mips targets. end-sanitize-r5900
1997-02-20Correct test for ISA dependent bitsGavin Romig-Koch1-6/+18
1997-02-19 * interp.c (simopen): Add support for LSI MiniRISC PMON vectors.Mark Alexander1-0/+4
1997-02-18Correct flags for PMADDUW insnGavin Romig-Koch2-5/+17
1997-02-13 * gencode.c (build_mips16_operands): Correct computation of baseIan Lance Taylor1-1/+1
address for extended PC relative instruction.
1997-02-11Add r5900Gavin Romig-Koch5-167/+1542
1997-02-06 * interp.c (mips16_entry): Add support for floating point cases.Ian Lance Taylor2-16/+61
(SignalException): Pass floating point cases to mips16_entry. (ValueFPR): Don't restrict fmt_single and fmt_word to even registers. (StoreFPR): Likewise. Also, don't clobber fpr + 1 for fmt_single or fmt_word. (COP_LW): Pass fmt_word rather than fmt_uninterpreted to StoreFPR, and then set the state to fmt_uninterpreted. (COP_SW): Temporarily set the state to fmt_word while calling ValueFPR.
1997-02-04 * gencode.c (build_instruction): The high order may be set in theIan Lance Taylor2-1/+6
comparison flags at any ISA level, not just ISA 4.
1997-02-04 * Makefile.in (@COMMON_MAKEFILE_FRAG): UseDavid Edelsohn4-188/+31
COMMON_{PRE,POST}_CONFIG_FRAG instead. * configure.in: sinclude ../common/aclocal.m4. * configure: Regenerated.
1997-01-31 * configure: Rebuild after change to aclocal.m4.Ian Lance Taylor2-187/+192
1997-01-24 * ../common/aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s inStu Grossman1-2/+2
comments and single quotes. Fixes a problem found on hpux.
1997-01-24 * configure: Remove targ-vals.def when doing distclean. (ChangeStu Grossman1-1/+1
is actually in ../common/aclocal.m4.)
1997-01-24 * configure: Remove Make-common.in from dependencies. (Actually inStu Grossman1-1/+1
../common/aclocal.m4).
1997-01-23 * configure configure.in Makefile.in: Update to new configureStu Grossman4-270/+440
scheme which is more compatible with WinGDB builds. * configure.in: Improve comment on how to run autoconf. * configure: Re-run autoconf to get new ../common/aclocal.m4. * Makefile.in: Use autoconf substitution to install common makefile fragment.
1997-01-08For NEC 4300 project, fix last remaining host/target endianness problemJim Wilson1-1/+1
* gencode.c (build_instruction): Use BigEndianCPU instead of ByteSwapMem.
1997-01-03 * interp.c (sim_monitor): Make output to stdout visible inMark Alexander1-0/+5
wingdb's I/O log window.
1996-12-31 * support.h: Undo previous change to SIGTRAPMark Alexander2-2/+7
and SIGQUIT values.
1996-12-30 * interp.c (store_word, load_word): New static functions.Ian Lance Taylor2-1/+152
(mips16_entry): New static function. (SignalException): Look for mips16 entry and exit instructions. (simulate): Use the correct index when setting fpr_state after doing a pending move.
1996-12-29 * interp.c: Fix byte-swapping code throughout to work onMark Alexander2-9/+20
both little- and big-endian hosts.
1996-12-29 * support.h: Make definitions of SIGTRAP and SIGQUIT consistentMark Alexander2-2/+7
with gdb/config/i386/xm-windows.h.
1996-12-28 * gencode.c (build_instruction): Work around MSVC++ code gen bugMark Alexander2-1/+11
that messes up arithmetic shifts.
1996-12-25add flush_cache PMON routineAngela Marie Thomas2-0/+12
1996-12-20 * support.h: Use _WIN32 instead of __WIN32__. Also add defs forStu Grossman2-2/+9
SIGTRAP and SIGQUIT for _WIN32.
1996-12-19 * gencode.c (build_instruction) [MUL]: Cast operands to word64, toIan Lance Taylor2-1/+14
force a 64 bit multiplication. (build_instruction) [OR]: In mips16 mode, don't do anything if the destination register is 0, since that is the default mips16 nop instruction.