diff options
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/all.exp | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/ctrl-1.d | 12 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/ctrl-1.s | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/ctrl-2.d | 11 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/ctrl-2.s | 2 |
6 files changed, 36 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 19cc782..5d24705 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-04-20 Nathan Sidwell <nathan@codesourcery.com> + + * gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New. + * gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New. + * gas/m68k/all.exp: Add them. + 2007-04-20 Alan Modra <amodra@bigpond.net.au> * gas/ppc/range64.s: New. diff --git a/gas/testsuite/gas/m68k/all.exp b/gas/testsuite/gas/m68k/all.exp index 88a3088..62badbc 100644 --- a/gas/testsuite/gas/m68k/all.exp +++ b/gas/testsuite/gas/m68k/all.exp @@ -52,6 +52,9 @@ if { [istarget m68*-*-*] || [istarget fido*-*-*] } then { run_dump_test arch-cpu-1 run_dump_test cpu32 + run_dump_test ctrl-1 + run_dump_test ctrl-2 + set testname "68000 operands" gas_run "operands.s" "-m68000" "2>err.out" if ![string match "child process exited abnormally" $comp_output] then { diff --git a/gas/testsuite/gas/m68k/ctrl-1.d b/gas/testsuite/gas/m68k/ctrl-1.d new file mode 100644 index 0000000..d434728 --- /dev/null +++ b/gas/testsuite/gas/m68k/ctrl-1.d @@ -0,0 +1,12 @@ +#name: ctrl-1.d +#objdump: -d +#as: -mcpu=5307 + +.*: file format .* + +Disassembly of section .text: + +0+ <.text>: + 0: 4e7b 0c04 movec %d0,%rambar0 + 4: 4e7b 0c04 movec %d0,%rambar0 + diff --git a/gas/testsuite/gas/m68k/ctrl-1.s b/gas/testsuite/gas/m68k/ctrl-1.s new file mode 100644 index 0000000..cac82d9 --- /dev/null +++ b/gas/testsuite/gas/m68k/ctrl-1.s @@ -0,0 +1,2 @@ + movec %d0,%rambar + movec %d0,%rambar0 diff --git a/gas/testsuite/gas/m68k/ctrl-2.d b/gas/testsuite/gas/m68k/ctrl-2.d new file mode 100644 index 0000000..00b8aa3 --- /dev/null +++ b/gas/testsuite/gas/m68k/ctrl-2.d @@ -0,0 +1,11 @@ +#name: ctrl-2.d +#objdump: -d +#as: -mcpu=5208 + +.*: file format .* + +Disassembly of section .text: + +0+ <.text>: + 0: 4e7b 0c05 movec %d0,%rambar1 + 4: 4e7b 0c05 movec %d0,%rambar1 diff --git a/gas/testsuite/gas/m68k/ctrl-2.s b/gas/testsuite/gas/m68k/ctrl-2.s new file mode 100644 index 0000000..3a36db0 --- /dev/null +++ b/gas/testsuite/gas/m68k/ctrl-2.s @@ -0,0 +1,2 @@ + movec %d0,%rambar + movec %d0,%rambar1 |