Andrew Cagney
a6a5d34927
Fix --enable-build-warnings=-Werror failures.
...
v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in:
Include targ-vals.h instead of syscall.h. Replace SYS_* with
TARGET_SYS_*. Add dependency.
z8k/support.c: Include <errno.h>
v850/simops.c: Replace long with portable signed32.
mips/interp.c: Make sim_monitor global - needed by sky.
1998-11-25 09:58:04 +00:00
Andrew Cagney
baa1a48801
Explicitly tag vr41/mips16 instructions.
...
Update configure.in/configure.
1998-11-25 06:50:48 +00:00
Andrew Cagney
fbf1f3f1f6
Add d10v and v850 to gennltvals.sh and regenerate.
...
Add a howto.
1998-11-24 07:59:01 +00:00
Dave Brolley
7259fc9491
Mon Nov 23 17:02:47 1998 Dave Brolley <brolley@cygnus.com>
...
* Directory created.
1998-11-23 23:25:28 +00:00
Andrew Cagney
554eb429e4
gencode.c: Kill, Kill, Kill....
...
Remove last remenats of old gencode simulator.
1998-11-23 11:37:56 +00:00
Andrew Cagney
57791952b6
Configure mips64vr4100-elf nee mips64vr41* as a 64 bit mips16 igen simulator.
...
Fix problems: All vr.igen instructions are 64 bit.
1998-11-23 07:16:03 +00:00
Andrew Cagney
67f7d50d5e
Pacify GCC.
1998-11-23 06:18:32 +00:00
Andrew Cagney
5a581ea612
Pacify GCC.
1998-11-23 06:10:01 +00:00
Andrew Cagney
ee562da4c4
Reconize target mips-tx19-elf
1998-11-23 06:06:12 +00:00
Andrew Cagney
a83d7d870f
Switch mips-lsi-elf mips16 simulator to igen (from gencode).
1998-11-23 05:50:21 +00:00
Doug Evans
9935b2e7f3
* genmloop.sh (${cpu}_pbb_chain): Watch for Ctrl-C's.
...
(${cpu}_pbb_cti_chain): Ditto.
1998-11-22 19:21:51 +00:00
Frank Ch. Eigler
74cc43debc
* fix for minor sanitization lossage
1998-11-22 11:50:48 +00:00
Frank Ch. Eigler
42647d5b8c
* mild gx prototype tweak
...
start-sanitize-gxsim
1998-11-21 Frank Ch. Eigler <fche@elastic.org>
* sim-gx.c (sim_gx_block_translate): Generate computed
goto for __GNUC__ instead of plain switch() for gx block
entry. Lose "-g" compile option for gx block.
end-sanitize-gxsim
1998-11-21 19:05:09 +00:00
Andrew Cagney
821b702f92
* r5900.igen (CVT.W.S): Always round towards zero.
...
Update testsuite.
1998-11-21 03:31:30 +00:00
Michael Meissner
86908c4014
Fix problem where qnan was treated like an infinity
1998-11-20 00:44:03 +00:00
Doug Evans
8406c876c5
* Makefile.in (M32R_OBJS): Delete extract.o.
...
(extract.o): Delete.
(stamp-arch): Depend on $(CGEN_ARCH_SCM).
(stamp-cpu): Don't build extract.c.
* cpu.c,cpu.h,decode.c,decode.h,sem-switch.c,sem.c: Rebuild.
* mloop.in (extract16): Update type of `insn' arg.
Delete call to d->extract.
(extract32): Ditto.
* Makefile.in (M32RX_OBJS): Delete extractx.o.
(extractx.o): Delete.
(stamp-xcpu): Don't build extractx.c.
* cpux.c,cpux.h,decodex.c,decodex.h,semx-switch.c: Rebuild.
* mloopx.in (extractx16): Update type of `insn' arg.
Delete call to d->extract. Delete arg pbb_p. All callers updated.
(extract-simple,full-exec-simple,fast-exec-simple): Delete.
(extractx32): Ditto.
1998-11-19 00:12:00 +00:00
Doug Evans
916b11527e
* Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
...
(CGEN_ARCH_SCM): New variable.
* cgen-engine.h (EXTRACT_[ML]SB0_{INT,UINT}): New macros.
(EXTRACT_INT,EXTRACT_UINT): New macros.
(SEM_SEM_ARG): New macro.
(SEM_NEXT_VPC): New arg `pc'.
* cgen-sim.h (EXTRACT_SIGNED,EXTRACT_UNSIGNED): Delete.
(sim_disassemble_insn): Update prototype.
* cgen-trace.c (current_insn,insn_fields): New static locals.
(trace_insn): Set them.
* cgen-utils.scm: #include cgen-engine.h.
(sim_disassemble_insn): New arg insn_fields.
Handle variable length insns.
* genmloop.sh: Only emit pbb decls if -pbb.
(${cpu}_scache_lookup): New arg `vpc'.
(scache support): Fetch pc before entering loop.
1998-11-18 23:45:32 +00:00
Doug Evans
2c05443851
* gennltvals.sh: Add fr30 support.
...
* nltvals.def: Rebuild.
1998-11-18 22:41:50 +00:00
Andrew Cagney
78dee4ee05
Re-do type system so that GCC's explicit attribute/mode types are used
...
(when available).
Update sim-bits and sim-alu tests in sim/testsuite/common.
1998-11-17 23:59:30 +00:00
Frank Ch. Eigler
ca0669a326
* sun build fix for thinko (?)
1998-11-16 08:52:06 +00:00
Frank Ch. Eigler
92fa45795d
* Personal prototype "gx" translation-based JIT engine for M32R.
...
[ChangeLog]
start-sanitize-gxsim
1998-11-13 Frank Ch. Eigler <fche@elastic.org>
* configure.in: Added "--enable-sim-gx" option.
* configure: Regenerated.
end-sanitize-gxsim
[common/ChangeLog]
1998-11-13 Frank Ch. Eigler <fche@elastic.org>
start-sanitize-gxsim
* Make-common.im: Build sim-gx.o and sim-gx-run.o.
* sim-gx.c: New file: target-independent gx routines.
* sim-gx.h: Declarations for gx structs and routines.
* sim-gx-run.c: New file: target-independent gx driver.
* sim-base.h: Add gx block vector to state struct.
end-sanitize-gxsim
* aclocal.m4: Add tests for dlopen family.
1998-11-14 04:35:47 +00:00
Frank Ch. Eigler
fca5abc13a
* sanitize fix for do-shifts.S
1998-11-14 04:32:00 +00:00
Frank Ch. Eigler
78cec885d7
* test case for PR 18230, over from d30v branch
...
1998-11-12 Frank Ch. Eigler <fche@cygnus.com>
* br-djsr.S: New test for new R62-update timing.
1998-11-12 11:39:05 +00:00
Andrew Cagney
d1cbd70abb
Add configury for mips-lsi-elf target (32 bit MIPS16).
...
Fix numerous problems with PENDING_* code.
In old gencode simulator, don't double tick each cycle.
Add BREAK instruction to MIPS16 gencode simulator.
1998-11-12 06:42:34 +00:00
Doug Evans
847b31bdab
* sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.
1998-11-11 22:02:57 +00:00
Andrew Cagney
7d88afe63e
div(-0) sets both I/SI and D/SD (PR16522)
1998-11-11 08:18:55 +00:00
Doug Evans
ca40ecdcec
remove cgen support from Makefile.in, moved to cgen dir
1998-11-07 02:47:22 +00:00
Frank Ch. Eigler
edba5926c8
* Patch for PR 18196, brought over from d30v branch.
...
[d30v/ChangeLog]
1998-11-06 Frank Ch. Eigler <fche@cygnus.com>
* d30v-insns (do_mvfacc): Use loop to limit shift count to 63 .. 0.
[testsuite/d30v-elf/ChangeLog]
1998-11-06 Frank Ch. Eigler <fche@cygnus.com>
* do-shifts.S: Add test for large mvfacc shifts.
1998-11-06 08:45:57 +00:00
Doug Evans
47a2144503
lose fr30 for now
1998-11-06 00:17:34 +00:00
Dave Brolley
168c5ef4ef
Wed Nov 4 19:11:43 1998 Dave Brolley <brolley@cygnus.com>
...
* configure.in: Added case for fr30-*-*.
* configure: Regenerated.
1998-11-05 20:25:22 +00:00
Frank Ch. Eigler
1995094e7f
* r5900 sim test case fix
...
Thu Nov 5 10:37:40 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
* t-prot3w.s: Correct test of prot3w insn.
1998-11-05 15:42:02 +00:00
Frank Ch. Eigler
210a903baf
* build fix
...
Thu Nov 5 10:29:42 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
* r5900.igen (r59fp_opdiv): Correct erroneous FGR[FD] reference.
1998-11-05 09:42:06 +00:00
Andrew Cagney
dd0f610960
PR 16522
...
Fix RSQRT.S instruction, add test case.
1998-11-05 09:42:05 +00:00
Doug Evans
8de434bf89
* sim-main.h: Delete inclusion of config.h, include sim-basics.h
...
before cgen-types.h.
* tconfig.in: Guard against multiple inclusion.
* cpu.h: Delete decls moved to genmloop.sh.
* cpux.h: Ditto.
1998-11-05 07:56:02 +00:00
Doug Evans
8c7dc9ffc8
* genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
...
HAVE_PARALLEL_INSNS, define as 0 or 1. Emit decls of fns in mloop.cin.
* cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
* cgen-sim.h: ... to here.
1998-11-05 07:53:37 +00:00
Doug Evans
d4df1e3023
add some comments
1998-11-04 19:27:20 +00:00
Frank Ch. Eigler
fd0e83b604
* adding missing ChangeLog header line
1998-11-02 11:51:27 +00:00
Frank Ch. Eigler
0ec51df9ef
* build fix for tx39 sim; caused by sky->devo merge
...
* dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
interrupt level number to match changed SignalExceptionInterrupt
macro.
1998-10-30 09:49:18 +00:00
Frank Ch. Eigler
2fee67aeb8
* Updated sanitization
...
- remove memories of old sim/testsuite/sky directory
- add new dir sim/testsuite/mips64el-elf to "always-keep" list
1998-10-30 07:03:14 +00:00
Felix Lee
baa791ae9b
* lib/sim-defs.exp (sim_run): download target program to remote
...
host, if necessary. for unix-driven win32 testing.
1998-10-30 00:39:44 +00:00
Michael Snyder
eeb89805cb
fix minor typo.
1998-10-29 18:24:04 +00:00
Frank Ch. Eigler
271f091db7
* Test cases for PR 18015.
...
Thu Oct 29 12:07:06 1998 Frank Ch. Eigler <fche@cygnus.com>
* t-psrlvw.s (test_psrlvw): Add test for sign-extension in insn.
* t-padsbh.s: New test.
* t-mult1.s: New test.
* Makefile.in: Run them.
1998-10-29 17:28:18 +00:00
Frank Ch. Eigler
fd6e6422c8
* sky->devo merge, continued -- left out the r5900 TLB last time!
...
* includes a small PR 17224 tweak
1998-10-29 13:44:37 +00:00
Frank Ch. Eigler
0d51822e3b
* monster sky->devo merge -- sky sim test suites
1998-10-29 12:59:50 +00:00
Frank Ch. Eigler
afacff5074
* sky->devo merge; dummy test suite directory for mips64el-skyb-elf target.
1998-10-29 12:07:51 +00:00
Frank Ch. Eigler
3ac7980b23
* Fixes for PR 18015, from customer.
...
Thu Oct 29 11:06:30 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
* r5900.igen: Fix PSRLVW, MULTU1, PADSBH instructions,
as per customer patch.
1998-10-29 09:30:11 +00:00
Doug Evans
3afece8646
* sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}".
...
Bring over from branch.
1998-10-28 22:45:11 +00:00
Drew Moseley
84e42e1daf
For cygwin hosts, we need to use the return value from the read
...
routine as the number of bytes to process. This apparently is due to
text-mode vs binary-mode. If the mounts are done text-mode, then the
size returnedby fstat() may be different than the number of bytes
"read" in text mode.
1998-10-28 21:16:44 +00:00
Andrew Cagney
b9a9cde40b
Unify (well almost) --enable-build-warnings configuration option
...
across GDB and SIM directories.
1998-10-28 02:01:32 +00:00
Frank Ch. Eigler
fe146542dd
* Fix for testcase for checking PR 17362.
...
Tue Oct 27 15:20:16 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
* t-prot3w.s: Test changed spec of prot3w insn.
1998-10-27 21:49:15 +00:00