Frank Ch. Eigler [Wed, 25 Feb 1998 01:08:47 +0000 (01:08 +0000)]
* 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".
Doug Evans [Wed, 25 Feb 1998 01:05:10 +0000 (01:05 +0000)]
(s_endgif): Update. NLOOP is in quadwords for IMAGE mode now.
Doug Evans [Wed, 25 Feb 1998 00:57:19 +0000 (00:57 +0000)]
(gif_regs): Add new register number/name changes.
Doug Evans [Wed, 25 Feb 1998 00:55:32 +0000 (00:55 +0000)]
(gif_reg): Add recent register name/number changes.
Ian Carmichael [Tue, 24 Feb 1998 23:37:20 +0000 (23:37 +0000)]
* A bunch of changes which get us closer to running the sample.
Doug Evans [Tue, 24 Feb 1998 22:10:28 +0000 (22:10 +0000)]
(print_gif): Fix word order.
Doug Evans [Tue, 24 Feb 1998 22:08:40 +0000 (22:08 +0000)]
(UNIQUE_LABEL_PREFIX): New macro.
(unique_label): Use it.
(assemble_gif): Emit start label before mach label.
(s_endgif): Update.
Doug Evans [Tue, 24 Feb 1998 21:56:44 +0000 (21:56 +0000)]
* dvp-opc.c (gif_operands): Fix word order.
(gif_opcodes): Likewise.
({insert,extract,print}_gif_regs): Likewise.
Doug Evans [Tue, 24 Feb 1998 21:39:58 +0000 (21:39 +0000)]
(s_endgif): Change length mismatched errors to warnings.
Doug Evans [Tue, 24 Feb 1998 20:57:58 +0000 (20:57 +0000)]
* 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
Doug Evans [Tue, 24 Feb 1998 20:40:41 +0000 (20:40 +0000)]
(create_colon_label): New argument `sto'. All callers updated.
(record_mach): New argument `force_next_p'. All callers updated.
(cpu_sto): New function.
Jason Molenda [Tue, 24 Feb 1998 19:25:44 +0000 (19:25 +0000)]
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.
Nick Clifton [Tue, 24 Feb 1998 19:23:07 +0000 (19:23 +0000)]
Removed saved_symbol code as it is no longer needed.
Nick Clifton [Tue, 24 Feb 1998 19:07:28 +0000 (19:07 +0000)]
Fixed bug displaying symbols in big endian arms.
Doug Evans [Tue, 24 Feb 1998 19:04:22 +0000 (19:04 +0000)]
* config/tc-dvp.h (tc_frob_label): Define.
* config/tc-dvp.c (dvp_frob_label): New function.
Doug Evans [Tue, 24 Feb 1998 18:46:29 +0000 (18:46 +0000)]
* dvp.h (dvp_cpu): Add DVP_UNKNOWN.
(vif_insn_len): Update prototype.
Mark Alexander [Tue, 24 Feb 1998 05:07:11 +0000 (05:07 +0000)]
* 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.
Mark Alexander [Tue, 24 Feb 1998 05:00:53 +0000 (05:00 +0000)]
* nltvals.def: Regenerate with MN10300 additions.
Andrew Cagney [Tue, 24 Feb 1998 03:42:27 +0000 (03:42 +0000)]
Add tracing to r5900 p* instructions.
Frank Ch. Eigler [Tue, 24 Feb 1998 02:10:23 +0000 (02:10 +0000)]
* PKE sim unit testing continuing. Starting to run milestone sample.
* sky-pke.h (PKE_MEM_READ): Removed "read" entry from FIFO trace.
* sky-pke.c (pke_attach): Set trace file to line buffering iff
open.
(pke_io_read_buffer, pke_io_write_buffer): Handle erroneous
reads/writes by zero-padding.
(pke_io_write_buffer): Switch to more bit-field definition macros.
(pke_issue): Remove "stalled" entry from FIFO trace.
(pke_pc_advance): Correct logic for DMA-tag-skipping, PKEcode
classification.
(pke_code_mskpath3): Sketch of possible PATH3 masking method.
(pke_code_mpg): Keep order of lower/upper VU words as supplied.
(pke_code_unpack): Logic change for wl/cl/num unpacking. Weird.
Ian Lance Taylor [Tue, 24 Feb 1998 00:53:38 +0000 (00:53 +0000)]
* configure.in: Add elf.lo to elf shell variable.
* Makefile.am (BFD_LIBS): Remove elf.lo.
(BFD_LIBS_CFILES): Remove elf.c.
(BFD32_BACKENDS): Add elf.lo.
(BFD32_BACKENDS_CFILES): Add elf.c.
* configure, Makefile.in: Rebuild.
Doug Evans [Tue, 24 Feb 1998 00:00:18 +0000 (00:00 +0000)]
* config/tc-dvp.c (assemble_dma): Do alignment before parsing insn.
(setup_dma_autocount): Renamed from setup_autocount. New argument
inline_p. All callers changed. Fix word address of count.
(parse_dma_addr_autocount): Fix word address of address.
Ulrich Drepper [Mon, 23 Feb 1998 23:58:16 +0000 (23:58 +0000)]
(elf_i386_relocate_section): A pc-relative relocation against a
now-local symbol should not have a dynamic relocation.
Doug Evans [Mon, 23 Feb 1998 23:56:04 +0000 (23:56 +0000)]
(dma_operands): Fix word numbers.
(dma_opcodes): Likewise.
({insert,extract}_dma_flags): Likewise.
James Lemke [Mon, 23 Feb 1998 23:50:39 +0000 (23:50 +0000)]
Added sanitization for my latest changelog entry.
Ron Unrau [Mon, 23 Feb 1998 23:40:40 +0000 (23:40 +0000)]
Make it compile again for -DTARGET_SKY
Ian Lance Taylor [Mon, 23 Feb 1998 22:48:20 +0000 (22:48 +0000)]
* emultempl/pe.em (sort_sections): Permit the wildcard to include
a trailing '*' when sorting grouped sections.
* scripttempl/pe.sc: Include grouped sections using NAME\$*. Only
include them when relocating.
James Lemke [Mon, 23 Feb 1998 22:27:12 +0000 (22:27 +0000)]
Instead of changing the names of .bss etc, add .vubss etc via
the macro ELF_TC_SPECIAL_SECTIONS. As per Ian's suggestion.
Doug Evans [Mon, 23 Feb 1998 21:36:15 +0000 (21:36 +0000)]
* sim-main.h: #include symcat.h.
* m32r-sim.h (BRANCH_NEW_PC): Delete current_cpu arg.
(NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros.
* cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
* sem.c,sem-switch.c: Regenerate.
* m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec.
* mloopx.in: Rewrite.
* cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
Doug Evans [Mon, 23 Feb 1998 21:28:14 +0000 (21:28 +0000)]
* cgen-sim.h (SEM_NEXT_PC): New arg `len'.
Doug Evans [Mon, 23 Feb 1998 21:20:37 +0000 (21:20 +0000)]
* m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.
Ian Lance Taylor [Mon, 23 Feb 1998 21:18:30 +0000 (21:18 +0000)]
* peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in
COFF filehdr flags.
(pe_print_private_bfd_data): Print PE flags. From Mikey
<jeffdb@netzone.com>.
Doug Evans [Mon, 23 Feb 1998 21:17:29 +0000 (21:17 +0000)]
* cgen-asm.c: Include symcat.h.
* cgen-dis.c,cgen-opc.c,cgen-asm.in,cgen-dis.in: Ditto.
Nick Clifton [Mon, 23 Feb 1998 20:31:19 +0000 (20:31 +0000)]
Implment backup PC shadowing of CR6.
Ian Lance Taylor [Mon, 23 Feb 1998 19:46:52 +0000 (19:46 +0000)]
* Makefile.in (INSTALL_MODULES): Move install-tcl before
install-itcl.
(install-itcl): Remove dependency on install-tcl.
Doug Evans [Mon, 23 Feb 1998 19:30:18 +0000 (19:30 +0000)]
* cgen.c: #include symcat.h.
* config/tc-m32r.c: Likewise.
Doug Evans [Mon, 23 Feb 1998 18:39:25 +0000 (18:39 +0000)]
* cgen.h (CGEN_CAT3): Delete. Use CONCAT3 now.
(cgen_insn): Record syntax and format entries here, rather than
separately.
Doug Evans [Mon, 23 Feb 1998 18:21:14 +0000 (18:21 +0000)]
* sim-xcat.h: Delete.
* cgen-mem.h: Delete inclusion of sim-xcat.h.
* cgen-sim.h: Ditto.
* sim-alu.h: Replace sim-xcat.h with symcat.h.
* sim-n-bits.h: Ditto.
* sim-n-core.h: Ditto.
* sim-n-endian.h: Ditto.
Michael Meissner [Mon, 23 Feb 1998 18:21:13 +0000 (18:21 +0000)]
Handle short reads and EOF
Mark Alexander [Mon, 23 Feb 1998 18:03:48 +0000 (18:03 +0000)]
* configure.in: Remove libgloss from noconfigdirs for MN10300.
Doug Evans [Mon, 23 Feb 1998 17:53:31 +0000 (17:53 +0000)]
* dvp-opc.c (extra_dma_flags): Fix typos.
Mark Alexander [Mon, 23 Feb 1998 17:51:23 +0000 (17:51 +0000)]
* Makefile.in: Get header files from libgloss/mn10300/sys.
Jeff Law [Mon, 23 Feb 1998 17:35:44 +0000 (17:35 +0000)]
* gas/mips/vr5400.s: Use absolute expression for performance
register number.
* gas/mips/vr5400.d: Corresponding changes.
* gas/mips/r5900.s: Use absolute expression for performance
register number.
* gas/mips/r5900.d: Corresponding changes.
Jeff Law [Mon, 23 Feb 1998 17:32:21 +0000 (17:32 +0000)]
* mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'.
Jeff Law [Mon, 23 Feb 1998 17:29:31 +0000 (17:29 +0000)]
* gas/mips/vr5400.s: Use absolute expression for performance
register number.
* gas/mips/r5900.s: Use absolute expression for performance
register number.
Jeff Law [Mon, 23 Feb 1998 17:26:25 +0000 (17:26 +0000)]
* config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
absolute expressions instead of '$' prefixed register names.
Mark Alexander [Mon, 23 Feb 1998 17:01:02 +0000 (17:01 +0000)]
* config/mn10300-eval.exp: New file to support MN10300 eval board.
Andrew Cagney [Mon, 23 Feb 1998 16:55:38 +0000 (16:55 +0000)]
sim-main.h: Re-arange r5900 registers so that they have their own
little struct.
interp.c: Update. Also add floating point Max/Min functions.
mips.igen: Remove r5900 tag from any floating point instructions.
r5900.igen: Rewrite. Implement *all* floating point insns (except ld/st).
r5400.igen: Tag mdmx functions as being mdmx specific.
Andrew Cagney [Mon, 23 Feb 1998 16:43:34 +0000 (16:43 +0000)]
Add tracing of booleans and addresses.
Andrew Cagney [Mon, 23 Feb 1998 16:40:34 +0000 (16:40 +0000)]
Specify correct values for REGISTER_RAW_SIZE.
If a SIM/GDB register size botch, warn the user once.
Andrew Cagney [Mon, 23 Feb 1998 14:43:13 +0000 (14:43 +0000)]
Generate ENGINE_ISSUE hooks as part of SMP simulator.
Andrew Cagney [Mon, 23 Feb 1998 09:18:30 +0000 (09:18 +0000)]
* sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
(sim_fpu_fpto, sim_fpu_tofp): Define.
Andrew Cagney [Mon, 23 Feb 1998 08:55:41 +0000 (08:55 +0000)]
* ld-insn.c (parse_function_record): When -Wnodiscard, suppress
discarded function warning.
* igen.c (main): Clarify -Wnodiscard.
* ld-insn.c (parse_function_record): For functions, allow use of
instruction style function model records
Ian Lance Taylor [Mon, 23 Feb 1998 04:53:58 +0000 (04:53 +0000)]
remove sparclinux.h
Richard Henderson [Mon, 23 Feb 1998 04:41:18 +0000 (04:41 +0000)]
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
a plt entry when we can determine that we authoritatively define
the symbol.
Richard Henderson [Mon, 23 Feb 1998 04:37:04 +0000 (04:37 +0000)]
* configure.in (COREFILE selection): Remove sparc-*-linux*. They
don't actually use trad-core, but a SunOS-style core file handled
by gdb directly.
* hosts/sparclinux.h: Remove.
Andrew Cagney [Mon, 23 Feb 1998 00:06:33 +0000 (00:06 +0000)]
Keep include/regs.
Jeff Law [Sun, 22 Feb 1998 22:59:43 +0000 (22:59 +0000)]
* simops.c: Include sim-types.h.
Richard Henderson [Sun, 22 Feb 1998 06:36:20 +0000 (06:36 +0000)]
* read.c (s_set): Record file and line info for symbols when -as.
(pseudo_set): Don't overwrite that dummy fragment.
PR 14986
Doug Evans [Sat, 21 Feb 1998 07:44:25 +0000 (07:44 +0000)]
(vu_count): New static local.
(assemble_vif): Temporary hack to properly align mpg/direct data.
(assemble_vu): Insert mpg every 256 insns.
Doug Evans [Sat, 21 Feb 1998 06:28:46 +0000 (06:28 +0000)]
tc-dvp.c (cur_mach): New static local.
(record_mach): New function.
(md_begin): Initialize `cur_mach'.
(assemble_*): Record current mach type.
Doug Evans [Sat, 21 Feb 1998 06:28:18 +0000 (06:28 +0000)]
(cur_mach): New static local.
(record_mach): New function.
(md_begin): Initialize `cur_mach'.
(assemble_*): Record current mach type.
Doug Evans [Sat, 21 Feb 1998 06:26:41 +0000 (06:26 +0000)]
(extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
(vif_insn_len): Handle `unpack'.
({insert,extract}_dma_flags): Complete.
Doug Evans [Sat, 21 Feb 1998 03:26:47 +0000 (03:26 +0000)]
(asm_state_stack): Maintain stack of parsing states.
({push,pop,set}_asm_state): New functions.
(CUR_ASM_STATE): Renamed from cur_asm_state, all uses updated.
Doug Evans [Sat, 21 Feb 1998 02:12:15 +0000 (02:12 +0000)]
(asm_state): New state ASM_GIF.
(gif_{insn_type,data_name,insn_frag}): New static locals.
(md_assemble): Watch for .endgif if in ASM_GIF state.
(assemble_gif): Complete.
(s_endgif): Complete.
Doug Evans [Sat, 21 Feb 1998 02:09:02 +0000 (02:09 +0000)]
* dvp-dis.c (print_gif): Complete.
* dvp-opc.c (gif_operands,gif_opcodes): Complete.
(state_gif_{nregs,regs,nloop}): New static locals.
(*_gif_*): Complete.
(dvp_opcode_init_{parse,print}): Init gif state locals.
Doug Evans [Sat, 21 Feb 1998 02:03:08 +0000 (02:03 +0000)]
* dvp.h (GIF_MAX_NLOOP,GIF_PRE): New macros.
(gif_type): New type.
(gif_nloop,gif_nregs,gif_operand_nloop): Declare.
Tom Tromey [Sat, 21 Feb 1998 00:05:01 +0000 (00:05 +0000)]
* configure: Don't let builds be done in source tree.
Frank Ch. Eigler [Fri, 20 Feb 1998 23:59:10 +0000 (23:59 +0000)]
* PKE sim unit testing continuing. The DIRECT and MPG instructions
were hammered in today's runs. Work is beginning in endian-proofing
the code.
* sky-pke.c (pke1_issue): Issue on correct PKE device.
(pke_io_write_buffer, pke_code_mpg, pke_code_unpack): Perform more
endian conversions.
(pke_code_mpg, pke_code_direct): Add operand alignment assertions.
(pke_code_mpg): Correct VU stall checks. Correct VU opcode
transfer ordering.
(pke_code_direct): Correct typos in DIRECT operand accessing.
(pke_code_unpack): Correct conditional sign-extension handling.
* sky-gpuif.c (gif_io_read_buffer, gif_io_write_buffer): Correct
assertion polarity.
(gif_read_tag): Disable faulty DMA-tag testing code.
Michael Meissner [Fri, 20 Feb 1998 21:54:06 +0000 (21:54 +0000)]
fix typo
Nick Clifton [Fri, 20 Feb 1998 21:01:05 +0000 (21:01 +0000)]
Fixed UNLOCK test.
Nick Clifton [Fri, 20 Feb 1998 20:56:35 +0000 (20:56 +0000)]
Fixed MVFC test.
Nick Clifton [Fri, 20 Feb 1998 20:52:30 +0000 (20:52 +0000)]
Fix REMU test.
Doug Evans [Fri, 20 Feb 1998 20:48:39 +0000 (20:48 +0000)]
* confirg/tc-dvp.c (md_assemble): Handle ASM_DIRECT state.
(dvp_parse_done): Comment out contents.
(s_enddirect,s_endmpg,s_endunpack): Call demand_empty_rest_of_line.
(s_state): Handle .vu in included file.
Ian Lance Taylor [Fri, 20 Feb 1998 20:04:09 +0000 (20:04 +0000)]
* config/tc-ppc.c (md_pseudo_table): Add "section".
(ppc_named_section): New static function.
Nick Clifton [Fri, 20 Feb 1998 19:55:27 +0000 (19:55 +0000)]
More instruction tests.
Nick Clifton [Fri, 20 Feb 1998 19:01:58 +0000 (19:01 +0000)]
Last of the instruction tests.
Jeff Law [Fri, 20 Feb 1998 08:27:32 +0000 (08:27 +0000)]
* gas/mips/r5900.s, gas/mips/r5900.d: Update for "mula.s" change.
Jeff Law [Fri, 20 Feb 1998 08:25:59 +0000 (08:25 +0000)]
Fix it right this time.
Jeff Law [Fri, 20 Feb 1998 08:22:48 +0000 (08:22 +0000)]
* mips-opc.c (mula.s): Renamed from multa.s.
Andrew Cagney [Fri, 20 Feb 1998 07:20:53 +0000 (07:20 +0000)]
Implement sim_fpu_is() and sim_fpu_cmp(). Note problem with detecting
denorms.
Richard Henderson [Fri, 20 Feb 1998 06:27:12 +0000 (06:27 +0000)]
* tc-ppc.c (ppc_biei): Cache the last symbol we inserted
so we don't have to scan the entire list.
Fred Fish [Fri, 20 Feb 1998 05:52:58 +0000 (05:52 +0000)]
Fixup my email addresses to be at cygnus.com
Fred Fish [Fri, 20 Feb 1998 05:47:40 +0000 (05:47 +0000)]
* config/tc-d30v.c (parallel_ok): For the explicitly parallel
case, allow the parallel instructions to modify the same flag
bits.
PR 14883
Fred Fish [Fri, 20 Feb 1998 05:41:08 +0000 (05:41 +0000)]
Fix minor typos in comments
Andrew Cagney [Fri, 20 Feb 1998 03:20:49 +0000 (03:20 +0000)]
Backout of revision 1.35. Abort may be valid operation.
Nick Clifton [Fri, 20 Feb 1998 02:04:46 +0000 (02:04 +0000)]
More instruction tests.
Frank Ch. Eigler [Fri, 20 Feb 1998 01:50:01 +0000 (01:50 +0000)]
* 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.
Doug Evans [Fri, 20 Feb 1998 00:57:03 +0000 (00:57 +0000)]
* m32r-opc.[ch]: Regenerate.
John Metzler [Fri, 20 Feb 1998 00:52:37 +0000 (00:52 +0000)]
remove long long printf crash
Doug Evans [Fri, 20 Feb 1998 00:45:47 +0000 (00:45 +0000)]
* 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.
Doug Evans [Fri, 20 Feb 1998 00:32:30 +0000 (00:32 +0000)]
(DVP_OPCODE_IGNORE_DIS): New macro.
Nick Clifton [Fri, 20 Feb 1998 00:30:14 +0000 (00:30 +0000)]
Yet more tests of m32r instructions
Richard Henderson [Fri, 20 Feb 1998 00:16:51 +0000 (00:16 +0000)]
* listing.c (list_symbol_table): Categorize symbols by
undefined_section rather than sy_frag->line == NULL.
PR 14986
Nick Clifton [Thu, 19 Feb 1998 23:56:39 +0000 (23:56 +0000)]
Even more instruction tests
Nick Clifton [Thu, 19 Feb 1998 23:18:45 +0000 (23:18 +0000)]
Test even more instructions.
Doug Evans [Thu, 19 Feb 1998 22:51:08 +0000 (22:51 +0000)]
* 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.
Doug Evans [Thu, 19 Feb 1998 22:40:08 +0000 (22:40 +0000)]
Rewrite dma operands/opcodes tables.
Doug Evans [Thu, 19 Feb 1998 22:37:34 +0000 (22:37 +0000)]
* dvp.h (DVP_OPERAND_DMA_*): Rewrite.
(DVP_OPERAND_AUTOCOUNT): New modifier.
(dma_operand_{count,addr}): Declare.
Nick Clifton [Thu, 19 Feb 1998 21:52:27 +0000 (21:52 +0000)]
test 32 bit BCL instruction.