Andrew Cagney
9655c43963
Implement sim_fpu_is() and sim_fpu_cmp(). Note problem with detecting
...
denorms.
1998-02-20 07:20:53 +00:00
Richard Henderson
9db4b37c3f
* tc-ppc.c (ppc_biei): Cache the last symbol we inserted
...
so we don't have to scan the entire list.
1998-02-20 06:27:12 +00:00
Fred Fish
a1bbc57c69
Fixup my email addresses to be at cygnus.com
1998-02-20 05:52:58 +00:00
Fred Fish
ccc12f73ce
* config/tc-d30v.c (parallel_ok): For the explicitly parallel
...
case, allow the parallel instructions to modify the same flag
bits.
PR 14883
1998-02-20 05:47:40 +00:00
Fred Fish
b7ed1b4b88
Fix minor typos in comments
1998-02-20 05:41:08 +00:00
Andrew Cagney
d147d3844f
Backout of revision 1.35. Abort may be valid operation.
1998-02-20 03:20:49 +00:00
Nick Clifton
e843e28b1a
More instruction tests.
1998-02-20 02:04:46 +00:00
Frank Ch. Eigler
534a3d5cf1
* Continuing unit testing of PKE simulator. It now successfully matches
...
the SCEI PKE simulator's output on its own test sample (tsv432.in).
* sky-pke.h (PKE_MEM_READ, PKE_MEM_WRITE, PKE_REG_MASK_SET): Add
trace file records.
* sky-pke.c: (pke_track_write): Removed function. Replaced with
in-line modifications to VU tracking tables.
(pke_attach): Attach VU tracking tables. Use line buffering on
trace files.
(pke_issue): Spit out additional trace records.
(pke_pc_operand_bits): Correct bitfield masking error.
(*): Replace sim_read/write with kludge PKE_MEM_READ/WRITE
throughout.
(pke_code_unpack): Correct numerous small bugs in operand decoding
etc.
1998-02-20 01:50:01 +00:00
Doug Evans
8d157f9653
* m32r-opc.[ch]: Regenerate.
1998-02-20 00:57:03 +00:00
John Metzler
c3cf44c448
remove long long printf crash
1998-02-20 00:52:37 +00:00
Doug Evans
cab581557e
* m32r.c (do_lock,do_unlock): Delete.
...
* cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
* sem.c,sem-switch.c: Regenerate.
* cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
1998-02-20 00:45:47 +00:00
Doug Evans
a94cefa164
(DVP_OPCODE_IGNORE_DIS): New macro.
1998-02-20 00:32:30 +00:00
Nick Clifton
c4448eec8c
Yet more tests of m32r instructions
1998-02-20 00:30:14 +00:00
Richard Henderson
ecc9627d6f
* listing.c (list_symbol_table): Categorize symbols by
...
undefined_section rather than sy_frag->line == NULL.
PR 14986
1998-02-20 00:16:51 +00:00
Nick Clifton
67dfe6e82c
Even more instruction tests
1998-02-19 23:56:39 +00:00
Nick Clifton
dfe9df588d
Test even more instructions.
1998-02-19 23:18:45 +00:00
Doug Evans
915729414d
* config/tc-dvp.c (LOCAL_LABEL_PREFIX,END_LABEL_PREFIX): New macros.
...
(inline_dmadata): Renamed from s_dmadata_implied.
(assemble_one_insn): Rewrite dma operand processing.
(md_apply_fix3): Handle DVP_OPERAND_DMA_NEXT.
(unique_name,setup_autocount): New functions.
1998-02-19 22:51:08 +00:00
Doug Evans
6370553445
Rewrite dma operands/opcodes tables.
1998-02-19 22:40:08 +00:00
Doug Evans
aece8f205d
* dvp.h (DVP_OPERAND_DMA_*): Rewrite.
...
(DVP_OPERAND_AUTOCOUNT): New modifier.
(dma_operand_{count,addr}): Declare.
1998-02-19 22:37:34 +00:00
Nick Clifton
0a2f6d9304
test 32 bit BCL instruction.
1998-02-19 21:52:27 +00:00
John Metzler
180d1f0b50
Fall back from using igen to using gencode for the mips64vr4100 because
...
igen is not ready yet.
1998-02-19 21:28:50 +00:00
Nick Clifton
4630c94949
Add more tests.
1998-02-19 19:43:18 +00:00
Nick Clifton
d03da19e36
Added a couple of tests.
1998-02-19 19:16:54 +00:00
Ian Lance Taylor
ccac0df194
* configure.in: Don't build libgui for a cygwin32 target when not on
...
a cygwin32 host.
1998-02-19 18:43:09 +00:00
Gavin Romig-Koch
f319bab251
* interp.c (load_memory): Add missing "break"'s.
1998-02-19 15:24:10 +00:00
Doug Evans
1ece1d561b
* config/tc-dvp.c: Include stdarg.h/varargs.h.
...
(md_pseudo_table): Add .word.
(assemble_dma): Set alignment to 16 bytes. Enable code that records
fixups.
(assemble_one_insn): Handle DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}.
(md_apply_fix3): Handle DVP_OPERAND_DMA_ADDR.
(parse_dma_addr_autocount): Renamed from parse_dma_ptr_autocount.
Rewrite.
(eval_expr): New function.
(create_label,create_colon_label): New function.
(s_enddmadata): Rewrite.
1998-02-19 10:24:15 +00:00
Doug Evans
c9320f0675
* dvp.h (DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}): Split
...
DVP_OPERAND_DMA_PTR_AUTOCOUNT into two.
(dma_operand_{count,addr}): Declare.
1998-02-19 10:10:32 +00:00
Richard Henderson
9c0e2b9ee4
* Makefile.am (install-exec-local): Install properly when ln
...
fails or tooldir == prefix.
1998-02-19 07:44:04 +00:00
Nick Clifton
65850016ba
Special case handling of updates to the condition bit to allow for the fact
...
that it is shadowed by several registers.
1998-02-19 02:13:27 +00:00
Doug Evans
1028c33feb
* tc-dvp.c: Allow FAKE arguments to have a parser handler.
1998-02-19 00:40:15 +00:00
Doug Evans
a48a6f2301
Allow FAKE arguments to have a parser handler.
1998-02-19 00:39:38 +00:00
Doug Evans
18daef646e
fix thinko in last patch
1998-02-18 23:57:47 +00:00
Doug Evans
19f12fb41c
* config/tc-dvp.c (parse_float): New function.
...
(assemble_vu): Handle loi insns.
(assemble_one_insn): Simplify suffix parsing.
Handle DVP_OPERAND_FLOAT.
1998-02-18 23:56:15 +00:00
Doug Evans
1b4817e3c3
* dvp-dis.c (print_vu): Handle loi insns.
...
(print_insn): Likewise.
* dvp-opc.c (vu_lower_opcodes): Add "loi".
1998-02-18 23:49:27 +00:00
Nick Clifton
20419451ad
Added --Wp and --Wnp abbreviations for --[no-]warn-explicit-parallel-conflicts.
...
Forced parallel constructions to use non-relaxable aliases of insns.
1998-02-18 22:35:08 +00:00
Frank Ch. Eigler
e23069923b
* Started PKE sim unit testing. A number of minor errors were corrected.
...
A few PKE instructions even run correctly! Next missing function of
interest: FIFO pruning.
* sky-pke.c (pke_issue): Take extra SIM_DESC argument.
(pke_attach): Attach correct PKE0/PKE1 device. Open trace file if
VIF{0,1}_TRACE_FILE env. var. is defined.
(pke_io_write_buffer): Classify words in FIFO quadword. Use
kludgey sim_core routines to access DMA registers.
(pke_pc_advance): Add PKEcode classification. Correct DMA tag
skipping. Emit trace records.
(pke_pc_fifo): Add PKEcode operand classification.
(pke_check_stall): Perform stall checks against updated register
scheme.
(pke_code_unpack): Correct operand-count calculation.
(pke_code_stmask): Correct instruction skipping.
* sky-pke.h (PKE_MEM_WRITE, PKE_MEM_READ): New kludge macros.
(BIT_MASK_BTW): Corrected off-by-one error.
(enum wordclass): Classify words in a FIFO quadword.
* sky-dma.c (dma_io_read_buffer): Correct address checking assertions.
* sky-engine.c (engine_run): Pass along SIM_DESC to PKE
instruction issue code.
1998-02-18 21:26:38 +00:00
Doug Evans
b1c9871889
Delete rac-d,rac-ds,rach-d,rach-ds, they're aliases.
1998-02-18 20:39:02 +00:00
Doug Evans
cf6145bc28
.Sanitize for devo/sim/testsuite/sim/m32r.
1998-02-18 20:37:27 +00:00
Jeff Law
0983e650e5
* simops.c (multiply instructions): Cast input operands to a
...
signed64/unsigned64 type as appropriate.
1998-02-18 20:05:53 +00:00
Nick Clifton
af82efaf88
Treat a double vertical bar as a seperator between instructions.
1998-02-18 19:01:59 +00:00
James Lemke
3733e09fb6
DMA define names changed (SRCADDR -> MADR).
1998-02-18 16:47:03 +00:00
Doug Evans
e4cf2977c7
(CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS.
1998-02-18 07:57:59 +00:00
Doug Evans
deaa05853b
* cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.
1998-02-18 05:46:37 +00:00
Andrew Cagney
8dcc896d0e
Extend sim-trace.[hc] to include a generic set of macro's for tracing
...
ALU/... inputs/outputs.
Base implementation on original v850 code.
Update igen to generate code interfacing with newer sim-trace.[hc].
1998-02-18 04:11:09 +00:00
Doug Evans
5871376494
* config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch.
1998-02-18 04:04:07 +00:00
Doug Evans
63aa1c7407
* cen.c (cgen_md_apply_fix3): Delete call to validate_operand.
...
Test result of insert_operand for error.
1998-02-18 02:59:52 +00:00
Doug Evans
98a112c069
* dvp-opc.c (parse_vfreg): Dest spec is optional.
...
(print_vfreg): Don't print dest spec.
(parse_accdest): Dest spec is optional.
(print_accdest): Don't print dest spec.
1998-02-18 02:50:58 +00:00
Doug Evans
1e796e1d54
* gas/dvp/{basic-1,lower-1,upper-1,upper-2}.d: Update to remove dest
...
spec on operands.
1998-02-18 02:46:36 +00:00
Richard Henderson
a3a4bb5d4a
* objcopy.c (compare_section_lma): Rename from _vma.
...
(copy_object): Gap fill based on LMA not VMA.
* binutils.texi: Update and clarify.
* objcopy.1: Likewise.
PR 14917
1998-02-18 02:45:07 +00:00
Doug Evans
0c22a4c125
remove #ifdef HAVE_CPU_M32RX uses. tweak some comments
1998-02-18 02:31:57 +00:00