diff options
author | Alan Modra <amodra@gmail.com> | 2003-11-21 15:05:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-11-21 15:05:55 +0000 |
commit | 4bff14ba4d839c9d07a559ae53d6019d403ac12b (patch) | |
tree | 198a2737f44b5816d2f6c4e6800ca07fccd3373c /gas | |
parent | 69c040dfe9f43c9145f787e1652738030690f5d9 (diff) | |
download | binutils-gdb-4bff14ba4d839c9d07a559ae53d6019d403ac12b.tar.gz |
* gas/ppc/machine.s: New.
* gas/ppc/machine.d: New.
* gas/ppc/ppc.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/machine.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/machine.s | 15 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/ppc.exp | 3 |
4 files changed, 32 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e3aec5b7c8b..447d3f68489 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-11-22 Alan Modra <amodra@bigpond.net.au> + + * gas/ppc/machine.s: New. + * gas/ppc/machine.d: New. + * gas/ppc/ppc.exp: Run it. + 2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * gas/mips/lca-svr4pic.d: New test for the "lca" macro. diff --git a/gas/testsuite/gas/ppc/machine.d b/gas/testsuite/gas/ppc/machine.d new file mode 100644 index 00000000000..4c217596f09 --- /dev/null +++ b/gas/testsuite/gas/ppc/machine.d @@ -0,0 +1,9 @@ +#objdump: -s -j .text +#name: PowerPC .machine test + +.* + +Contents of section \.text: + 0000 7c11eba6 7c100ba6 4c000066 00000200 .* + 0010 44000002 4c0000a4 7c000224 4e800020 .* + 0020 7c11eba6 .* diff --git a/gas/testsuite/gas/ppc/machine.s b/gas/testsuite/gas/ppc/machine.s new file mode 100644 index 00000000000..3c6abfa70a3 --- /dev/null +++ b/gas/testsuite/gas/ppc/machine.s @@ -0,0 +1,15 @@ + .machine "403" + .text + mtpid 0 + .machine push + .machine "booke" + mtpid 0 + .machine Any + rfci + attn + sc + rfsvc + tlbiel 0 + blr + .machine pop + mtpid 0 diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index b891a95caaa..0dd4648f021 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -26,7 +26,8 @@ if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then { } if { [istarget powerpc*-*-*] } then { - run_dump_test "simpshft" + run_dump_test "simpshft" + run_dump_test "machine" if { [istarget powerpc-*-*aix*] } then { run_dump_test "altivec_xcoff" |