[PATCH v2 24/47] s390: Add test for .insn pseudo-mnemonic rrs
Jens Remus
jremus@linux.ibm.com
Fri Nov 6 15:57:14 GMT 2026
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>
---
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 32614f4e631e..f8bc693f9c54 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 761f03718151..3fb8e21eb68a 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
--
2.53.0
More information about the Binutils
mailing list