aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2009-04-01 01:41:07 +0000
committerPeter Bergner <bergner@vnet.ibm.com>2009-04-01 01:41:07 +0000
commit42240548bff3ab683ff48c8eb0de53d1a9068aa4 (patch)
tree6f27e47a29a67fb709f7ccc438e7eef408305699 /gas/testsuite
parent1aa34cc52cb0b371e8663b77100bb7a26627c41c (diff)
downloadgdb-42240548bff3ab683ff48c8eb0de53d1a9068aa4.zip
gdb-42240548bff3ab683ff48c8eb0de53d1a9068aa4.tar.gz
gdb-42240548bff3ab683ff48c8eb0de53d1a9068aa4.tar.bz2
gas/
* config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop. gas/testsuite/ * gas/ppc/power7.d ("ori", ".p2align"): Add tests for group ending nop. * gas/ppc/power7.s: Likewise. * gas/ppc/power6.d: Likewise. * gas/ppc/power6.s: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/ppc/power6.d2
-rw-r--r--gas/testsuite/gas/ppc/power6.s2
-rw-r--r--gas/testsuite/gas/ppc/power7.d4
-rw-r--r--gas/testsuite/gas/ppc/power7.s2
5 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index b881c61..82db4f0 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
+
+ * gas/ppc/power7.d ("ori", ".p2align"): Add tests for group ending nop.
+ * gas/ppc/power7.s: Likewise.
+ * gas/ppc/power6.d: Likewise.
+ * gas/ppc/power6.s: Likewise.
+
2009-03-30 Joseph Myers <joseph@codesourcery.com>
* gas/arm/mapsecs.d, gas/arm/mapsecs.s: New.
diff --git a/gas/testsuite/gas/ppc/power6.d b/gas/testsuite/gas/ppc/power6.d
index c4d1ff0..bf75982 100644
--- a/gas/testsuite/gas/ppc/power6.d
+++ b/gas/testsuite/gas/ppc/power6.d
@@ -69,3 +69,5 @@ Disassembly of section \.text:
ec: 7d 6a 02 74 cbcdtd r10,r11
f0: 7d 6a 02 34 cdtbcd r10,r11
f4: 7d 4b 60 94 addg6s r10,r11,r12
+ f8: 60 21 00 00 ori r1,r1,0
+ fc: 60 21 00 00 ori r1,r1,0
diff --git a/gas/testsuite/gas/ppc/power6.s b/gas/testsuite/gas/ppc/power6.s
index 9f5cde1..106468f 100644
--- a/gas/testsuite/gas/ppc/power6.s
+++ b/gas/testsuite/gas/ppc/power6.s
@@ -64,3 +64,5 @@ start:
cbcdtd 10,11
cdtbcd 10,11
addg6s 10,11,12
+ ori 1,1,0
+ .p2align 4,,15
diff --git a/gas/testsuite/gas/ppc/power7.d b/gas/testsuite/gas/ppc/power7.d
index b8dae90..b974183 100644
--- a/gas/testsuite/gas/ppc/power7.d
+++ b/gas/testsuite/gas/ppc/power7.d
@@ -111,3 +111,7 @@ Disassembly of section \.text:
194: ed c0 78 34 frsqrtes f14,f15
198: ed c0 78 35 frsqrtes\. f14,f15
19c: 7c 43 27 1e isel r2,r3,r4,28
+ 1a0: 60 42 00 00 ori r2,r2,0
+ 1a4: 60 00 00 00 nop
+ 1a8: 60 00 00 00 nop
+ 1ac: 60 42 00 00 ori r2,r2,0
diff --git a/gas/testsuite/gas/ppc/power7.s b/gas/testsuite/gas/ppc/power7.s
index 2e2448a..7736452 100644
--- a/gas/testsuite/gas/ppc/power7.s
+++ b/gas/testsuite/gas/ppc/power7.s
@@ -104,3 +104,5 @@ power7:
frsqrtes 14,15
frsqrtes. 14,15
isel 2,3,4,28
+ ori 2,2,0
+ .p2align 4,,15