* gas/ppc/machine.s: New.

* gas/ppc/machine.d: New.
	* gas/ppc/ppc.exp: Run it.
This commit is contained in:
Alan Modra 2003-11-21 15:05:55 +00:00
parent 69c040dfe9
commit 4bff14ba4d
4 changed files with 32 additions and 1 deletions

View File

@ -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.

View File

@ -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 .*

View File

@ -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

View File

@ -27,6 +27,7 @@ if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then {
if { [istarget powerpc*-*-*] } then {
run_dump_test "simpshft"
run_dump_test "machine"
if { [istarget powerpc-*-*aix*] } then {
run_dump_test "altivec_xcoff"