Commit Graph

349 Commits

Author SHA1 Message Date
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
Jeff Law
47183e0e38 * gas/v850/basic.exp (bit_tests): Test instruction bit patterns. 1996-08-23 18:26:59 +00:00
Jeff Law
ad9889dd59 * gas/v850/basic.exp (arith_tests): Test instruction bit patterns.
* gas/v850/arith.s: Tweak constants for better testing.
1996-08-23 18:16:02 +00:00
Jeff Law
827b80748b * gas/v850/basic.exp (misc_tests): No longer expect failures
assembling "ldsr" and "stsr" opcodes.
        * gas/v850/misc.s: Re-enable assembling of "ldsr" and "stsr"
        opcodes.
1996-08-23 17:42:00 +00:00
Jeff Law
0e8f9bd15e * config/tc-v850.c (reg_name_search): Generalize to search
any given register table.
        (register_name): Pass appropriate table and size to reg_name_search.
        (system_register_name): New function.
        (SYSREG_NAME_CNT): Define.
        (md_assemble): Handle operands which are system registers.
Still working on the parser..
1996-08-23 17:39:43 +00:00
Jeff Law
4fc797ff5c * gas/v850/basic.exp (misc_tests): No longer expect failures
assembling "trap" opcodes.
        * gas/v850/misc.s: Re-enable assembling of "trap" opcodes.
1996-08-23 17:10:41 +00:00
Jeff Law
50f7abfaed * gas/v850: New directory with v850 tests.
Beginnings of a gas testsuite for the v850.
1996-08-23 17:03:52 +00:00
Jackie Smith Cashion
ac5a75ae11 Thu Aug 15 16:25:05 1996 James G. Smith <jsmith@cygnus.co.uk>
* gas/arm/arm.exp: Change inst.s test to check objdump.
	* gas/arm/inst.d: Added.
1996-08-15 15:27:53 +00:00
Jackie Smith Cashion
3bce65a493 Thu Aug 15 16:06:02 1996 James G. Smith <jsmith@cygnus.co.uk>
* gas/arm/thumb.s: Added.
	* gas/arm/immed.s: Added.
	* gas/arm/arch4t.s: Added.
	* gas/arm/arm.exp: Updated to run the new tests.
1996-08-15 15:07:55 +00:00
Jeff Law
94dba90cdf * gas/h8300/misch.s: Reenable "eepmov.w" test.
* gas/h8300/miscs.s: Likewise.
        * gas/h8300/h8300.exp: Check for correct assembly of "eepmov.w"
        on the H8/300H and H8/S.  Don't expect it to fail.
1996-08-06 17:18:10 +00:00
David Edelsohn
1804c6a042 * gas/sparc/asi.s: Update ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE. 1996-07-31 17:58:42 +00:00
Jackie Smith Cashion
338946263a "testsuite/gas/arm/arm7t.s" and "testsuite/gas/arm/arm7t.d" added. 1996-07-31 15:00:18 +00:00
Jackie Smith Cashion
c479fc62f4 oWed Jul 31 15:41:42 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as
 	pre-cursor to adding Thumb support. Also added cpu_variant flag
 	information to each of the asm_flg structures.
	(md_parse_option): Updated ARM7 parsing to allow 't' for
 	thumb/halfword support, aswell as 'm' for long multiply.
	(md_show_usage): Updated help message.
	(md_assemble): Check that instruction flags are applicated to the
 	current cpu variant.
	(md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and
 	BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and
 	signextension instructions.
	(do_ldst): Generate halfword and signextension variants if
 	mnemonic flags match.
	(ldst_extend): Do not allow shifts in the offset field of halfword
 	or signextension instructions.
	(validate_offset_imm): Provide check on halfword and signextension
 	immediate range.
	(add_to_lit_pool): Merge identical literal pool values.

Wed Jul 31 15:55:12 1996  James G. Smith  <jsmith@cygnus.co.uk>

	* gas/arm/arm7t.s: Added.
	* gas/arm/arm7t.d: Added.
	* gas/arm/arm.exp: Updated to run the new test.
1996-07-31 14:57:57 +00:00
Ian Lance Taylor
f93e43a114 At the request of Andreas Schwab:
* gas/m68k/pcrel.d: Rename from schwab.d.
	* gas/m68k/pcrel.s: Rename from schwab.s.
1996-07-08 18:37:30 +00:00
Ian Lance Taylor
d1db6a9de2 Mon Jul 8 14:23:26 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* gas/m68k/schwab.d: Correct for ELF format.
	* gas/m68k/all.exp: Run "schwab" test for all targets.
1996-07-08 18:25:53 +00:00
Jeff Law
cf4c2392ef No longer need to sanitize away h8s stuff. 1996-07-05 19:05:26 +00:00
Jeff Law
d78f416f84 No longer sanitize away h8s stuff 1996-07-05 18:39:32 +00:00
Ian Lance Taylor
3f5d2072fb fix screwed up sanitization 1996-07-05 15:19:30 +00:00
Ian Lance Taylor
4ff09a4980 fix screwed up sanitization 1996-07-05 14:50:28 +00:00
Ian Lance Taylor
b19c462304 keep sh3e tests 1996-07-04 19:14:54 +00:00
Ian Lance Taylor
5c7bebdba4 Avoid DOS file naming problems:
* gas/h8300/branch.s: Rename from branches.s.
	* gas/h8300/branchh.s: Rename from branchesh.s.
start-sanitize-h8s
	* gas/h8300/branchs.s: Rename from branchess.s.
end-sanitize-h8s
	* gas/h8300/rotsh.s: Rename from rotshift.s.
	* gas/h8300/rotshh.s: Rename from rotshifth.s.
start-sanitize-h8s
	* gas/h8300/rotshs.s: Rename from rotshifts.s.
end-sanitize-h8s
	* gas/h8300/h8300.exp: Corresponding changes.
1996-07-04 18:26:59 +00:00
Ian Lance Taylor
fb81503c90 sanitize binutils 2.7 branch 1996-07-04 17:57:28 +00:00
Ian Lance Taylor
41c3da51ee tipo 1996-07-04 16:34:53 +00:00
Jackie Smith Cashion
36e5ed4cd4 Added "keep" entries for div-ilocks.d and mul-ilocks.d 1996-07-04 15:23:57 +00:00
Ian Lance Taylor
98c72b6dd7 * gas/all/gas.exp: Remove setup_xfail for h8300*-*-* for two tests
which now pass.
	* gas/h8300/h8300.exp: Fix regexp of mov32bug test to work on a 64
	bit host.
1996-07-03 18:23:06 +00:00
Ian Lance Taylor
5cd26e22ac * gas/all/gas.exp: Add setup_xfail for vax*-*-vms* for 930509a
test.
	* gas/vax/quad.exp: Expect a nop after the movq.
1996-06-29 22:22:37 +00:00