From: amodra Date: Mon, 12 Nov 2007 00:29:12 +0000 (+0000) Subject: * gas/ppc/regnames.d: New. X-Git-Tag: EOL_registry_mounts~1677 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cf4663943facd9fd53e48f0e8067543f1a2c8f5d;p=pf3gnuchains%2Fpf3gnuchains4x.git * gas/ppc/regnames.d: New. * gas/ppc/regnames.s: Likewise. * gas/ppc/ppc.exp: Run it. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index cab5e4bdba..1859b5c59b 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-11-12 Tristan Gingold + + * gas/ppc/regnames.d: New. + * gas/ppc/regnames.s: Likewise. + * gas/ppc/ppc.exp: Run it. + 2007-11-07 Tristan Gingold * ia64-dis.c (print_insn_ia64): Generate symbolic names for cr diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index 69d1f4a9ee..817f505e5a 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -30,6 +30,7 @@ if { [istarget powerpc64*-*-*] || [istarget *-*-elf64*]} then { if { [istarget powerpc*-*-*] } then { run_dump_test "simpshft" run_dump_test "machine" + run_dump_test "regnames" if { [istarget powerpc-*-*aix*] } then { run_dump_test "altivec_xcoff" diff --git a/gas/testsuite/gas/ppc/regnames.d b/gas/testsuite/gas/ppc/regnames.d new file mode 100644 index 0000000000..ebc6b4267f --- /dev/null +++ b/gas/testsuite/gas/ppc/regnames.d @@ -0,0 +1,8 @@ +#as: -mregnames +#objdump: -s -j .text +#name: PowerPC symbolic regnames + +.* + +Contents of section \.text: + 0000 4fbdcb82 88850004 .* diff --git a/gas/testsuite/gas/ppc/regnames.s b/gas/testsuite/gas/ppc/regnames.s new file mode 100644 index 0000000000..dc15513e15 --- /dev/null +++ b/gas/testsuite/gas/ppc/regnames.s @@ -0,0 +1,3 @@ + .text + cror 4*%cr7+gt,%cr7*4+gt,4*%cr6+gt + lbz r4,4(r5)