[PATCH v2 36/47] s390: Add test for .insn pseudo-mnemonic sil

Jens Remus jremus@linux.ibm.com
Fri Nov 6 15:57:26 GMT 2026


gas/testsuite/
	* gas/s390/zarch-operands.d: Add test for .insn sil.
	* 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 846346924463..68d44836c5dc 100644
--- a/gas/testsuite/gas/s390/zarch-operands.d
+++ b/gas/testsuite/gas/s390/zarch-operands.d
@@ -129,5 +129,7 @@ Disassembly of section .text:
 # SI
 .*:	95 16 10 6f [	 ]*cli	111\(%r1\),22
 .*:	93 00 10 6f [	 ]*ts	111\(%r1\)
+# SIL
+.*:	e5 44 10 6f 56 ce [	 ]*mvhhi	111\(%r1\),22222
 .*:	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 2eab03d4cb64..acdec8b20267 100644
--- a/gas/testsuite/gas/s390/zarch-operands.s
+++ b/gas/testsuite/gas/s390/zarch-operands.s
@@ -65,4 +65,5 @@ foo:
 	.insn s,0xb2310000				# hsch
 	.insn si,0x95000000,111(%r1),22			# cli 111(%r1),22
 	.insn si,0x93000000,111(%r1)			# ts 111(%r1)
+	.insn sil,0xe54400000000,111(%r1),22222		# mvhhi 111(%r1),22222
 	.insn ssf,0xc80000000000,1(%r2),3(%r4),%r5
-- 
2.53.0



More information about the Binutils mailing list