[binutils-gdb] s390: Add test for .insn pseudo-mnemonic sse
Jens Remus
jremus@sourceware.org
Tue Nov 10 16:51:10 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=39f05e767c20c40fc107b48071ef18c7aba546ce
commit 39f05e767c20c40fc107b48071ef18c7aba546ce
Author: Jens Remus <jremus@linux.ibm.com>
Date: Tue Nov 10 17:46:03 2026 +0100
s390: Add test for .insn pseudo-mnemonic sse
While at it add comments to ESA/390 .insn pseudo-mnemonic test.
gas/testsuite/
* gas/s390/esa-operands.d (sse): Add comment.
* gas/s390/esa-operands.s (sse): Likewise.
* gas/s390/zarch-operands.d: Add test for .insn sse.
* gas/s390/zarch-operands.s: Likewise.
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diff:
---
gas/testsuite/gas/s390/esa-operands.d | 1 +
gas/testsuite/gas/s390/esa-operands.s | 2 +-
gas/testsuite/gas/s390/zarch-operands.d | 2 ++
gas/testsuite/gas/s390/zarch-operands.s | 1 +
4 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gas/testsuite/gas/s390/esa-operands.d b/gas/testsuite/gas/s390/esa-operands.d
index 50c6b8eddbe..0d0c62dbc55 100644
--- a/gas/testsuite/gas/s390/esa-operands.d
+++ b/gas/testsuite/gas/s390/esa-operands.d
@@ -35,5 +35,6 @@ Disassembly of section .text:
.*: 92 03 20 01 [ ]*mvi 1\(%r2\),3
# SS
.*: d2 15 30 01 50 04 [ ]*mvc 1\(22,%r3\),4\(%r5\)
+# SSE
.*: e5 01 20 01 40 03 [ ]*tprot 1\(%r2\),3\(%r4\)
#?.*: 07 07 [ ]*nopr %r7
diff --git a/gas/testsuite/gas/s390/esa-operands.s b/gas/testsuite/gas/s390/esa-operands.s
index 55173a90314..6b0c68c647c 100644
--- a/gas/testsuite/gas/s390/esa-operands.s
+++ b/gas/testsuite/gas/s390/esa-operands.s
@@ -14,4 +14,4 @@ foo:
.insn s,0xb2330000,1(%r2) # ssch 1(%r2)
.insn si,0x92000000,1(%r2),3 # mvi 1(%r2),3
.insn ss,0xd20000000000,1(((22-1)/16),%r3),4(%r5),((22-1)%16) # mvc 1(22,%r3),4(%r5)
- .insn sse,0xe50100000000,1(%r2),3(%r4)
+ .insn sse,0xe50100000000,1(%r2),3(%r4) # tprot 1(%r2),3(%r4)
diff --git a/gas/testsuite/gas/s390/zarch-operands.d b/gas/testsuite/gas/s390/zarch-operands.d
index 3f6c02ddf47..11689c91858 100644
--- a/gas/testsuite/gas/s390/zarch-operands.d
+++ b/gas/testsuite/gas/s390/zarch-operands.d
@@ -150,5 +150,7 @@ Disassembly of section .text:
.*: ef 13 20 de 41 bc [ ]*lmd %r1,%r3,222\(%r2\),444\(%r4\)
# SS-f
.*: e1 15 10 6f 20 de [ ]*pku 111\(%r1\),222\(22,%r2\)
+# SSE
+.*: e5 0a 10 6f 20 de [ ]*mvcrl 111\(%r1\),222\(%r2\)
.*: c8 50 20 01 40 03 [ ]*mvcos 1\(%r2\),3\(%r4\),%r5
#?.*: 07 07 [ ]*nopr %r7
diff --git a/gas/testsuite/gas/s390/zarch-operands.s b/gas/testsuite/gas/s390/zarch-operands.s
index 0d0fdf59f83..63edd36015e 100644
--- a/gas/testsuite/gas/s390/zarch-operands.s
+++ b/gas/testsuite/gas/s390/zarch-operands.s
@@ -76,4 +76,5 @@ foo:
.insn ss_d,0xd90000000000,111(%r1,%r2),222(%r3),%r4 # mvck 111(%r1,%r2),222(%r3),%r4
.insn ss_e,0xef0000000000,%r1,222(%r2),%r3,444(%r4) # lmd %r1,%r3,222(%r2),444(%r4)
.insn ss_f,0xe10000000000,111(%r1),222(22,%r2) # pku 111(%r1),222(22,%r2)
+ .insn sse,0xe50a00000000,111(%r1),222(%r2) # mvcrl 111(%r1),222(%r2)
.insn ssf,0xc80000000000,1(%r2),3(%r4),%r5
More information about the Binutils-cvs
mailing list