Angela Marie Thomas
14ae8f4cc8
not used and not wanted
1998-03-02 19:30:05 +00:00
Doug Evans
84fe40560d
* cgen.h (CGEN_BOOL_ATTR): New macro.
1998-03-02 18:44:06 +00:00
Doug Evans
de13b4cbdb
* sim-core.c (sim_core_attach): Use xmalloc instead of zalloc.
...
(sim_core_map_detach): Use free instead of zfree.
1998-03-02 18:20:39 +00:00
Ron Unrau
8c6a2b75b9
add sky-gdb.c to sky_files
1998-03-02 14:43:52 +00:00
Ron Unrau
aac9328044
(find_match): recheck argv[argi] in multi-word match. Fixes crash when
...
subset words are alone on the command line.
1998-03-01 14:49:50 +00:00
Ron Unrau
aaab4e578d
sky-gdb.c: new file - temporary demo version of the sim interface
...
sky-hardware.c: add sim commands
Makefile.in: build sky-gdb.c
1998-03-01 14:41:38 +00:00
Richard Henderson
626d6b2e55
* config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
...
Recognize -GN and -relax.
(md_begin): Initialize gp size from -G switch.
(alpha_force_relocation): Always force if -relax.
(alpha_align): Take a new argument that will specify when to
emit an R_ALPHA_ALIGN relocation (though we don't do that now).
Change all callers. Emit nop alignment padding as nop+unop pair.
1998-03-01 01:34:22 +00:00
Richard Henderson
c35d42c21a
* config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
...
* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
1998-03-01 01:08:03 +00:00
Nick Clifton
d4a05a4013
Prevent core dump when info->symbols is NULL.
1998-03-01 00:04:17 +00:00
Richard Henderson
a8c053005c
* alpha-opc.c (cvtqs) There is no such thing.
...
(cvttq): Missing most of the /*d variants.
1998-02-28 20:21:32 +00:00
Doug Evans
b0df95bbb3
* sim-module.c (*): Fix typos in assertion tests.
1998-02-28 03:01:52 +00:00
Andrew Cagney
baf8377df8
Pacify GCC: const char * passed to asprintf; int function returning
...
void; unused variable.
1998-02-28 03:01:51 +00:00
Andrew Cagney
0e701ac37b
Add generic sim-info.c:sim_info() function using module mechanism.
...
Clean up compile probs in mips/vr5400.
1998-02-28 02:51:06 +00:00
Doug Evans
7c5d88c1bb
* interp.c (DECLARE_OPTION_HANDLER): Use it.
...
(mips_option_handler): New argument `cpu'.
(sim_open): Update call to sim_add_option_table.
1998-02-28 02:43:31 +00:00
Jeff Law
3406569f7f
* simops.c (inc): Fix typo.
1998-02-28 01:41:28 +00:00
Frank Ch. Eigler
8accf4df14
* Updated build to allow srcdir != objdir. Tests still do not use dejagnu.
1998-02-27 21:58:44 +00:00
Frank Ch. Eigler
f0bb94cd67
* Major endianness fixes on sky code today. The milestone sample and existing
...
PKE tests run identically on SPARC/Solaris and x86/Linux.
* sky-pke.c (pke_io_{read,write}_buffer): Endianness fixes aka
"E-fixes" in register and FIFO read/writes.
(pke_code_{pkemscalf,pkemscal}): E-fixes in VU CIA setting.
(pke_code_{mpg,unpack}): E-fixes in VU memory & tracking updates.
(pke_code_direct): E-fixes in GPUIF FIFO stuffing.
* sky-pke.h (PKE_MEM_WRITE): E-fixes in trace file writing.
* sky-vu0.c (vu0_attach): Allocate micro/data memory with zalloc
to guarantee sufficient (16-byte) alignment.
* sky-vu1.c (vu1_attach): Ditto.
(vu1_io_read_register_window): *PARTIAL* E-fixes in register accesses.
* sky-libvpe.c (gif_write): E-fixes in GPUIF FIFO stuffing.
* sky-gpuif.c (gif_io_{read,write}_buffer): E-fixes in
register and FIFO read/writes.
* sky-dma.c (do_dma_transfer_tag): E-fixes in tag reading.
1998-02-27 21:52:40 +00:00
Jeff Law
01e5c2f36c
Put sanitize markers around last ChangeLog entry.
1998-02-27 20:16:35 +00:00
Jeff Law
bac914a58b
* mips-opc.c (r5900/madd.s): Takes three operands, not four. Fix
...
opcode.
(r5900/min.s): Incorrect opcode ....,101001 not ...110000.
(r5900/msub.s): Takes three operands, not four. Fix opcode.
1998-02-27 20:15:50 +00:00
Michael Meissner
81b9505a43
Indicate which instructions are delayed branches or jumps
1998-02-27 19:24:15 +00:00
Michael Meissner
e08a28c456
Add eit_vb section support
1998-02-27 19:22:13 +00:00
Michael Meissner
eba74b9a7c
Add flag for delayed branches/jumps
1998-02-27 19:17:55 +00:00
Michael Meissner
6c116dfc4b
Delayed jsr instructions do not require padding to next long word boundary
1998-02-27 19:15:38 +00:00
Doug Evans
966df5804d
* sim-base.h (sim_cpu_base): New members name, options.
...
(sim_cpu_lookup): Add prototype.
* sim-module.c (sim_pre_argv_init): Provide default names for cpus.
* sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
(sim_add_option_table): Update prototype.
* sim-options.c (sim_add_option_table): New argument `cpu'.
(standard_option_handler,standard_install): Update.
(sim_parse_args): Handle cpu specific options.
(print_help): New static function.
(sim_print_help): Call it. Print cpu specific options.
(find_match): New static function.
(sim_args_command): Call it. Handle cpu specific options.
* sim-utils.c (sim_cpu_lookup): New function.
* sim-memopt.c (memory_option_handler): Update.
(sim_memopt_install): Update.
* sim-model.c (model_option_handler): Update.
(model_install): Update.
* sim-profile.c (profile_option_handler): Update.
(profile_install): Update.
* sim-trace.c (trace_option_handler): Update.
(trace_install): Update.
* sim-watch.c (watchpoint_option_handler): Update.
(sim_watchpoint_install): Update.
* cgen-scache.c (scache_option_handler): Update.
(scache_install): Update.
1998-02-27 18:39:22 +00:00
Doug Evans
2e7236783e
* mloopx.in: Fix handling of branch in parallel with another insn.
...
* semx.c: Regenerate.
1998-02-27 18:24:00 +00:00
Doug Evans
1fb06680cf
* config/tc-dvp.c (assemble_vif): Insert cpu type marker before
...
inserted binary files.
1998-02-27 18:10:03 +00:00
Doug Evans
b6f63b41bf
* dvp-opc.c (vif_operands): Add unpack[u] support.
...
(vif_opcodes): Ditto.
(*_vif_imrubits): Renamed from *_vif_imrbits.
1998-02-27 18:07:50 +00:00
Doug Evans
61b6eec08c
* dvp.h (VIF_FLAG_U): New macro.
1998-02-27 18:03:11 +00:00
Angela Marie Thomas
f8b550eb26
fix
1998-02-27 10:26:19 +00:00
Doug Evans
8ca85ce00a
* config/tc-m32r.c (optimize): New static local.
...
(md_shortopts): Add -O.
(md_parse_option): Recognize it.
(md_show_usage): Document it.
(md_assemble): Don't try to combine insns in parallel if !optimize.
1998-02-25 19:54:59 +00:00
Frank Ch. Eigler
d22ea5d001
* PKE unit testing continuing. Confusion over PKE1 double-buffering
...
mechanism is starting to subside.
* sky-pke.h (PKE_FLAG_INT_NOLOOP): Added device flag to indicate
presence of stalled & interrupted PKEcode.
* sky-pke.c (pke_issue): Added PKEcode interrupt bit handling.
(pke_flip_dbf): Changed double-buffering logic to match SCEI
clarification.
(pke_code_*): Added interrupt bit stalling clause.
(pke_code_pkems*): Added ITOP/ITOPS transmission code.
(pke_code_unpack): Added more careful logic for processing
overflows of VU data memory addresses.
1998-02-25 19:34:06 +00:00
Frank Ch. Eigler
574edea8b2
* Enlarged PKE testing mini bucket. Not yet converted to dejagnu.
1998-02-25 19:27:34 +00:00
Doug Evans
9495a61e55
* Makefile.in (RUNTEST): Fix path to runtest.
1998-02-25 19:02:58 +00:00
Andrew Cagney
f89c0689a1
Finish implementation of r5900 instructions.
1998-02-25 15:31:15 +00:00
Doug Evans
6cd37f1563
* Make-common.in (check): Run `make check' in testsuite dir.
1998-02-25 15:15:09 +00:00
Andrew Cagney
390ffa8935
Extend TRACE macros to include more cases.
...
Add MAX/MIN floating point functions.
Add max32, min32 floating point contstants.
1998-02-25 15:15:08 +00:00
Andrew Cagney
37d49885d3
Test r5900 floating point instructions.
1998-02-25 15:04:11 +00:00
Jeff Law
097e6924c2
* simops.c (signed multiply instructions): Cast input operands to
...
signed32 before casting them to signed64 so that the sign bit
is propagated properly.
1998-02-25 08:58:23 +00:00
Doug Evans
c248113005
delete FIXME
1998-02-25 08:37:11 +00:00
Doug Evans
95bb4ad144
* dvp-dis.c (print_insn): Handle word number.
...
Handle mips address vs vu address.
* dvp-opc.c (vif_operands): Use DVP_OPERAND_VU_ADDRESS.
(dma_operands): Use DVP_OPERAND_MIPS_ADDRESS.
({insert,extract}_dma_addr): Fix word ofset.
({insert,print}_gif_regs): Fix encode/decode.
1998-02-25 08:34:41 +00:00
Doug Evans
3e4a83f036
* dvp.h (DVP_OPERAND_MIPS_ADDRESS): Renamed from DVP_OPERAND_ADDRESS.
...
(DVP_OPERAND_VU_ADDRESS): New macro.
(DVP_OPERAND_*): Renumber.
1998-02-25 08:26:52 +00:00
Doug Evans
b500809f33
* genmloop.sh (engine_resume): Update insn_count before exiting.
...
(engine_resume_full): Keep accurate core profile data.
* cgen-utils.c (sim_disassemble_insn): Don't use
sim_core_read_aligned_N, it messes up profiling results.
1998-02-25 08:25:11 +00:00
Doug Evans
ab062d2278
(profile_print_core): Simplify by calling sim_core_map_to_str.
...
* sim-core.h (sim_core_map_to_str): Declare.
* sim-core.c (sim_core_map_to_str): Make non-static.
1998-02-25 07:47:32 +00:00
Doug Evans
751197f231
(profile_print_core): Simplify by calling sim_core_map_to_str.
...
* sim-core.h (sim_core_map_to_str): Declare.
* sim-core.c (sim_core_map_to_str): Make non-static.
1998-02-25 07:36:23 +00:00
Doug Evans
3910fb4a51
* sim-profile.c (profile_print): Delete duplicate test of
...
PROFILE_INSN_IDX.
(profile_print_pc): Exit early if data collection not set up.
1998-02-25 07:16:09 +00:00
Nick Clifton
39149be224
Fix bug detected by Michael snyder.
1998-02-25 02:05:09 +00:00
Frank Ch. Eigler
89154e47a3
* Unit testing of PKE sim continuing. Only minor VU addressing problems
...
found today.
1998-02-25 01:13:05 +00:00
Doug Evans
fdd59f73f9
(dma_opcodes): Add dmarefe insn.
1998-02-25 01:11:14 +00:00
Frank Ch. Eigler
559eba20a8
* Added test bucket directory for sky tests, which may be run in conjunction
...
with the mips64r5900 tests. It's all meant to be sanitized out without
"keep-sky".
1998-02-25 01:08:47 +00:00
Doug Evans
b439fb8117
(s_endgif): Update. NLOOP is in quadwords for IMAGE mode now.
1998-02-25 01:05:10 +00:00