[binutils-gdb] s390: Improve test for .insn pseudo-mnemonic ssf

Jens Remus jremus@sourceware.org
Tue Nov 10 16:51:15 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9f90a3f0af55eace454ff73d3b49ff04e31c37c7

commit 9f90a3f0af55eace454ff73d3b49ff04e31c37c7
Author: Jens Remus <jremus@linux.ibm.com>
Date:   Tue Nov 10 17:46:03 2026 +0100

    s390: Improve test for .insn pseudo-mnemonic ssf
    
    gas/testsuite/
            * gas/s390/zarch-operands.d (ssf): Improve test.  Add comment.
            * gas/s390/zarch-operands.s (ssf): Likewise.
    
    Signed-off-by: Jens Remus <jremus@linux.ibm.com>

Diff:
---
 gas/testsuite/gas/s390/zarch-operands.d | 3 ++-
 gas/testsuite/gas/s390/zarch-operands.s | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/gas/testsuite/gas/s390/zarch-operands.d b/gas/testsuite/gas/s390/zarch-operands.d
index 11689c91858..075fd348b87 100644
--- a/gas/testsuite/gas/s390/zarch-operands.d
+++ b/gas/testsuite/gas/s390/zarch-operands.d
@@ -152,5 +152,6 @@ Disassembly of section .text:
 .*:	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
+# SSF
+.*:	c8 30 10 6f 20 de [	 ]*mvcos	111\(%r1\),222\(%r2\),%r3
 #?.*:	07 07 [	 ]*nopr	%r7
diff --git a/gas/testsuite/gas/s390/zarch-operands.s b/gas/testsuite/gas/s390/zarch-operands.s
index 63edd36015e..c59ab3d5443 100644
--- a/gas/testsuite/gas/s390/zarch-operands.s
+++ b/gas/testsuite/gas/s390/zarch-operands.s
@@ -77,4 +77,4 @@ foo:
 	.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
+	.insn ssf,0xc80000000000,111(%r1),222(%r2),%r3	# mvcos 111(%r1),222(%r2),%r3


More information about the Binutils-cvs mailing list