diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-10-14 10:58:41 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-10-14 10:58:41 +0200 |
commit | c46eb7b88a1261bc079bfbe2339060152bdf3527 (patch) | |
tree | 81c1781d1431c7cf1646d6d131bbed7baffdfc7d /gas | |
parent | efb068d3027d3f24430b1f8b5c2b6b02d3f37869 (diff) | |
download | gdb-c46eb7b88a1261bc079bfbe2339060152bdf3527.zip gdb-c46eb7b88a1261bc079bfbe2339060152bdf3527.tar.gz gdb-c46eb7b88a1261bc079bfbe2339060152bdf3527.tar.bz2 |
S/390: Fix instruction type of troo, trot, trto, and trtt.
opcodes/ChangeLog:
2015-10-14 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* s390-opc.c: Fix comment.
* s390-opc.txt: Change instruction type for troo, trot, trto, and
trtt to RRF_U0RER since the second parameter does not need to be a
register pair.
gas/testsuite/ChangeLog:
2015-10-14 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gas/s390/esa-g5.d: Use odd GPR for the second operand.
* gas/s390/esa-g5.s: Likewise.
* gas/s390/esa-z9-109.d: Likewise.
* gas/s390/esa-z9-109.s: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/s390/esa-g5.d | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/s390/esa-g5.s | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/s390/esa-z9-109.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/s390/esa-z9-109.s | 16 |
4 files changed, 24 insertions, 24 deletions
diff --git a/gas/testsuite/gas/s390/esa-g5.d b/gas/testsuite/gas/s390/esa-g5.d index 2ea72b1..07da026 100644 --- a/gas/testsuite/gas/s390/esa-g5.d +++ b/gas/testsuite/gas/s390/esa-g5.d @@ -464,11 +464,11 @@ Disassembly of section .text: .*: 01 ff [ ]*trap2 .*: b2 ff 5f ff [ ]*trap4 4095\(%r5\) .*: b2 a5 00 69 [ ]*tre %r6,%r9 -.*: b9 93 00 68 [ ]*troo %r6,%r8 -.*: b9 92 00 68 [ ]*trot %r6,%r8 +.*: b9 93 00 69 [ ]*troo %r6,%r9 +.*: b9 92 00 69 [ ]*trot %r6,%r9 .*: dd ff 5f ff af ff [ ]*trt 4095\(256,%r5\),4095\(%r10\) -.*: b9 91 00 68 [ ]*trto %r6,%r8 -.*: b9 90 00 68 [ ]*trtt %r6,%r8 +.*: b9 91 00 69 [ ]*trto %r6,%r9 +.*: b9 90 00 69 [ ]*trtt %r6,%r9 .*: 93 00 5f ff [ ]*ts 4095\(%r5\) .*: b2 35 5f ff [ ]*tsch 4095\(%r5\) .*: f3 58 5f ff af ff [ ]*unpk 4095\(6,%r5\),4095\(9,%r10\) diff --git a/gas/testsuite/gas/s390/esa-g5.s b/gas/testsuite/gas/s390/esa-g5.s index 1bdc4da..6b2a029 100644 --- a/gas/testsuite/gas/s390/esa-g5.s +++ b/gas/testsuite/gas/s390/esa-g5.s @@ -458,11 +458,11 @@ foo: trap2 trap4 4095(%r5) tre %r6,%r9 - troo %r6,%r8 - trot %r6,%r8 + troo %r6,%r9 + trot %r6,%r9 trt 4095(256,%r5),4095(%r10) - trto %r6,%r8 - trtt %r6,%r8 + trto %r6,%r9 + trtt %r6,%r9 ts 4095(%r5) tsch 4095(%r5) unpk 4095(6,%r5),4095(9,%r10) diff --git a/gas/testsuite/gas/s390/esa-z9-109.d b/gas/testsuite/gas/s390/esa-z9-109.d index d9cfcae..99310eb 100644 --- a/gas/testsuite/gas/s390/esa-z9-109.d +++ b/gas/testsuite/gas/s390/esa-z9-109.d @@ -6,12 +6,12 @@ Disassembly of section .text: .* <foo>: -.*: b9 93 f0 68 [ ]*troo %r6,%r8,15 -.*: b9 93 00 68 [ ]*troo %r6,%r8 -.*: b9 92 f0 68 [ ]*trot %r6,%r8,15 -.*: b9 92 00 68 [ ]*trot %r6,%r8 -.*: b9 91 f0 68 [ ]*trto %r6,%r8,15 -.*: b9 91 00 68 [ ]*trto %r6,%r8 -.*: b9 90 f0 68 [ ]*trtt %r6,%r8,15 -.*: b9 90 00 68 [ ]*trtt %r6,%r8 +.*: b9 93 f0 69 [ ]*troo %r6,%r9,15 +.*: b9 93 00 69 [ ]*troo %r6,%r9 +.*: b9 92 f0 69 [ ]*trot %r6,%r9,15 +.*: b9 92 00 69 [ ]*trot %r6,%r9 +.*: b9 91 f0 69 [ ]*trto %r6,%r9,15 +.*: b9 91 00 69 [ ]*trto %r6,%r9 +.*: b9 90 f0 69 [ ]*trtt %r6,%r9,15 +.*: b9 90 00 69 [ ]*trtt %r6,%r9 .*: b2 2b 00 69 [ ]*sske %r6,%r9 diff --git a/gas/testsuite/gas/s390/esa-z9-109.s b/gas/testsuite/gas/s390/esa-z9-109.s index c11fd38..ef64d73 100644 --- a/gas/testsuite/gas/s390/esa-z9-109.s +++ b/gas/testsuite/gas/s390/esa-z9-109.s @@ -1,13 +1,13 @@ .text foo: - troo %r6,%r8,15 - troo %r6,%r8 - trot %r6,%r8,15 - trot %r6,%r8 - trto %r6,%r8,15 - trto %r6,%r8 - trtt %r6,%r8,15 - trtt %r6,%r8 + troo %r6,%r9,15 + troo %r6,%r9 + trot %r6,%r9,15 + trot %r6,%r9 + trto %r6,%r9,15 + trto %r6,%r9 + trtt %r6,%r9,15 + trtt %r6,%r9 # z9-109 z/Architecture mode extended sske with an additional parameter # make sure the old version still works for esa sske %r6,%r9 |