diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2007-04-23 07:51:33 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2007-04-23 07:51:33 +0000 |
commit | 9a2e615a9f06fd8aebee3da95ed551de303719bb (patch) | |
tree | 15e8e5a8082c1599f4fade2d368e986e08240d56 /gas/testsuite | |
parent | d069994d0ed41e8021c53fee1a7087aa8213f705 (diff) | |
download | gdb-9a2e615a9f06fd8aebee3da95ed551de303719bb.zip gdb-9a2e615a9f06fd8aebee3da95ed551de303719bb.tar.gz gdb-9a2e615a9f06fd8aebee3da95ed551de303719bb.tar.bz2 |
gas/testsuite/
* gas/m68k/br-isaa.s: New.
* gas/m68k/br-isaa.d: New.
* gas/m68k/br-isab.s: New.
* gas/m68k/br-isab.d: New.
* gas/m68k/br-isac.s: New.
* gas/m68k/br-isac.d: New.
* gas/m68k/all.exp: Adjust.
gas/
* config/tc-m68k.c (mcf54455_ctrl): New.
(HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
(m68k_archs): Add isac.
(m68k_cpus): Add 54455 family.
(m68k_ip): Split Bg into Bb, Bs, Bg.
(m68k_elf_final_processing): Add ISA_C.
* doc/c-m68k.texi (M680x0 Options): Add isac.
include/opcode/
* m68k.h (mcfisa_c): New.
(mcfusp, mcf_mask): Adjust.
bfd/
* archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac,
bfd_mach_mcf_isa_c_emac): New.
* elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry,
elf_isac_plt_entry, elf_isac_plt_info): New.
(elf32_m68k_object_p): Add ISA_C.
(elf32_m68k_print_private_bfd_data): Print ISA_C.
(elf32_m68k_get_plt_info): Detect ISA_C.
* cpu-m68k.c (arch_info): Add ISAC.
(m68k_arch_features): Likewise,
(bfd_m68k_compatible): ISAs B & C are not compatible.
opcodes/
* m68k-opc.c: Mark mcfisa_c instructions.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/all.exp | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/br-isaa.d | 15 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/br-isaa.s | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/br-isab.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/br-isab.s | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/br-isac.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/br-isac.s | 7 |
8 files changed, 81 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4ba13fa..3eaea07 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2007-04-23 Nathan Sidwell <nathan@codesourcery.com> + + * gas/m68k/br-isaa.s: New. + * gas/m68k/br-isaa.d: New. + * gas/m68k/br-isab.s: New. + * gas/m68k/br-isab.d: New. + * gas/m68k/br-isac.s: New. + * gas/m68k/br-isac.d: New. + * gas/m68k/all.exp: Adjust. + 2007-04-21 Richard Earnshaw <rearnsha@arm.com> * gas/arm/arch4t.d: Convert to unified syntax. diff --git a/gas/testsuite/gas/m68k/all.exp b/gas/testsuite/gas/m68k/all.exp index 62badbc..069d4af 100644 --- a/gas/testsuite/gas/m68k/all.exp +++ b/gas/testsuite/gas/m68k/all.exp @@ -52,6 +52,10 @@ if { [istarget m68*-*-*] || [istarget fido*-*-*] } then { run_dump_test arch-cpu-1 run_dump_test cpu32 + run_dump_test br-isaa + run_dump_test br-isab + run_dump_test br-isac + run_dump_test ctrl-1 run_dump_test ctrl-2 diff --git a/gas/testsuite/gas/m68k/br-isaa.d b/gas/testsuite/gas/m68k/br-isaa.d new file mode 100644 index 0000000..0b49dc2 --- /dev/null +++ b/gas/testsuite/gas/m68k/br-isaa.d @@ -0,0 +1,15 @@ +#name: br-isaa.d +#objdump: -d +#as: -march=isaa -pcrel + +.*: file format .* + +Disassembly of section .text: + +0+ <foo>: + 0: 4e71 nop + 2: 60fc bras 0 <foo> + 4: 6000 0000 braw 6 <foo\+0x6> + 8: 61f6 bsrs 0 <foo> + a: 6100 0000 bsrw c <foo\+0xc> + e: 4e71 nop diff --git a/gas/testsuite/gas/m68k/br-isaa.s b/gas/testsuite/gas/m68k/br-isaa.s new file mode 100644 index 0000000..d405338 --- /dev/null +++ b/gas/testsuite/gas/m68k/br-isaa.s @@ -0,0 +1,6 @@ +foo: nop + jbra foo + jbra bar + jbsr foo + jbsr bar + nop diff --git a/gas/testsuite/gas/m68k/br-isab.d b/gas/testsuite/gas/m68k/br-isab.d new file mode 100644 index 0000000..7ba48ff --- /dev/null +++ b/gas/testsuite/gas/m68k/br-isab.d @@ -0,0 +1,16 @@ +#name: br-isaa.d +#objdump: -d +#as: -march=isab -pcrel + +.*: file format .* + +Disassembly of section .text: + +0+ <foo>: + 0: 4e71 nop + 2: 61ff ffff fffc bsrl 0 <foo> + 8: 60f6 bras 0 <foo> + a: 60ff 0000 0000 bral c <foo\+0xc> + 10: 61ee bsrs 0 <foo> + 12: 61ff 0000 0000 bsrl 14 <foo\+0x14> + 18: 4e71 nop diff --git a/gas/testsuite/gas/m68k/br-isab.s b/gas/testsuite/gas/m68k/br-isab.s new file mode 100644 index 0000000..5db3c07 --- /dev/null +++ b/gas/testsuite/gas/m68k/br-isab.s @@ -0,0 +1,7 @@ +foo: nop + bsr.l foo + jbra foo + jbra bar + jbsr foo + jbsr bar + nop diff --git a/gas/testsuite/gas/m68k/br-isac.d b/gas/testsuite/gas/m68k/br-isac.d new file mode 100644 index 0000000..4a420ea --- /dev/null +++ b/gas/testsuite/gas/m68k/br-isac.d @@ -0,0 +1,16 @@ +#name: br-isaa.d +#objdump: -d +#as: -march=isac -pcrel + +.*: file format .* + +Disassembly of section .text: + +0+ <foo>: + 0: 4e71 nop + 2: 61ff ffff fffc bsrl 0 <foo> + 8: 60f6 bras 0 <foo> + a: 6000 0000 braw c <foo\+0xc> + e: 61f0 bsrs 0 <foo> + 10: 61ff 0000 0000 bsrl 12 <foo\+0x12> + 16: 4e71 nop diff --git a/gas/testsuite/gas/m68k/br-isac.s b/gas/testsuite/gas/m68k/br-isac.s new file mode 100644 index 0000000..5db3c07 --- /dev/null +++ b/gas/testsuite/gas/m68k/br-isac.s @@ -0,0 +1,7 @@ +foo: nop + bsr.l foo + jbra foo + jbra bar + jbsr foo + jbsr bar + nop |