aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1997-12-29 * interp.c (sim_engine_run): msvc cpp barfs on #if (a==b!=c).Felix Lee2-284/+284
1997-12-15In nrun.c, look for sigaction & SA_RESTART. When both present,Andrew Cagney4-56/+65
install cntrl-c (SIGINT) handler with no SA_RESTART bit set.
1997-12-13For MADD et.al. instructions sign extend 32 bit result assigned to aAndrew Cagney2-2/+9
register.
1997-12-12 * configure.in (sim_igen_filter): Multi-sim vr5000 - vr5000 orJeff Law3-43/+55
vr5400 with the vr5000 as the default.
1997-12-12Renamed v850eq -> v850eaNick Clifton3-35/+14
1997-12-12Parent directory renamed.Nick Clifton27-1884/+0
1997-12-11sanitization fixes. (files not mentioned, fences misspelled)Felix Lee2-0/+9
1997-12-11 * mips.igen (MSUB): Fix to work like MADD.Jeff Law3-568/+476
* gencode.c (MSUB): Similarly.
1997-12-09Test/fix d10v RTE instruction.Andrew Cagney2-0/+19
1997-12-09For bfd, add vr5400 and vr5000 mips machine variants to list of machines.Andrew Cagney2-11/+17
For sim/mips, enable multi-sim support when mips64vr5400-elf is target. For sim/igen, allow specification of a default machine (will need more work later).
1997-12-08Fix typo, REP_S was refering to REP_E register.Andrew Cagney3-1/+9
Add test.
1997-12-08For "trap", IBT and RIE exceptions, mask all PSW.SM. NB: SteppingAndrew Cagney4-87/+172
through an exception may not work correctly. For GDB reads/writes to the control registers, ensure the cpu state is updated correctly.
1997-12-05Reverrt breakpoint back to its old value.Nick Clifton1-0/+4
1997-12-05Reverrt BREAK value back to its old valueNick Clifton1-1/+1
1997-12-05 * m32r-sim.h (MSPR_ADDR): New macro.Doug Evans2-8/+19
(m32r_mspr_device): Declare. (struct _devicep: Define. * m32r.c (m32r_mspr_device): New global. (device_{io_{read,write}_buffer,error}): New functions. * mem-ops.h (SETMEM*): Use sim_core_write_map, not read map. * sim-if.c: Delete redundant inclusion of cpu-sim.h. (sim_open): Attach device to handle MSPR register. * sim-main.h (WITH_DEVICES): Define as 1. Include cpu-sim.h.
1997-12-05 * Make-common.in (sim-core.o): Depend on $(sim_main_headers).Doug Evans1-0/+6
* sim-config.h (WITH_TREE_PROPERTIES): Define as 0. * sim-config.c (sim_config): Replace WITH_DEVICES with WITH_TREE_PROPERTIES.
1997-12-04Regenerate configure files.Doug Evans9-124/+251
1997-12-04Add DM (bit 4) to PSW. See 7-1 for more info.Andrew Cagney7-0/+72
Test.
1997-12-04 * configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.Doug Evans2-0/+12
* configure: Regenerated.
1997-12-04 * Make-common.in (SIM_ENVIRONMENT): New variable.Doug Evans5-110/+222
(CONFIG_CFLAGS): Add it. * aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle --enable-sim-environment option. * configure: Regenerated. * sim-config.h (environment support): Rewrite. * sim-config.c (current_environment): Define as enum, unconditionally. (current_alignment): Define unconditionally. (config_environment_to_a): Update. (config_alignment_to_a): Fix type of argument. Define unconditionally. (sim_config): Handle environment and alignment determination unconditionally. Delete sanity checks of current_environment, unnecessary. (print_sim_config): Update. * sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT. (standard_options): Add --environment. (standard_option_handler): Likewise.
1997-12-04Fixed sanitization,Nick Clifton2-209/+88
Changed pattern for break insn.
1997-12-03Missing change log entry.Andrew Cagney1-0/+2
1997-12-03* d10v_sim.h (SEXT56): Define.Andrew Cagney9-55/+230
* 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-02Add support for Thumb target.Nick Clifton1-0/+1
1997-12-02For "sub", compute carry by comparing inputs.Andrew Cagney2-0/+43
Test.
1997-12-02For "msbu", subtract unsigned product from ACC,Andrew Cagney6-5/+40
Test.
1997-12-02For "mulxu", store unsigned product in ACC.Andrew Cagney6-7/+43
Test.
1997-12-02Test mv[tf]ac instructions.Andrew Cagney1-0/+19
1997-12-02For MACU add unsigned multiply to accumulator.Andrew Cagney5-5/+96
Test.
1997-12-02For sub2w, compute carry according to negated addition rules.Andrew Cagney5-5/+81
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-30Delete sim_io_syscalls and sim_io_getstringMichael Meissner1-0/+5
1997-11-29Switch to using cb_syscall; Fix bug in cb_syscall writeMichael Meissner1-0/+3
1997-11-29Fix problems with d30v addc/subbMichael Meissner2-203/+398
1997-11-28 * gennltvals.sh: Redo syscall support to allow sanitization.Doug Evans2-1/+36
* nltvals.def: Regenerated. And add d30v sanitization.
1997-11-26 * Make-common.in (run.o): Depend on remote-sim.h.Doug Evans1-0/+4
(nrun.o,sim-hload.o,sim-hrw.o): Likewise. (sim-io.o,sim-reason.o,sim-resume.o): Likewise.
1997-11-26Flush writes to stdout, stderrMichael Meissner2-2/+13
1997-11-26* sim-io.c (sim_io_getstring): Delete unused len2. (sim_io_syscalls):Andrew Cagney2-2/+5
Ditto for sys_errno.
1997-11-26Delete magic number FIXME.Doug Evans1-2/+0
1997-11-26Undo last change. callback.h changed instead.Doug Evans2-13/+9
Plus: * syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.
1997-11-26 * syscall.c (cb_syscall, cases stat, fstat): Handle -Wall -Werror.Doug Evans2-2/+12
1997-11-26Fix typo in format argument to sim_io_eprintf.Andrew Cagney2-3/+5
1997-11-26Move MDMX instructions which are public knowledge from vr5400.igenAndrew Cagney4-441/+1313
into mdmx.igen (MDMX is MMX on steroids). Keep the file secret.
1997-11-26nuke lseekMichael Meissner2-56/+224
1997-11-25sanitize-r5900 not v5900Andrew Cagney1-2/+2
1997-11-25Strip ChangeLog of v850e informationAndrew Cagney1-1/+1
1997-11-25Add file alu-n-tst.hAndrew Cagney1-0/+1
1997-11-25vr5400 sanitize cleanupsAndrew Cagney1-4/+12
1997-11-25Add comment.Doug Evans1-0/+2