Alan Modra
9a6355046e
Modify .PARAM so we need an arg reloc.
2000-09-28 08:43:21 +00:00
Jim Wilson
d48ad4f3b6
Add missing fpcmp instructions, and add missing fcmp/fpcmp tests.
...
* gas/ia64/opc-f.pl: Add missing fcmp and fpcmp tests.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
* ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
gt, ge, ngt, and nge.
* ia64-asmtab.c: Regenerate.
2000-09-22 22:34:41 +00:00
Jim Wilson
139368c9f3
Fix ia64 gas testsuite. Update ia64 DV tables. Fix ia64 gas testsuite again.
...
gas/ChangeLog
* config/tc-ia64.c (dv_sem): Add "stop".
(specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
(specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
(specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
match above.
(mark_resources): Check IA64_RS_PRr.
gas/testsuite/ChangeLog
* gas/ia64/dv-raw-err.s: Add new testcases for PR%, 16 - 62.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/dv-imply.d: Regenerate.
* gas/ia64/dv-mutex.d, gas/ia64/dv-raw-err.l, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/dv-war-err.l, gas/ia64/dv-waw-err.l,
gas/ia64/opc-f.d, gas/ia64/opc-i.d, gas/ia64/opc-m.d: Likewise.
include/opcode/ChangeLog
* ia64.h (enum ia64_dependency_semantics): Add IA64_DVS_STOP.
opcodes/ChangeLog
* ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
* ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
(lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
* ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
* ia64-asmtab.c: Regnerate.
2000-09-22 19:43:50 +00:00
Timothy Wall
7484b8e6d9
Eliminate false DVs on parallel compares.
2000-09-14 21:37:04 +00:00
Alan Modra
927781e250
Miscellaneous tiny fixes.
2000-09-05 03:53:02 +00:00
Timothy Wall
9a8f29e36f
Fix some ia64 gas failures.
2000-08-29 12:15:51 +00:00
H.J. Lu
5e0c222624
2000-08-21 H.J. Lu <hjl@gnu.org>
...
* gas/all/cofftag.d: Support the strict COFF.
2000-08-22 19:11:55 +00:00
Jim Wilson
50b81f1903
Fix 3 DV bugs, and a few minor cleanups.
...
gas/
* config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
postincrement modified registers. Handle IA64_OPND_R3_2 addl
source registers.
(note_register_values): Handle IA64_OPND_R3_2 operands.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add new tests for addl and postinc.
* gas/ia64/dv-raw-err.l: Likewise.
* gas/ia64/dv-waw-err.l: Update sed pattern.
* gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
include/opcode/
* ia64.h (IA64_OPCODE_POSTINC): New.
opcodes/
* ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
break, mov-immediate, nop.
* ia64-opc-f.c: Delete fpsub instructions.
* ia64-opc-m.c: Add POSTINC to all instructions with postincrement
address operand. Rewrite using macros to avoid long lines.
* ia64-opc.h (POSTINC): Define.
* ia64-asmtab.c: Regenerate.
2000-08-16 23:20:15 +00:00
Nick Clifton
8cb8bcbabb
Tidy up decoding of shift based addressing modes.
...
Add extra tests for these addressing modes
2000-08-16 19:02:00 +00:00
Hans-Peter Nilsson
e5da6f528f
Forgot to commit ChangeLog entry for CRIS gas tests. Oops.
2000-07-21 00:57:47 +00:00
Hans-Peter Nilsson
483f05e373
* gas/all/gas.exp: Don't run floating-point tests on CRIS.
...
* gas/ieee-fp/x930509a.exp: Ditto.
* gas/macros/macros.exp: Mark strings test xfail for CRIS.
2000-07-20 17:53:38 +00:00
Alan Modra
81366cb8f6
Fix a couple of HPPA SOM test failures.
...
Re-enable some tests for hppa-linux.
2000-07-19 04:55:14 +00:00
Nick Clifton
4b43d9f691
Fix expected results to match current assembler output.
2000-07-18 22:07:53 +00:00
Alan Modra
4b6341e9d2
Yet more hppa testuite tweaks for hppa-linux.
2000-07-10 15:21:05 +00:00
Nick Clifton
97b39d03ca
Fix expected results
...
Fix expected results.
2000-07-05 22:28:07 +00:00
Nick Clifton
fbe1e41fe2
Change the registers used in ldmac and stmac tests.
2000-06-29 23:44:41 +00:00
Nick Clifton
6b2539e3e6
Do not allow EITHER_BUT_PREFER_MU opcodes to be packed into reverse
...
sequential buckets, and warn if the user does so.
2000-06-27 18:21:39 +00:00
Timothy Wall
39bec121fb
TI C54x target.
2000-06-20 13:52:32 +00:00
Nick Clifton
60bcf0fa8c
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
...
for m68hc11 and m68hc12 processors.
2000-06-19 01:22:44 +00:00
Alan Modra
55d98a80d4
Don't start directives in first column.
2000-06-17 12:09:58 +00:00
H.J. Lu
8e1b6ed697
2000-06-14 H.J. Lu <hjl@gnu.org>
...
* gas/macros/strings.d: Support a.out and coff.
2000-06-14 18:12:26 +00:00
Nick Clifton
88830cd102
Remove 'mrs r9, cpsr_all' since the cpsr_all flag is no longer legal syntax.
2000-06-14 18:08:24 +00:00
Nick Clifton
aa787a8959
Add test of macro expansion of string arguments.
2000-06-13 21:23:28 +00:00
Alan Modra
a6b9488aec
Modify test to check line separator works.
2000-06-04 23:14:30 +00:00
Hans-Peter Nilsson
f48026f7d7
* gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.
2000-05-21 18:06:40 +00:00
Nick Clifton
322f2c4579
Add support for _x and _s flags to MSR instruction
2000-05-15 19:25:22 +00:00
Alan Modra
de950844b3
Ulf Carlsson's patches:
...
Include *-*-linux* in svr4pic tests
Test weak symbol handling.
2000-05-11 01:55:11 +00:00
Alan Modra
575bc3d64a
Fix breakage from 2000-03-31 bfd/srec.c change.
2000-05-08 10:11:19 +00:00
Alan Modra
36f8992610
Duplicate hppa*-*-*elf* behaviour for hppa*-*-linux*.
...
Fix elf tests for targets that define LABELS_WITHOUT_COLONS.
2000-05-01 23:56:49 +00:00
Nick Clifton
7fca9a7240
Fix tests to remove leading zeroes from labels
2000-05-01 18:08:39 +00:00
Alan Modra
ee68970f7e
Cope with PE relocs.
2000-04-25 07:19:46 +00:00
Jim Wilson
8d82e76a9d
Really fix last IA-64 gas testsuite failure.
...
* gas/ia64/opc-i.d: Change pmin2.u to pmin2. Change pmax2.u to pmax2.
Change MLI to MLX. Switch operands for output matching tbit.z.orcm,
tbit.z.andcm, tbit.nz.orcm, tbit.nz.andcm, tnat.z.orcm, tnat.z.andcm,
tnat.nz.orcm, tnat.nz.andcm inputs.
* gas/ia64/opc-i.pl: Insert padding nops before last dep.
* gas/ia64/opc-i.s: Regenerate.
2000-04-25 01:52:27 +00:00
Jim Wilson
c447920894
Fix last remaining IA-64 gas testsuite failure.
...
* gas/ia64/opc-i.s: Regenerate.
* gas/ia64/opc-f.pl: Add explicit stop at end.
2000-04-24 23:53:54 +00:00
Timothy Wall
bf3ca999c1
Clean up F-unit assembly and tests.
2000-04-23 02:53:35 +00:00
Jim Wilson
800eeca487
IA-64 ELF support.
2000-04-21 20:22:24 +00:00
Alan Modra
71851002d0
Add 16-bit immediate tests.
2000-04-03 12:20:55 +00:00
Alexandre Oliva
31254b20c5
* gas/mn10300/am33_5.s: Check that negative SP offsets are encoded
...
with 32 bits, not with the unsigned shorter opcodes.
* gas/mn10300/basic.exp: Likewise.
2000-04-01 23:46:53 +00:00
Alexandre Oliva
77f42f92d5
* lib/gas-defs.exp (regexp_diff): Don't break on the first
...
difference, list them all.
2000-03-31 18:54:24 +00:00
Nick Clifton
d1a1bf19b4
Add "bal" instruction pattern.
...
Add test of assembling "bal" instruction
2000-03-29 18:25:37 +00:00
Alan Modra
224de7a50d
Default LISTING_LHS_WIDTH to depend on LISTING_WORD_SIZE so that bytes per
...
line is 4. Fix tests for LISTING_WORD_SIZE==1.
2000-03-27 23:47:09 +00:00
Geoffrey Keating
bb2d6cd7b1
In bfd/:
...
* elf32-mips.c (mips_elf_next_relocation): Rename from
mips_elf_next_lo16_relocation, and generalize to look
for any relocation type.
(elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
(elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
(elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
(elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
(elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
(elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
(bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
(mips_rtype_to_howto): Likewise.
(mips_elf_calculate_relocation): Handle new relocs.
(_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
are paired. The addend for R_MIPS_GNU_REL16_S2
is shifted right two bits.
In gas/:
* config/tc-mips.c (mips_ip): Don't put stuff in .rodata
when embedded-pic.
* config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
implementation doesn't have special handling for switch
statements.
(macro_build): Allow for code in sections other than .text.
(macro): Likewise.
(mips_ip): Likewise.
(md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
Don't perform relocs if we will be outputting them.
(tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
embedded-pic.
In gas/testsuite/:
* gas/mips/empic.d: New file.
* gas/mips/empic.s: New file.
* gas/mips/mips16-e.d: New file.
* gas/mips/mips16-e.s: New file.
* gas/mips/mips16-f.d: New file.
* gas/mips/mips16-f.s: New file.
* gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an
expected failure.
In include/elf:
* mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16,
R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation
numbers.
2000-03-11 02:16:25 +00:00
H.J. Lu
11038c5ef1
2000-02-25 H.J. Lu <hjl@gnu.org>
...
* gas/i386/general.l: Support a.out and coff.
2000-02-26 00:49:27 +00:00
Alan Modra
084e9a84fa
Fix silly thinko in gas/i386/intel.s Mention i386.exp in ChangeLog
2000-02-25 11:55:50 +00:00
Alan Modra
cc5ca5ce51
Extend the i386 gas testsuite to do some tests for intel_syntax. Fix all
...
the errors exposed by this addition. These were intel mode
"fi... word ptr", "fi... dword ptr", "jmp Imm seg, Imm offset", "out dx,al".
The failure with intel "out dx,al" was also present in att "out al,dx".
Extend testsuite to catch this case too.
2000-02-25 11:41:12 +00:00
Nick Clifton
557537a556
Add ATPCS register naming support
2000-01-31 22:14:50 +00:00
Alan Modra
dfad2e408f
Fix gas x86 testsuite for a.out
2000-01-21 22:58:04 +00:00
Alan Modra
a3d1c52b07
gas/testsuite/ChangeLog
...
* gas/i386/general.{s,l}: Move 16 bit jmp and call tests from here
* gas/i386/jump16.{s,d}: To here.
* gas/i386/jump.{s,d}: New files. Duplicate 32 bit jmp and call
tests in general.s so that objdump is exercised.
* gas/i386/i386.exp: Call new tests.
2000-01-21 10:18:33 +00:00
Alan Modra
add0c67765
Cosmetic changes to tc-i386.[ch] + extend x86 gas testsuite jmp and
...
call tests + tweak intel mode far call and jmp.
2000-01-15 12:06:03 +00:00
Alan Modra
a8de59980c
Add jmp and call tests to prevent intel mode lossage creeping in again.
2000-01-15 04:46:00 +00:00
Jeff Law
433b86296f
Tue Nov 30 23:02:01 1999 Jeffrey A Law (law@cygnus.com)
...
* gas/mn10300/{am33.s, am33_2.s, am33_3.s}: New test files.
* gas/mn10300/{am33_4.s, am33_5.s, am33_6.s}: Likewise.
* gas/mn10300/{am33_7.s, am33_8.s}: Likewise.
* gas/mn10300/basic.exp: Run the am33 tests.
1999-12-01 10:41:44 +00:00