Commit graph

474 commits

Author SHA1 Message Date
David Edelsohn
3ffb03b170 Remove ARC sanitization. 1997-08-15 06:49:09 +00:00
Ian Lance Taylor
3529c5c385 * config/default.exp: Set AS and GASP to as-new, not as.new. 1997-08-06 04:33:45 +00:00
Ian Lance Taylor
0d2ac65711 * config/default.exp: Set NM to nm-new, not nm.new, to match
recent change in binutils build directory.
1997-08-05 16:34:03 +00:00
Jeff Law
f0a26f5665 * gas/v850/range.s: New test.
* gas/v850/basic.exp: Run it.
testcase for pr12944 related stuff.
1997-07-31 21:18:00 +00:00
Jeff Law
9f72a94f72 * gas/v850/hilo2.s: New test.
* gas/v850/fepsw.s: New test.
        * gas/v850/basic.exp: Run them.
1997-07-29 20:31:41 +00:00
David Edelsohn
e528bfeca8 * gas/m32r/uppercase.[sd]: New testcase.
* gas/m32r/m32r.exp: New file.
1997-07-15 20:04:40 +00:00
Ian Lance Taylor
b04d9d8a19 * gas/m68k/pcrel.d: Update for m68k disassembler changes.
* gas/m68k/operands.d: Likewise.
1997-06-16 18:34:35 +00:00
Gavin Romig-Koch
753d2b3eb6 End the tests with no-ops. 1997-06-02 16:04:54 +00:00
Gavin Romig-Koch
2865e9a89c Improve messages from regexp_diff 1997-06-02 15:49:26 +00:00
Ian Lance Taylor
a7b2f95a49 Wed May 7 16:18:30 1997 Manfred Hollstein <manfred@s-direktnet.de>
* gas/m88k/init.{s,d}: New checks for proper padding of
	.init sections.
	* gas/m88k/m88.exp: Run them.

	* gas/m68k/t2.d: New file for check of presence of section
	symbols on the m68k-motorola-sysv.
	* gas/m68k/all.exp: Run t2 if [istarget m68*-motorola-sysv].
1997-05-07 20:45:30 +00:00
Ian Lance Taylor
ae79a20bb8 * gas/mips/lifloat.s: Update for recent changes to floating point
handling.
	* gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d: Likewise.
	* gas/mips/lif-xgot.d, gas/mips/lifloat.d: Likewise.

	* gas/mips/mips.exp: Handle Irix 6 like Irix 5.
1997-05-07 20:14:19 +00:00
Ian Lance Taylor
e4f69291e6 Sat Apr 19 23:16:35 1997 Niklas Hallqvist <niklas@petra.appli.se>
* gas/mips/mips.exp: Handle OpenBSD like NetBSD.
1997-04-20 03:18:06 +00:00
Martin Hunt
0a09e92add Wed Apr 16 12:20:24 1997 Martin Hunt <hunt@cygnus.com>
* gas/d30v/d30.exp: Add optimizer test case.
	* gas/d30v/opt.s: Add conditional compilation tests.
	* gas/d30v/opt.d: Rebuild.
1997-04-16 19:28:31 +00:00
Gavin Romig-Koch
ff55d0fb84 Correct test for fpr pairs. 1997-04-16 13:22:25 +00:00
Gavin Romig-Koch
68952421e6 Correct test for fpr pairs. 1997-04-15 22:46:58 +00:00
Ian Lance Taylor
5c57b91389 * gas/all/float.s: Put a tab before .text, to keep the PA happy. 1997-04-04 22:50:43 +00:00
Ian Lance Taylor
8d5f01200f * gas/arm/arm.exp: Only run inst and arm7t on targets which can
handle -EL.  Add setup_xfail for thumb.
1997-04-04 21:57:17 +00:00
Ian Lance Taylor
452eaaca83 * gas/h8300/ffxx1.d: Don't fail if BFD is 64 bits. 1997-04-04 18:24:03 +00:00
David Edelsohn
8d89f3af98 * gas/m32r/allinsn.{exp,s.d}: New testcases. 1997-04-04 02:27:27 +00:00
David Edelsohn
4293fe5c65 m32r "allinsn" testcases 1997-04-04 02:26:33 +00:00
David Edelsohn
a7d373e51e Keep m32r. 1997-04-03 23:25:42 +00:00
Martin Hunt
8c0714dc0d Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30.exp: Add test case reloc.
	* reloc.[sd]: New files to test relocations.
1997-03-27 08:44:55 +00:00
Martin Hunt
e35ed894f7 Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* gas/d30v/d30.exp: Add test case reloc.
	* gas/d30v/reloc.[sd]: New files to test relocations.
1997-03-27 08:44:39 +00:00
Jeff Law
a76daba13d * gas/all/gas.exp: xfail a couple tests for the mn10300. 1997-03-05 20:02:27 +00:00
Fred Fish
64c21d14eb * gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d,
relocs2.d, relocs2b.d}: Adjust to objdump format tweaks.
1997-03-03 18:41:28 +00:00
Fred Fish
99cd62ed9c * gas/tic80/{align.d, align.lst, align.s} New test for the
".align" pseudop.
	* gas/tic80/tic80.exp: Run the align test.
1997-02-27 22:29:33 +00:00
Fred Fish
cf502a8d9b * gas/tic80/{float.d, float.lst, float.s}: New tests for
simple floating point operands.
	* gas/tic80/tic80.exp: Run the float test.
1997-02-27 03:39:10 +00:00
Martin Hunt
9a18fe60f7 Sanitize out D30V stuff. 1997-02-27 01:55:05 +00:00
Fred Fish
6c24f9c190 * gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d,
regops3.lst, regops3.s, regops4.d, regops4.lst, regops4.s}:
	New tests for :m and :s operand modifiers.
	* gas/tic80/tic80.exp: Run the regops2, regops3, and regops4 tests.
1997-02-26 22:24:38 +00:00
Ian Lance Taylor
7a9756bcc2 tweak for alignment 1997-02-25 19:47:05 +00:00
Ian Lance Taylor
b1a8b4d814 * gas/macros/semi.s: Force the final alignment to use a fill value
of 0.
1997-02-25 18:56:14 +00:00
Ian Lance Taylor
c98bb2d606 * gas/all/cond.s, gas/all/cond.d: New test.
* gas/all/gas.exp: Run it.
1997-02-25 18:47:08 +00:00
Fred Fish
dc40b39121 * gas/tic80/{add.d, bitnum.d, ccode.d, cregops.d, endmask.d,
regops.d, relocs1.d,
	(relocs1.c): Add file for reference.
	(relocs1b.d): Split reloc table contents test to different test file.
	(relocs2.c): Add test that uses various types (char, short, int, ...) of
	static and global variables with data shuffling to generate lots of ld/st
	instructions for the different types.
	(relocs2.d): New file, expected code for relocs2 test.
	(relocs2.lst): New file, TI assembler listing for reference.
	(relocs2.s): New file, assembly source for relocs2 test.
	(relocs2b.d): New file, expected reloc table contents for relocs2 test.
	(tic80.exp): Run the relocs1b, relocs2, and relocs2b tests.
1997-02-24 18:25:19 +00:00
Dawn Perchik
de614d4d67 * gas/all/itbl-test.c(main): Update function calls.
Remove parameters from itbl_get_reg_val and
	change itbl_get_insn_name to itbl_get_field.
1997-02-24 01:51:04 +00:00
Dawn Perchik
b9d4be84aa * gas/mips/itbl: Add comments.
* gas/mips/itbl.s: Add comments.  Prefix register names with $.
	* gas/all/itbl: Generic table for testing for itbl support.
	* gas/all/itbl.s: Generic assembly for testing for itbl support.
	* gas/mips/itbl-test.c: Moved to gas/all.
	* gas/all/itbl-test.c: Moved from gas/mips.
1997-02-24 01:17:50 +00:00
Fred Fish
ef60d6973c * gas/tic80/{add.lst, bitnum.lst, ccode.lst, cregops.lst,
endmask.lst, regops.lst}: Remove ^M's from end of lines.
	* gas/tic80/bitnum.s: Add comment to each line showing value
	that symbolic BITNUM assembles to.  Add coverage for raw
	numeric values for the BITNUM operand.
	* gas/tic80/bitnum.d: Update due to bitnum.s changes.
	* gas/tic80/regops.d: Update due to opcode library additions
	of floating point test BITNUM values that are ambiguous with
	the integral ones.
	* gas/tic80/relocs1.s: New test case that tests simple relocs.
	* gas/tic80/relocs1.d: Expected output for above.
	* gas/tic80/relocs1.lst: TI assembler listing for above.
	* gas/tic80/tic80.exp: Add relocs1 test.
1997-02-23 03:34:25 +00:00
Martin Hunt
80e3b2aa53 Fri Feb 21 14:23:14 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* gas/d30v/{align.d, align.s, d30.exp, guard.d, guard.s,
	inst.d, inst.s, opt.d, opt.s}: Test files for D30V.
1997-02-21 22:28:16 +00:00
Ian Lance Taylor
f87ac26665 * gas/macros/semi.s, gas/macros/semi.d: New test.
* gas/macros/macros.exp: Run it.
	* gas/mri/semi.s, gas/mri/semi.d: New test.
	* gas/mri/mri.exp: Run it.
Taken from PR 11715.
1997-02-19 05:57:55 +00:00
Jeff Law
52cdddd6fc * gas/hppa/unsorted/unsorted.exp (align4 tests): Tweak expected
output.
1997-02-18 20:38:14 +00:00
Ian Lance Taylor
7b12877f0b * gas/all/align.d, gas/all/align.s: New test.
* gas/all/gas.exp: Run it.
1997-02-14 22:58:34 +00:00
Ian Lance Taylor
19336eb964 * gas/mips/lif-svr4pic.d: Pass -EB when running the assembler.
* gas/mips/lif-xgot.d: Likewise.
	* gas/mips/ulh-svr4pic.d: Likewise.
	* gas/mips/ulh-xgot.d: Likewise.
1997-02-12 21:48:50 +00:00
Ian Lance Taylor
508f2139b6 * gas/mips/mips16.d: Update for yet another change in disassembly
output (this one is spacing only).
1997-02-12 17:33:41 +00:00
Fred Fish
28ddd87e57 * gas/tic80/{add.d, add.lst, add.s, bitnum.d, bitnum.lst, bitnum.s,
ccode.d, ccode.lst, ccode.s, cregops.d, cregops.lst, cregops.s,
	endmask.d, endmask.lst, endmask.s, regops.d, regops.lst, regops.s,
	tic80.exp}: New files for TIc80 test cases.
1997-02-11 22:04:35 +00:00
Ian Lance Taylor
b0c0b41ab1 * gas/mips/mips16.d: Update for change in disassembly output. 1997-02-11 20:47:25 +00:00
Dawn Perchik
a7f081a5be * gas/mips/itbl-test.c: Add copyright message and fix indentation. 1997-02-11 08:22:27 +00:00
Dawn Perchik
242ce3d857 * itbl-test.c: New file. Stand-alone assembler and dissassembler for
itbl support.
1997-02-11 01:57:34 +00:00
Dawn Perchik
a3c2c0f44e * gas/mips/itbl: New file. Instruction Spec for testing --itbl option.
* gas/mips/itbl.s: New file.  Assembly with ne2w instructions specified
	in itbl.
1997-02-11 01:21:14 +00:00
Fred Fish
ba35784cc8 Add tic80 directory to keep_these_too or lose_these_too. 1997-02-10 17:36:26 +00:00
Bob Manson
dfe6379731 Changes to replace references to "prune_system_crud" with
"prune_warnings".
1997-02-08 01:03:37 +00:00
Ian Lance Taylor
7b43bcb28c * gas/arm/inst.d, gas/arm/arm7t.d: Pass --prefix-addresses to
objdump.  Update for current relocation printing style.
1997-02-03 20:46:51 +00:00
Ian Lance Taylor
bcc4cbcef3 * gas/mips/mips16.d: Update for disassembler changes. 1997-01-30 16:57:54 +00:00
Bob Manson
787f622077 Major revision to testsuites for cross-testing and DOS testing support. 1997-01-29 09:40:31 +00:00
Angela Marie Thomas
b48daf747b handle all 4100/4300, not just elf 1997-01-23 11:15:19 +00:00
Ian Lance Taylor
d899ee85b4 * gas/mips/mips16.s, gas/mips/mips16.d: New test.
* gas/mips/mips.exp: Run mips16 test.

	* gas/mips/mips.exp: Run dli test unconditionally.
	* gas/mips/dli.s: Add text symbol.  Add nops to round to 16 byte
	boundary.
	* gas/mips/dli.d: Corresponding changes.
1997-01-02 21:51:31 +00:00
Ian Lance Taylor
4f1da13f33 * gas/sparc/synth.d: Use --prefix-addresses for objdump.
* gas/sparc/synth64.d: Likewise.
1996-12-31 18:03:58 +00:00
Angela Marie Thomas
e98c90e6ce change regexps to resemble disass output 1996-12-25 00:37:33 +00:00
Angela Marie Thomas
e682debfa3 fix typo 1996-12-17 20:02:15 +00:00
Ian Lance Taylor
029b826182 * gas/mips/*.[sd]: Add explicit nops, sometimes controlled by
.ifdef, to accomodate change to avoid default alignment on
	embedded systems.
1996-12-13 18:06:41 +00:00
Jeff Law
dfd832cb9b * gas/mn10300/basic.exp: Update after endianness changes to
the assembler.
1996-12-11 06:20:40 +00:00
Jeff Law
3b159258ad * gas/mn10200/{mov1.s,mov2.s,mov3.s,mov4.s,movx.s}: New tests.
* gas/mn10200/{movb.s, movbu.s}: Likewise.
        * gas/mn10200/basic.exp: Run them.
We correctly assemble & insert operands for all mn10200 instructions.
1996-12-10 20:06:33 +00:00
Jeff Law
9d49699b24 * gas/mn10200/*.s: New tests for the mn10200 assembler.
* gas/mn10200/basic.exp: Run them.
Tests for all instructions except mov*.
1996-12-10 00:14:35 +00:00
Jeff Law
8fbb3e909a * gas/mn10300/*.s: Remove '$' register prefixing. 1996-12-06 22:39:18 +00:00
Jeff Law
a0cb629bde * gas/mn10300/*.s: Use '$' as register prefix for
all register operands.
1996-11-25 18:42:32 +00:00
Jeff Law
d3931e9311 * gas/all/gas.exp: xfail a couple tests for the mn10300.
For now...
1996-11-21 18:51:56 +00:00
Jeff Law
b47b320db3 * gas/mn10300/other.s: Update for correct syntax on a
few instructions (those with register lists).
        * gas/mn10300/basic.exp: Corresponding changes.
Stuff noticed while working on the disassembler.
1996-11-20 18:31:12 +00:00
Jeff Law
440e84b262 * gas/mn10300/movm.s: Update for correct syntax.
* gas/mn10300/basic.exp: Update expected movm bit patterns.
1996-11-19 20:36:18 +00:00
Jeff Law
2583a05ba2 * gas/mn10300/other.s: Put parens around register
argument in calls and jmp instructions.
1996-11-15 20:57:53 +00:00
Jeff Law
7e405d7ed7 * gas/h8300/ffxx1.d: Update for recent disassembler changes.
Bring over from h8s beta branch.
1996-11-13 20:19:06 +00:00
Jeff Law
f8b8cdf8cc * gas/mn10300/basic.exp: Check opcode insertion for
extended instructions.
        * gas/mn10300/extend.s: Tweak constants for better
        testsuite coverage.
1996-11-07 07:27:44 +00:00
Jeff Law
4ba3a7a445 * gas/mn10300/basic.exp: Test insertion of operands
into call and jmp instructions with 32bit offsets.
        Fix typo in bit test patterns.
        * gas/mn10300/other.s: Tweak constants to improve
        testsuite coverage.
1996-11-06 22:08:38 +00:00
Jeff Law
7ebc8b47ef * gas/mn10300/basic.exp: Test insertion of 32bit operand
in calls, btst, bclr & bset instructions.
1996-11-06 21:23:32 +00:00
Jeff Law
a28b95d71d * gas/mn10300/*.s: Tweak constants in 32bit insns for
better testing coverage.
        * gas/mn10300/basic.exp: Test insertion of most 32bit
        operands.
1996-11-06 20:51:36 +00:00
Jeff Law
b4f2bb63da * gas/mn10300/basic.exp: Check bit patterns for indexed mov,
movbu, movhu instructions.  Check bit patterns for more bit
        operations.  Check bit patterns for various 16bit call, retf
        and ret instructions.
        * gas/mn10300/other.s: Update operands for better test coverage.
Improving testsuite coverage.
1996-11-05 20:35:04 +00:00
Jeff Law
9eb0125b6c * gas/mn10300/basic.exp: Check bit patterns for a
couple more mov and cmp instructions.
1996-11-04 19:56:27 +00:00
Ian Lance Taylor
3c02d99662 * gas/mips/*.d: Update for disassembler changes. 1996-10-29 22:22:35 +00:00
Jeff Law
148b365e90 * gas/v850/reloc.s: New tests.
* gas/v850/basic.exp: Run them.
1996-10-17 04:41:24 +00:00
Ian Lance Taylor
f5587846ed * gas/mips: Add symbols to several testsuites, since the ELF
assembler now always builds a symbol table, which means that
	objdump will no longer report `No symbols in FILE'.  Change the
	expected output accordingly.
1996-10-14 17:54:49 +00:00
Jeff Law
301ee34af4 * gas/mn10300/basic.exp: Check bit patterns for instructions
with a single 8bit or 16bit immediate operand.
We should correctly assemble just about everything except opcodes with:

  multiple immediate operands,
  3 register operands,
  really weird stuff
1996-10-10 22:05:54 +00:00
Jeff Law
d9f4450770 * gas/mn10300/basic.exp: Check bit patterns for many
instructions.  Add missing test in do_mov1.
        * gas/mn10300/mov1.s: Add missing test.
We should now assemble just about anything without any
immediate operands.
1996-10-10 19:13:48 +00:00
Jeff Law
c3fa8cd69c * gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests.
* gas/mn10300/{extend.s logical.s, loop.s, mov1.s}: Likewise.
        * gas/mn10300/{mov2.s, mov3.s, mov4.s, movbu.s}: Likewise.
        * gas/mn10300/{movhu.s, movm.s, muldiv.s, other.s}: Likewise.
        * gas/mn10300/{shift.s, sub.s}: Likewise.
        * gas/mn10300/basic.exp: Run them.
Beginnings of gas testsuite for mn10300.  Matsushita.
1996-10-09 20:19:00 +00:00
Jeff Law
7d6669623a Dummy .Sanitize files. Should also fix snapshot problems. 1996-10-07 22:55:13 +00:00
Jeff Law
ae1b99e42d Grrr. The mn10200 and mn10300 are _not_ similar enough to easily support
with a single generic configuration.  So break them up into two different
configurations.  See the individual ChangeLogs for additional detail.
1996-10-03 16:42:22 +00:00
Jeff Law
b5bfedbe6c * gas/mn10x00: New directory for Matsushita 10x00 tests.
Keep stubbing out Matsushita stuff.
1996-10-03 06:16:13 +00:00
Ian Lance Taylor
819a5edafd * lib/gas-defs.exp (gas_version): Fix for current version
printing.
1996-10-01 19:39:21 +00:00
David Edelsohn
a98ddff362 * gas/sparc/splet.d: Fix typo in cpusha result. 1996-09-29 14:57:04 +00:00
Ian Lance Taylor
913d896f5b * gas/all/cofftag.s: Use .p2align rather than .align. 1996-09-18 16:15:10 +00:00
Jeff Law
1b3b1c2d3c * gas/h8300/macs.s: Add "stmac" instructions.
* gas/h8300/basic.exp: Test them.
Somehow I forgot to test "stmac".
1996-09-13 21:27:22 +00:00
Jackie Smith Cashion
f17be6588b Thu Sep 12 10:25:45 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-arm.c (md_apply_fix3): Update two thumb instruction
 	slots when processing BL fixups.

	* config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
 	on the first half of the instruction.

Thu Sep 12 10:28:44 1996  James G. Smith  <jsmith@cygnus.co.uk>

	* gas/arm/thumb.s (back): Check assembly of Thumb BL.
1996-09-12 09:31:02 +00:00
Ian Lance Taylor
4a9149d501 * gas/mips/mips4.s, gas/mips/mips4.d: Use $fccN for condition code
registers.
1996-09-09 18:37:54 +00:00
Jackie Smith Cashion
1b68deb599 Wed Sep 4 11:24:29 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-mips.c (load_register): Remove unnecessary code that
 	was causing the high 32bits of 64bit constants to be lost.

Fixes PR10503. The compiler was producing the assembler code:
	dli $3,0xfffffffffffff
when constructing the softfloat library. Unfortunately it was being
incorrectly assembled.
1996-09-04 13:15:28 +00:00
Jeff Law
6cff464b3a * gas/v850/basic.exp (do_branch): Check offsets in branch insns.
(do_jumps): Likewise.
Now that we can resolve known branch targets.
1996-08-31 07:26:35 +00:00
Jeff Law
1a393e50be * gas/v850/misc.s: Tweak register numbers for better testing.
* gas/v850/basic.exp (misc_tests): Corresponding changes.
1996-08-30 19:59:06 +00:00
Jeff Law
1f17971dee * gas/v850/hilo.s: New testfile.
* gas/v850/basic.exp: Run hilo tests.
1996-08-30 06:40:44 +00:00
Jackie Smith Cashion
d833e7e3c8 Thu Aug 29 11:32:23 1996 James G. Smith <jsmith@cygnus.co.uk>
* gas/arm/arm7t.d: Explicitly force little-endian assembly.
1996-08-29 10:34:09 +00:00
Jeff Law
29fb63b671 * gas/v850/basic.exp (move_tests): Test instruction bit patterns.
* gas/v850/move.s: Tweak constants for better testing.
1996-08-23 20:29:34 +00:00
Jeff Law
8289ed0b65 * gas/v850/basic.exp (mem_tests): Test instruction bit patterns.
xfail sst and sld tests.
        (mov_tests): Remove bogus xfail.
        * gas/v850/mem.s: sst and sld instructions can only index from
        "ep" register.
1996-08-23 19:35:05 +00:00
Jeff Law
1fa751362b * gas/v850/basic.exp (logical_tests): Test instruction bit patterns.
Update addresses.
        * gas/v850/logical.s: Tweak constants for better testing.
1996-08-23 19:13:56 +00:00
Jeff Law
5bd7d77946 * gas/v850/basic.exp (jump_tests): Test instruction bit patterns,
but not displacements (yet).
1996-08-23 19:05:52 +00:00
Jeff Law
7be3453a1a * gas/v850/basic.exp (compare_tests): Test instruction bit patterns. 1996-08-23 18:58:09 +00:00
Jeff Law
78872957c4 * gas/v850/basic.exp (branch_tests): Test instruction bit patters,
but not displacements (yet).
1996-08-23 18:34:48 +00:00