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
Doug Evans
4a7d1b79f1
(gif_regs): Add new register number/name changes.
1998-02-25 00:57:19 +00:00
Doug Evans
7744ce8bb4
(gif_reg): Add recent register name/number changes.
1998-02-25 00:55:32 +00:00
Ian Carmichael
733cfc784b
* A bunch of changes which get us closer to running the sample.
1998-02-24 23:37:20 +00:00
Doug Evans
4771aa23ae
(print_gif): Fix word order.
1998-02-24 22:10:28 +00:00
Doug Evans
9152bebae6
(UNIQUE_LABEL_PREFIX): New macro.
...
(unique_label): Use it.
(assemble_gif): Emit start label before mach label.
(s_endgif): Update.
1998-02-24 22:08:40 +00:00
Doug Evans
52491f93ae
* dvp-opc.c (gif_operands): Fix word order.
...
(gif_opcodes): Likewise.
({insert,extract,print}_gif_regs): Likewise.
1998-02-24 21:56:44 +00:00
Doug Evans
ef9448db9a
(s_endgif): Change length mismatched errors to warnings.
1998-02-24 21:39:58 +00:00
Doug Evans
88b38f0c3c
* arm-dis.c (print_insn_{big,little}_arm): info->symbol changed
...
to *info->symbols.
* mips-dis.c (print_insn_{big,little}_mips): Likewise.
* tic30-dis.c (print_branch): Likewise.
start-sanitize-sky
* mips-dis.c (print_insn_little_mips): Call dvp_info_mach_type.
* dvp-dis.c (dvp_info_mach_type): New function.
(print_insn_dvp): Call it.
(print_vif): Return length of 4 if mpg or direct insn so following
insns get properly disabled.
* dvp-opc.c (vif_insn_len): New argument `pcpu'. All callers updated.
end-sanitize-sky
1998-02-24 20:57:58 +00:00
Doug Evans
b6d331b9cd
(create_colon_label): New argument `sto'. All callers updated.
...
(record_mach): New argument `force_next_p'. All callers updated.
(cpu_sto): New function.
1998-02-24 20:40:41 +00:00
Jason Molenda
9a760d248f
Change from rth.
...
* Makefile.in (BISON): Don't even pretend to use yacc.
(c-exp.tab.o): Use bison -o to use a unique intermediate file.
(jv-exp.tab.o, f-exp.tab.o, m2-exp.tab.o): Likewise.
1998-02-24 19:25:44 +00:00
Nick Clifton
89dc75c562
Removed saved_symbol code as it is no longer needed.
1998-02-24 19:23:07 +00:00
Nick Clifton
c3ba2ed2d0
Fixed bug displaying symbols in big endian arms.
1998-02-24 19:07:28 +00:00
Doug Evans
69312dac86
* config/tc-dvp.h (tc_frob_label): Define.
...
* config/tc-dvp.c (dvp_frob_label): New function.
1998-02-24 19:04:22 +00:00
Doug Evans
3e9f7612e3
* dvp.h (dvp_cpu): Add DVP_UNKNOWN.
...
(vif_insn_len): Update prototype.
1998-02-24 18:46:29 +00:00
Mark Alexander
a9faef120e
* Makefile.in: Last change was bad. Define NL_TARGET
...
so that targ-vals.h will be used instead of syscall.h.
* simops.c: Use targ-vals.h instead of syscall.h.
(OP_F020): Disable unsupported system calls.
1998-02-24 05:07:11 +00:00