aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2017-05-29 12:36:57 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2017-05-30 10:32:44 +0200
commitffc61c5de1a5a89e3e37fb9376725c32a839c34d (patch)
treeafaaa83c95d907a473fc05cda78844321886c8cb /gas/testsuite
parenta09f2586017aeed82fa07c8bfea6c75859295bd9 (diff)
downloadgdb-ffc61c5de1a5a89e3e37fb9376725c32a839c34d.zip
gdb-ffc61c5de1a5a89e3e37fb9376725c32a839c34d.tar.gz
gdb-ffc61c5de1a5a89e3e37fb9376725c32a839c34d.tar.bz2
S/390: Add ipte/idte variants with optional operands
This patch adds missing variants of ipte and idte instructions added with later CPU generations. ipte got an optional operand with z196 and another one with zEC12. idte got an optional operand with zEC12 opcodes/ChangeLog: 2017-05-30 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * s390-opc.c: Add new idte/ipte variants. * s390-opc.txt: Likewise. gas/ChangeLog: 2017-05-30 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * testsuite/gas/s390/zarch-z196.d: Add new idte/ipte variants. * testsuite/gas/s390/zarch-z196.s: Likewise. * testsuite/gas/s390/zarch-zEC12.d: Likewise. * testsuite/gas/s390/zarch-zEC12.s: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/s390/zarch-z196.d2
-rw-r--r--gas/testsuite/gas/s390/zarch-z196.s2
-rw-r--r--gas/testsuite/gas/s390/zarch-zEC12.d23
-rw-r--r--gas/testsuite/gas/s390/zarch-zEC12.s7
4 files changed, 25 insertions, 9 deletions
diff --git a/gas/testsuite/gas/s390/zarch-z196.d b/gas/testsuite/gas/s390/zarch-z196.d
index 3889d32..c68b43a 100644
--- a/gas/testsuite/gas/s390/zarch-z196.d
+++ b/gas/testsuite/gas/s390/zarch-z196.d
@@ -259,4 +259,6 @@ Disassembly of section .text:
.*: b9 2c 00 00 [ ]*pcc
.*: b9 2d 60 59 [ ]*kmctr %r5,%r6,%r9
.*: b9 28 00 00 [ ]*pckmo
+.*: b2 21 00 69 [ ]*ipte %r6,%r9
+.*: b2 21 b0 69 [ ]*ipte %r6,%r9,%r11
.*: 07 07 [ ]*nopr %r7
diff --git a/gas/testsuite/gas/s390/zarch-z196.s b/gas/testsuite/gas/s390/zarch-z196.s
index 31be5a6..612a2f7 100644
--- a/gas/testsuite/gas/s390/zarch-z196.s
+++ b/gas/testsuite/gas/s390/zarch-z196.s
@@ -261,3 +261,5 @@ foo:
pcc
kmctr %r5,%r6,%r9
pckmo
+ ipte %r6,%r9
+ ipte %r6,%r9,%r11
diff --git a/gas/testsuite/gas/s390/zarch-zEC12.d b/gas/testsuite/gas/s390/zarch-zEC12.d
index a4be510..1999a12 100644
--- a/gas/testsuite/gas/s390/zarch-zEC12.d
+++ b/gas/testsuite/gas/s390/zarch-zEC12.d
@@ -54,16 +54,21 @@ Disassembly of section .text:
.*: b2 e8 c0 56 [ ]*ppa %r5,%r6,12
.*: b9 8f 60 59 [ ]*crdte %r5,%r6,%r9
.*: b9 8f 61 59 [ ]*crdte %r5,%r6,%r9,1
-.*: c5 a0 0c 00 00 0c [ ]*bprp 10,12a <bar>,12a <bar>
-.*: c5 a0 00 00 00 00 [ ]*bprp 10,118 <foo\+0x118>,118 <foo\+0x118>
-[ ]*119: R_390_PLT12DBL bar\+0x1
-[ ]*11b: R_390_PLT24DBL bar\+0x3
-.*: c7 a0 00 00 00 00 [ ]*bpp 10,11e <foo\+0x11e>,0
-[ ]*122: R_390_PLT16DBL bar\+0x4
-.*: c7 a0 00 00 00 00 [ ]*bpp 10,124 <foo\+0x124>,0
-[ ]*128: R_390_PC16DBL baz\+0x4
+.*: b9 8e 90 6b [ ]*idte %r6,%r9,%r11
+.*: b9 8e 9d 6b [ ]*idte %r6,%r9,%r11,13
+.*: b2 21 00 69 [ ]*ipte %r6,%r9
+.*: b2 21 b0 69 [ ]*ipte %r6,%r9,%r11
+.*: b2 21 bd 69 [ ]*ipte %r6,%r9,%r11,13
+.*: c5 a0 0c 00 00 0c [ ]*bprp 10,13e <bar>,13e <bar>
+.*: c5 a0 00 00 00 00 [ ]*bprp 10,12c <foo\+0x12c>,12c <foo\+0x12c>
+[ ]*12d: R_390_PLT12DBL bar\+0x1
+[ ]*12f: R_390_PLT24DBL bar\+0x3
+.*: c7 a0 00 00 00 00 [ ]*bpp 10,132 <foo\+0x132>,0
+[ ]*136: R_390_PLT16DBL bar\+0x4
+.*: c7 a0 00 00 00 00 [ ]*bpp 10,138 <foo\+0x138>,0
+[ ]*13c: R_390_PC16DBL baz\+0x4
-000000000000012a <bar>:
+000000000000013e <bar>:
.*: 07 07 [ ]*nopr %r7
diff --git a/gas/testsuite/gas/s390/zarch-zEC12.s b/gas/testsuite/gas/s390/zarch-zEC12.s
index 4754b20..7da8799 100644
--- a/gas/testsuite/gas/s390/zarch-zEC12.s
+++ b/gas/testsuite/gas/s390/zarch-zEC12.s
@@ -53,6 +53,13 @@ foo:
crdte %r5,%r6,%r9
crdte %r5,%r6,%r9,1
+ idte %r6,%r9,%r11
+ idte %r6,%r9,%r11,13
+
+ ipte %r6,%r9
+ ipte %r6,%r9,%r11
+ ipte %r6,%r9,%r11,13
+
bprp 10,bar,bar
bprp 10,bar@PLT,bar@PLT