Commit graph

22018 commits

Author SHA1 Message Date
Frank Ch. Eigler
174ff2242b * R5900 COP2 sim testing in progress. The majority of instructions actually
work!

[ChangeLog.sky]

	* sky-vu.h (vu_device): Represent "macro instruction just stuffed
 	into fetch buffer" condition with new "m" bit.  Rename old "m" to
 	"l".

	* sky-libvpe.c (indebug): Save snapshot of environment value;
 	workaround for suspected memory corruption.
	(fetch_inst): Respect new "m" macro-instruction flag for reporting
 	successful fetch to caller.
	(exec_inst): Disassemble instruction here instead of fetch time.
  	Renamed old "m" -> "l" flag in VU state to track interlock
 	release.
	(vpecallms_cycle): Call exec_inst only if fetch_inst did some
 	work.

	* sky-vu.c (vu_attach, vu[01]_device): Revamped initialization to
 	ensure complete clear of tail part of struct at attach time.
	(vu0_busy): Fix thinko.
	(vu0_macro_issue): Adapt to new "l" flag.
	(vu0_micro_interlock_released): Ditto.
 	(write_vu_special_reg): Ditto.
	(read_vu_special_reg): Compute VBS0/VBS1 bits more explicitly.
  	The other VU status bits are not yet computed.

[ChangeLog]

	* interp.c (decode_coproc): Do not apply superfluous E (end) flag
 	to upper code of generated VU instruction.
1998-04-07 22:47:53 +00:00
Frank Ch. Eigler
0dee6af299 * COP2 testing in progress.
Tue Apr  7 18:31:47 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* t-cop2.s: New test for COP2 function.

	* Makefile.in: Added rule to assemble self-contained R5900 asm tests.
1998-04-07 22:45:56 +00:00
Doug Evans
34c1c9b86a Update. 1998-04-07 22:44:49 +00:00
Stan Shebs
c3292c179f end of an era 1998-04-07 22:17:30 +00:00
Dawn Perchik
af473842b9 * mdebugread.c (parse_partial_symbols): If this is an .mdebug
section in an ELF file, override a symbol's ECOFF section with its
        ELF section.  Also, fix stabs continuation where a stabs string
        continues for more than one continuation.
1998-04-07 21:12:23 +00:00
Jillian Ye
373df64120 Update Makefile.in to use dvp-el-as for SKY testcases.
: ----------------------------------------------------------------------
1998-04-07 21:10:30 +00:00
Gavin Romig-Koch
b7781f9fb6 * dwarf2.c (comp_unit): Move it earlier in the source. Add
addr_size.
	(read_address): Replace 'bdf*' argument with 'comp_unit*' argument.
        Use addr_size for address size, rather than sizeof(bfd_vma).
	(read_attribute): Replace bdf* argument with 'comp_unit*' argument.
	Fix call to read_address.
	(decode_line_info): Replace bdf* argument with 'comp_unit*' argument.
	Scrap other unneeded arguments.  Fix call to read_address.
	(scan_unit_for_functions): Fix call to read_attribute.
	(parse_comp_unit): We now handle more values for addr_size.
	Set addr_size in unit.  Fix call to read_attribute and
	decode_line_info.
1998-04-07 20:29:26 +00:00
Ian Carmichael
5faa69dac3 * Added missing ITOP instructions to test40,41,42,43. 1998-04-07 20:20:34 +00:00
Keith Seitz
4350602ff5 * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks. 1998-04-07 20:05:02 +00:00
Gavin Romig-Koch
d02731be5c * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null. 1998-04-07 19:56:50 +00:00
Ian Lance Taylor
d69831f684 * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
rcparse.h, and rcparse.c
	* Makefile.in: Rebuild.
1998-04-07 19:41:52 +00:00
Doug Evans
bfb27620b9 * config/tc-dvp.c (md_convert_frag): Fix thinko. 1998-04-07 19:26:40 +00:00
Ian Lance Taylor
55ca0ccbb6 Tue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org>
* configure.in (TESTBFDLIB): New.  Defined and substituted.
	* Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@.
	* configure, Makefile.in: Rebuild.
1998-04-07 17:37:33 +00:00
Ian Lance Taylor
0054bb2ad2 From hjl@lucon.org <H.J. Lu>:
* Makefile.am (diststuff): New target.
	* Makefile.in: Rebuild.
1998-04-07 16:44:30 +00:00
Ian Lance Taylor
1d9ee92437 * archures.c (bfd_default_scan): Add m68k cases back to default
switch, reverting patch of March 25, since IEEE support depends
	upon them.
1998-04-07 16:36:34 +00:00
Jillian Ye
f8c732a164 sce_main.c : Added "return 0;" to the end of main.
: ----------------------------------------------------------------------
1998-04-07 16:34:29 +00:00
Jillian Ye
5087a6057a sce* : files added for the SCE (feb28) testsuite (modified).
sce*_testN.* corresponds to the original testN/test.*
       *.vuasm    : MICRO code
       *.dvpasm   : DMAtag and VIF code description
       *.out_gif.dat : GIF output values for the corresponding testcase.
sce_main.c : driver file for the SCE testcases
sce_macro.s : SCE provided macro file needed by the SCE (feb28) testcases
refresh.s   : Needed by sce_main.c
Makefile.in : Updated to run make and run the SCE testsuite.

: ----------------------------------------------------------------------
1998-04-07 16:23:41 +00:00
Doug Evans
348738314c * gas/dvp/vif-4.[sd]: New testcase. 1998-04-07 03:25:32 +00:00
Doug Evans
a9589a2ca7 * config/tc-dvp.c (assemble_vif): 0 is a valid length value (= max+1).
(install_vif_length): 0 is a valid length value (= max+1).
1998-04-07 03:22:22 +00:00
Doug Evans
2df3bc2192 * dvp-opc.c (vif_macros): Tweak unpackloc operand.
(dvp_expand_macro): Implement.
	(insert_vif_datalen): Record value with max+1 -> 0 conversion.
	(vif_unpack_len): Perform 0 -> max+1 conversion on `wl' value.
1998-04-07 03:20:26 +00:00
Doug Evans
df7e97be20 * dvp.h (dvp_expand_macro): Declare.
(vif_macros,vif_macro_count): Declare.
1998-04-07 00:36:15 +00:00
Doug Evans
1741be004a * dvp-opc.c (vif_macros): Tweak unpackloc operand.
(dvp_expand_macro): Implement.
1998-04-07 00:19:58 +00:00
Doug Evans
b25ce8e1fa * config/tc-dvp.c (assemble_vif): Watch for macro insns. 1998-04-07 00:12:27 +00:00
Doug Evans
8632fe493a * gas/dvp/vif-3.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.
1998-04-07 00:10:22 +00:00
Frank Ch. Eigler
2ebb2a6855 * R5900 COP2 is now ready for testing. Let loose the dogs!
Mon Apr  6 19:55:56 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* interp.c (cop_[ls]q): Replaced stub with proper COP2 code.

	* sim-main.h (LOADADDRMASK): Redefine to allow 128-bit accesses
 	for TARGET_SKY.

	* r5900.igen (SQC2): Thinko.
1998-04-07 00:01:31 +00:00
Jillian Ye
0eebcbd7ab c_gen.pl: Added sub-routine perform_test64 to read and verify 64bit register. 1998-04-06 20:49:47 +00:00
Ian Lance Taylor
80ae9dea4b * Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
Makefile.in doesn't have an empty continuation line.
	(bin_PROGRAMS): Likewise.
	* Makefile.in: Rebuild.
1998-04-06 20:25:20 +00:00
Ian Lance Taylor
83a33a21ad * Makefile.am (ld.info): Invoke makeinfo with -I options directly
rather than relying on default rule.  Don't depend upon
	bfdsumm.texi.
	(ld.dvi): Likewise.
	(bfdsumm.texi): Remove target.
	(CLEANFILES): Take bfdsumm.texi out of value.
	* Makefile.in: Rebuild.
1998-04-06 19:35:06 +00:00
Ian Lance Taylor
258950c5c9 comment fix 1998-04-06 18:22:46 +00:00
Ian Lance Taylor
78e700af6a x 1998-04-06 18:08:43 +00:00
Ian Lance Taylor
89d617feb8 * Makefile.am (diststuff): New target.
* Makefile.in: Rebuild.
1998-04-06 18:08:13 +00:00
Ian Lance Taylor
97ca325aa4 * Makefile.am (STAGESTUFF): Remove variable.
(CLEANFILES): Don't remove $(STAGESTUFF).
	(DISTCLEANFILES, MAINTAINERCLEANFILES): New variables.
	* Makefile.in: Rebuild.
1998-04-06 18:07:58 +00:00
Ian Lance Taylor
5388e7d159 Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
	operand in the opcode.
1998-04-06 16:07:22 +00:00
Andrew Cagney
912e805f74 Declare array using MAX_REGISTER_RAW_SIZE, not REGISTER_RAW_SIZE(X) 1998-04-05 23:57:44 +00:00
Jeff Law
1fa0aaae75 * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of
som_offset when we have an extended name table.
1998-04-05 22:22:48 +00:00
Ian Lance Taylor
638985a9c9 Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>
* Makefile.am (stamp-lib): Check that .libs/libopcodes.a exists
	before trying to copy it.
	* Makefile.in: Rebuild.
1998-04-05 20:09:39 +00:00
Ian Lance Taylor
56231d310e Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>
* Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before
	trying to copy it.
	* Makefile.in: Rebuild.
1998-04-05 20:06:25 +00:00
Ian Lance Taylor
2a08e1decb * scripttempl/pe.sc: Use shell variables to avoid depending upon
how $ is handled when expanding a shell substitution.
1998-04-05 17:08:58 +00:00
Frank Ch. Eigler
ebcfd86a2e * R5900 COP2 function nearly complete. PKE sim now aware of new GPUIF
masking facility for PATH3 transfers.

[ChangeLog.sky]

Sun Apr  5 12:11:45 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* sky-libvpe.c (exec-inst): Added "M" bit detection for upper
 	instruction.

	* sky-pke.c (pke_check_stall): Added more assertions.
	(pke_code_mskpath3): Use new GPUIF M3P control register.

	* sky-pke.h (VU[01]_CIA): New macros that give VU CIA
 	pseudo-register addresses.

	* sky-vu.h (vu_device, VectorUnitState): Merged structs.
	(VectorUnitState.mflag): New field.
	(VU_REG_{CMSAR0,CMSAR1,FBRST}) Added missing control registers.

	* sky-vu.c (vu0_busy): New function.
	(vu0_q_busy): New function.
	(vu0_macro_issue): New function.
	(vu0_micro_interlock_released): New function.
	(vu0_busy_in_{micro,macro}_mode): Deleted stubs.
	(vu0_macro_hazard_check): Deleted stubs.
	(vu_attach): Adapted code to merged device & state struct.
	(read_vu_special_reg): Compute VBS0/VBS1 bits in STAT register.

[ChangeLog]
start-sanitize-sky
Sun Apr  5 12:05:44 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* interp.c (*): Adapt code to merged VU device & state structs.
	(decode_coproc): Execute COP2 each macroinstruction without
 	pipelining, by stepping VU to completion state.  Adapted to
	read_vu_*_reg style of register access.

	* mips.igen ([SL]QC2): Removed these COP2 instructions.

	* r5900.igen ([SL]QC2): Transplanted these COP2 instructions here.

	* sim-main.h (cop_[ls]q): Enclosed in TARGET_SKY guards.

end-sanitize-sky
1998-04-05 16:40:03 +00:00
Frank Ch. Eigler
d61cc1d4b1 * Test case patch for more functional GPUIF implementation
Sun Apr  5 12:34:56 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* t-pke3.trc: Modified to confirm parts of GPUIF PATH3-masking
 	functionality.
1998-04-05 16:37:04 +00:00
Andrew Cagney
64ed8b6a8c aclocal.m4: Don't enable inlining when cross-compiling.
mips/*: Tune mips simulator - allow all memory transfer code to be inlined.
1998-04-05 07:16:54 +00:00
Dawn Perchik
24a385253d * infrun.c: Fix prototype of signals_info to match static funtion. 1998-04-04 18:06:55 +00:00
Andrew Cagney
278bda4050 Cleanup INLINE support for simulators using common framework.
Make IGEN responsible for co-ordinating inlining of generated files.
By default, aclocal.m4 disabled all inlining.
1998-04-04 12:33:11 +00:00
Doug Evans
79cb0c8a2f tweak comment in last entry 1998-04-03 20:37:32 +00:00
Doug Evans
a3c63e840e * gas/dvp/relax-1.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.
1998-04-03 20:22:20 +00:00
Doug Evans
050ac694c5 * config/tc-dvp.c (assemble_vif): Put relaxable insns in their
own fragment.
1998-04-03 20:15:57 +00:00
Jillian Ye
f6f81e4a92 c_gen.pl: Added sub-routine process_data_reg64 to handle 64bit register
writes.
1998-04-03 19:59:11 +00:00
Ian Lance Taylor
5327f59f00 * Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
(MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*.
	(mostlyclean-local): New target.
	* Makefile.in: Rebuild.
1998-04-03 19:49:49 +00:00
Ian Lance Taylor
193bbe8581 * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum.
(DISTCLEANFILES): Add site.exp and site.bak.
	* Makefile.in: Rebuild.
1998-04-03 19:48:22 +00:00
Ian Lance Taylor
3c68cb41f4 x 1998-04-03 18:32:10 +00:00