[binutils-gdb] s390: Add test for .insn pseudo-mnemonic rrs
Jens Remus
jremus@sourceware.org
Tue Nov 10 16:49:49 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a643054c68ccb0247a8dd63e1283f7ef08b7de48
commit a643054c68ccb0247a8dd63e1283f7ef08b7de48
Author: Jens Remus <jremus@linux.ibm.com>
Date: Tue Nov 10 17:46:02 2026 +0100
s390: Add test for .insn pseudo-mnemonic rrs
gas/testsuite/
* gas/s390/zarch-operands.d: Add test for .insn rrs.
* gas/s390/zarch-operands.s: Likewise.
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diff:
---
gas/testsuite/gas/s390/zarch-operands.d | 2 ++
gas/testsuite/gas/s390/zarch-operands.s | 1 +
2 files changed, 3 insertions(+)
diff --git a/gas/testsuite/gas/s390/zarch-operands.d b/gas/testsuite/gas/s390/zarch-operands.d
index 32614f4e631..f8bc693f9c5 100644
--- a/gas/testsuite/gas/s390/zarch-operands.d
+++ b/gas/testsuite/gas/s390/zarch-operands.d
@@ -81,6 +81,8 @@ Disassembly of section .text:
# RRF-e
.*: b3 ca 30 12 [ ]*cgxr %r1,3,%f2
.*: b3 a6 34 12 [ ]*cxgbra %f1,3,%r2,4
+# RRS
+.*: ec 12 41 bc 30 f6 [ ]*crb %r1,%r2,3,444\(%r4\)
.*: eb 12 40 03 00 0d [ ]*sllg %r1,%r2,3\(%r4\)
.*: 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 761f0371815..3fb8e21eb68 100644
--- a/gas/testsuite/gas/s390/zarch-operands.s
+++ b/gas/testsuite/gas/s390/zarch-operands.s
@@ -39,5 +39,6 @@ foo:
.insn rrf_d,0xb3dc0000,%f1,%f2,4 # lxdtr %f1,%f2,4
.insn rrf_e,0xb3ca0000,%r1,3,%f2 # cgxr %r1,3,%f2
.insn rrf_e,0xb3a60000,%f1,3,%r2,4 # cxgbra %f1,3,%r2,4
+ .insn rrs,0xec00000000f6,%r1,%r2,3,444(%r4) # crb %r1,%r2,3,444(%r4)
.insn rse,0xeb000000000d,%r1,%r2,3(%r4)
.insn ssf,0xc80000000000,1(%r2),3(%r4),%r5
More information about the Binutils-cvs
mailing list