Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
1997-12-02 | * interp.c (sim_resume): Call do_2_short with LEFT_FIRST or | Fred Fish | 2 | -26/+36 | |
RIGHT_FIRST, as appropriate, instead of hardcoded ints that don't match enum values. PR 13496 | |||||
1997-12-02 | Add support for Thumb target. | Nick Clifton | 1 | -0/+1 | |
1997-12-02 | For "sub", compute carry by comparing inputs. | Andrew Cagney | 2 | -0/+43 | |
Test. | |||||
1997-12-02 | For "msbu", subtract unsigned product from ACC, | Andrew Cagney | 6 | -5/+40 | |
Test. | |||||
1997-12-02 | For "mulxu", store unsigned product in ACC. | Andrew Cagney | 6 | -7/+43 | |
Test. | |||||
1997-12-02 | Test mv[tf]ac instructions. | Andrew Cagney | 1 | -0/+19 | |
1997-12-02 | For MACU add unsigned multiply to accumulator. | Andrew Cagney | 5 | -5/+96 | |
Test. | |||||
1997-12-02 | For sub2w, compute carry according to negated addition rules. | Andrew Cagney | 5 | -5/+81 | |
Test. | |||||
1997-12-01 | Rework sim/common/sim-alu.h to differentiate between direcct | Andrew Cagney | 2 | -11/+40 | |
subtraction (involves borrow) and negated addition (involves carry). Update d30v so that it uses this method. Add more tests. | |||||
1997-11-30 | Delete sim_io_syscalls and sim_io_getstring | Michael Meissner | 1 | -0/+5 | |
1997-11-29 | Switch to using cb_syscall; Fix bug in cb_syscall write | Michael Meissner | 1 | -0/+3 | |
1997-11-29 | Fix problems with d30v addc/subb | Michael Meissner | 2 | -203/+398 | |
1997-11-28 | * gennltvals.sh: Redo syscall support to allow sanitization. | Doug Evans | 2 | -1/+36 | |
* nltvals.def: Regenerated. And add d30v sanitization. | |||||
1997-11-26 | * Make-common.in (run.o): Depend on remote-sim.h. | Doug Evans | 1 | -0/+4 | |
(nrun.o,sim-hload.o,sim-hrw.o): Likewise. (sim-io.o,sim-reason.o,sim-resume.o): Likewise. | |||||
1997-11-26 | Flush writes to stdout, stderr | Michael Meissner | 2 | -2/+13 | |
1997-11-26 | * sim-io.c (sim_io_getstring): Delete unused len2. (sim_io_syscalls): | Andrew Cagney | 2 | -2/+5 | |
Ditto for sys_errno. | |||||
1997-11-26 | Delete magic number FIXME. | Doug Evans | 1 | -2/+0 | |
1997-11-26 | Undo last change. callback.h changed instead. | Doug Evans | 2 | -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 Evans | 2 | -2/+12 | |
1997-11-26 | Fix typo in format argument to sim_io_eprintf. | Andrew Cagney | 2 | -3/+5 | |
1997-11-26 | Move MDMX instructions which are public knowledge from vr5400.igen | Andrew Cagney | 4 | -441/+1313 | |
into mdmx.igen (MDMX is MMX on steroids). Keep the file secret. | |||||
1997-11-26 | nuke lseek | Michael Meissner | 2 | -56/+224 | |
1997-11-25 | sanitize-r5900 not v5900 | Andrew Cagney | 1 | -2/+2 | |
1997-11-25 | Strip ChangeLog of v850e information | Andrew Cagney | 1 | -1/+1 | |
1997-11-25 | Add file alu-n-tst.h | Andrew Cagney | 1 | -0/+1 | |
1997-11-25 | vr5400 sanitize cleanups | Andrew Cagney | 1 | -4/+12 | |
1997-11-25 | Add comment. | Doug Evans | 1 | -0/+2 | |
1997-11-25 | * callback.c (os_stat): Make 3rd arg a host struct stat ptr. | Doug Evans | 2 | -38/+216 | |
(os_fstat): Likewise. Validate fd argument. (cb_host_to_target_stat): Delete big_p arg. If HS arg is NULL, just compute target stat struct length. * syscall.c: #include "libiberty.h", <sys/types.h>, <sys/stat.h>. (ENOSYS,ENAMETOOLONG): Provide definitions if missing. (get_string): Return host errno values so they can be properly translated later. (cb_syscall): Likewise. (cb_syscall, cases open,unlink): Use get_path instead of get_string. (cb_syscall, case read): Use read_stdin for file descriptor 0. (cb_syscall, case write): Use write_stderr for file descriptor 2. (cb_syscall): Add cases for lseek, unlink, stat, fstat, time. (get_path): New function. | |||||
1997-11-25 | * gennltvals.sh: Generate syscall values for d30v. | Doug Evans | 3 | -0/+305 | |
Use libgloss/syscall.h for sparc. * nltvals.def: Regenerate. | |||||
1997-11-24 | Add sim_io_syscalls to do common system call emulation | Michael Meissner | 1 | -0/+10 | |
1997-11-24 | * cpu.h (TRACE_COND_BR): Use TRACE_BRANCH_P, not TRACE_ALU_P. | Doug Evans | 2 | -1/+5 | |
1997-11-24 | * sim-trace.c (trace_option_handler): Set state trace file | Doug Evans | 2 | -24/+51 | |
for --trace-file in addition to cpu's values. (trace_vprintf): If cpu == NULL, try state's trace file. | |||||
1997-11-24 | Entries for .gdbinit additions and sim-model.c option fix. | Doug Evans | 1 | -0/+5 | |
1997-11-24 | * sim-model.c (model_options): Use '\0' for `shortopt'. | Doug Evans | 1 | -0/+2 | |
1997-11-24 | * Make-common.in (all): Add .gdbinit. | Doug Evans | 1 | -0/+3 | |
* gdbinit.in: Add dump command. | |||||
1997-11-24 | * sim-core.c (sim_core_signal): Fix spelling error in message. | Doug Evans | 1 | -0/+6 | |
* sim-hrw.c (sim_read): Use read map, not write map. | |||||
1997-11-24 | Sanitization | Andrew Cagney | 2 | -1/+5 | |
1997-11-23 | Change MIPS simulator so that it uses the (software) module sim_fpu | Andrew Cagney | 1 | -1/+6 | |
for floating point operations. Eliminates all dependencies the simulator had on the hosts FP implemantation. Add sim_fpu_{inv,abs,neg} functions to sim_fpu.[hc] | |||||
1997-11-22 | Clarify meaning of sim_signalled's SIGRC argument. Document that this | Andrew Cagney | 7 | -14/+35 | |
isn't possible in sim-reason.c and just return the target SIGRC instead. For simulators that rely on sim-reason.c, replace SIG* with SIM_SIG*. Hack nrun.c so that when it is executed (ARGV[0]) as `step' instead of `run' it single steps the simulator. Allows testing of single step without full GDB. | |||||
1997-11-20 | Pacify GCC - SIM_SIGNONE missing in enum, xmalloc/free VS ZALLOC/zfree. | Andrew Cagney | 2 | -0/+8 | |
1997-11-20 | o Add SIM_SIGFPE to sim-signals | Andrew Cagney | 5 | -18/+25 | |
o Start SIM_SIG* at 64 so that the use of host signal numbers can be detected and reported. o Update MIPS simulator to use sim-signal. | |||||
1997-11-20 | Allow reads/writes to C0_CONFIG register. | Andrew Cagney | 3 | -13/+40 | |
1997-11-20 | (enosys): Delete. | Doug Evans | 1 | -1/+0 | |
1997-11-20 | * callback.c (cb_host_to_target_stat): Fix return values. | Doug Evans | 2 | -3/+8 | |
1997-11-19 | * cgen-sim.h (enum_signal_type): Delete. | Doug Evans | 1 | -0/+6 | |
(engine_signal): Update prototype. * cgen-utils.c: Don't include <signal.h>. (sim_signal_to_host): Delete, lives in sim-signal.c now. (engine_signal): Update. | |||||
1997-11-19 | * mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}. | Doug Evans | 1 | -32/+32 | |
* sim-if.c (sim_open): Call sim_config. (sim_stop_reason): Update call to sim_signal_to_host. | |||||
1997-11-19 | * sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined. | Doug Evans | 1 | -0/+8 | |
(sim_state_free): Call SIM_STATE_FREE if defined. * sim-module.c (sim_module_install): Don't leave any modules installed if one fails to install. | |||||
1997-11-19 | Do not include alloca-conf.h since alloca is not used. | Michael Meissner | 1 | -0/+3 | |
1997-11-19 | Fix carry/overflow problems | Michael Meissner | 1 | -0/+8 | |
1997-11-19 | (sim_stop_reason): Add comment. | Doug Evans | 1 | -0/+5 | |