aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2007-04-24 14:49:47 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-04-24 14:49:47 +0000
commitdacc8b01fdf113e946a68bb0aef04a5de00a6f89 (patch)
tree2deaf18add03e3d5118b6d75b916e953272dcdd7 /gas
parentfbb923013041867c7abbb54ed52ecded4c214251 (diff)
downloadgdb-dacc8b01fdf113e946a68bb0aef04a5de00a6f89.zip
gdb-dacc8b01fdf113e946a68bb0aef04a5de00a6f89.tar.gz
gdb-dacc8b01fdf113e946a68bb0aef04a5de00a6f89.tar.bz2
2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
* opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the opcode. * opcodes/s390-opc.txt (pfpo, ectg, csst): New z9-ec instructions added. 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z9-ec.d: Add pfpo, ectg and csst. * gas/s390/zarch-z9-ec.s: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/s390/zarch-z9-ec.d5
-rw-r--r--gas/testsuite/gas/s390/zarch-z9-ec.s7
3 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 3eaea07..4253c44 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * gas/s390/zarch-z9-ec.d: Add pfpo, ectg and csst.
+ * gas/s390/zarch-z9-ec.s: Likewise.
+
2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
* gas/m68k/br-isaa.s: New.
diff --git a/gas/testsuite/gas/s390/zarch-z9-ec.d b/gas/testsuite/gas/s390/zarch-z9-ec.d
index f2bb0bf..142ec0d 100644
--- a/gas/testsuite/gas/s390/zarch-z9-ec.d
+++ b/gas/testsuite/gas/s390/zarch-z9-ec.d
@@ -69,3 +69,8 @@ Disassembly of section .text:
.*: ed 61 20 03 00 51 [ ]*tget %f6,3\(%r1,%r2\)
.*: ed 61 20 03 00 55 [ ]*tgdt %f6,3\(%r1,%r2\)
.*: ed 61 20 03 00 59 [ ]*tgxt %f6,3\(%r1,%r2\)
+.*: 01 0a [ ]*pfpo
+.*: c8 31 10 0a 20 14 [ ]*ectg 10\(%r1\),20\(%r2\),%r3
+.*: c8 32 10 0a 20 14 [ ]*csst 10\(%r1\),20\(%r2\),%r3
+# Expect 2 bytes of padding.
+.*: 07 07 [ ]*bcr 0,%r7
diff --git a/gas/testsuite/gas/s390/zarch-z9-ec.s b/gas/testsuite/gas/s390/zarch-z9-ec.s
index 1543511..9139b75 100644
--- a/gas/testsuite/gas/s390/zarch-z9-ec.s
+++ b/gas/testsuite/gas/s390/zarch-z9-ec.s
@@ -63,3 +63,10 @@ foo:
tget %f6,3(%r1,%r2)
tgdt %f6,3(%r1,%r2)
tgxt %f6,3(%r1,%r2)
+ pfpo
+ ectg 10(%r1),20(%r2),%r3
+ csst 10(%r1),20(%r2),%r3
+ /* The following .data section is 4 byte aligned.
+ So we get 2 additional bytes of 07 07 wherefor
+ we have to provide an instruction. */
+ bcr 0,%r7