Michael Meissner
d587782c78
fix typo
31 years ago
Michael Meissner
813ad010f6
Check for files in the source directory, not the build directory
31 years ago
Michael Meissner
a31140524a
Tons of changes to allow model specific information in the instruction file.
31 years ago
Michael Meissner
b51e5b4f6e
If --enable-sim-inline is not specified, default to DEFAULT_INLINE=1, not 2.
31 years ago
Michael Meissner
e218c1be05
Add comment about enabing PowerPC simulator
31 years ago
Michael Meissner
f7c22f27af
fix typo
31 years ago
Michael Meissner
f50dc1050d
Add --enable-sim-powerpc support.
31 years ago
Michael Meissner
2bc7869d54
Obey --silent
31 years ago
Michael Meissner
6f07ee29f3
Get CC, etc. vars from configure; build ppc simulator if we are using GCC
31 years ago
Michael Meissner
23a994eee6
fix typo
31 years ago
Michael Meissner
ba62bb1c74
Turn on INLINES if using GCC to compile simulator; Print more stuff if requests -t trace; If !WITH_ASSERT, do not check whether illegal bits in instruction are set
31 years ago
Michael Meissner
c5addc193d
General cleanup; add -t options support to print all options
31 years ago
Michael Meissner
73c4941b23
first stage in function unit support; add new switches & latest code from andrew
31 years ago
Jackie Smith Cashion
595a6ec337
* configure.in (mips*-*-*): Added "mips" simulator target.
* configure: Re-generated.
31 years ago
Jackie Smith Cashion
8ad5773724
Initial check-in of the MIPS simulator. Work still needs to be done on
the run-time support code (interp.c) to provide better tracing, and
also to add profiling and architecture specific support. At the moment
the simulator has a fixed size, fixed address memory area, and
simulates a subset of the IDT monitor calls (enough to execute test
programs).
The other major feature (could even be a bug) is that the simulator
makes use of the GCC "long long" extension. Work has been started to
make this a build configuration option... but there is still a lot of
this to be done.
31 years ago
Michael Meissner
bea9581508
Remove references to config.make/config.hdr
31 years ago
Michael Meissner
0934e52021
delete unused files
31 years ago
Michael Meissner
4dcb0cdda6
Small changes from Andrew
31 years ago
Fred Fish
01860b7ed1
* core.c: Rename to corefile.c
* core.h: Rename to corefile.h
* inline.c: Include corefile.h, renamed from core.h.
* cpu.h: Include corefile.h, renamed from core.h
* vm.c: Include corefile.h, renamed from core.h
* Makefile.in (CPU_H): Change core.h to corefile.h
(vm.o): Change dependency to corefile.h
(LIB_SRC): Change core.c to corefile.c.
(LIB_OBJ): Change core.o to corefile.o.
(corefile.o): Change dependencies to corefile.c, corefile.h.
* corefile.c: Include corefile.h rather than core.h
* README.psim (KNOWN PROBLEMS): Change core.* references to corefile.*
references.
31 years ago
Michael Meissner
056e975cfe
Add 2 config flags that were missing; make data cache instructions be nops
31 years ago
Michael Meissner
b3737d33ea
Fix typo in last changes
31 years ago
Michael Meissner
e61900e6a2
Update dependencies; Fix multiple options in --enable-sim-cflags
31 years ago
Michael Meissner
c494cadde6
Use autoconf correctly; provide more stats with -I
31 years ago
Michael Meissner
7ff82a593d
Add ppc-opcode-stupid
31 years ago
Michael Meissner
a983c8f080
Andrew's latest changes & print all instruction counts if -I
31 years ago
Michael Meissner
c143ef6296
Lots of changes
31 years ago
Michael Meissner
4ac24d7673
remove extra #endif
31 years ago
Michael Meissner
5281197d1e
fix typo in last change
31 years ago
Michael Meissner
5d0e859038
map , to spaces in --enable-sim-cflags
31 years ago
Michael Meissner
4b935ed4a4
Add various switches to control how the simulator is built
31 years ago
Michael Meissner
5b4d72dd73
New changes from Andrew
31 years ago
Michael Meissner
e89929cd79
Delete *.i and *.out files for clean
31 years ago
Michael Meissner
22ddef466e
Fix SWAP_8 and optimize it; print out the failing address if a signal is issued for non-gdb runs
31 years ago
Jim Wilson
3be50301d5
Fix SH simulator to handle program exit correctly.
31 years ago
Jim Wilson
99e6fd41ea
Indicate SIGILL instead of calling abort for default case.
31 years ago
Fred Fish
64415b767b
*** empty log message ***
31 years ago
Michael Meissner
5b0d3b1490
Move counting of instructions into the semantic routines.
31 years ago
Michael Meissner
9aa8a78839
Speedups from Andrew
31 years ago
Steve Chamberlain
a325a02e36
Add sim_set_callbacks.
31 years ago
Michael Meissner
a1fe883fd0
Rename trace to ppc_trace; Remove extra static.
31 years ago
Michael Meissner
9f5912cb98
Format #instructions with commas
31 years ago
Michael Meissner
a8958dd48b
Performance tweaks
31 years ago
Michael Meissner
8e20a3ac82
Inline most things except semantics which causes GCC to balloon, and device{s,_tree} which causes a bug
31 years ago
Michael Meissner
dec38daceb
October 11th changes from Andrew
31 years ago
Fred Fish
479fc045cd
* Makefile.in (BISONFLAGS): Remove macro.
31 years ago
Peter Schauer
23de525f42
* configure.in: Explicitly `exit 0' for broken shells.
* configure: Rebuilt.
31 years ago
Michael Meissner
f46f380706
Add set_sim_callbacks new needed by gdb.
31 years ago
Michael Meissner
7ca054e88e
Print exit status/signal number if -I
31 years ago
Jim Wilson
0e1815de9d
* interp.c (callback): Remove last change. It is initialized by
a sim_set_callbacks call.
31 years ago
Jim Wilson
437fb926e6
* interp.c (trap, case SYS_utime): Cast second arg of utime to
void * to avoid compiler error.
31 years ago