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

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


gas/testsuite/
	* gas/s390/zarch-operands.d: Add test for .insn vsi.
	* 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 12b5586e641a..8854cc37775e 100644
--- a/gas/testsuite/gas/s390/zarch-operands.d
+++ b/gas/testsuite/gas/s390/zarch-operands.d
@@ -233,4 +233,6 @@ Disassembly of section .text:
 # VRX
 .*:	e7 13 20 de 40 06 [	 ]*vl	%v1,222\(%r3,%r2\),4
 .*:	e7 13 20 de 00 06 [	 ]*vl	%v1,222\(%r3,%r2\)
+# VSI
+.*:	e6 21 20 de 10 35 [	 ]*vlrl	%v1,222\(%r2\),33
 #?.*:	07 07 [	 ]*nopr	%r7
diff --git a/gas/testsuite/gas/s390/zarch-operands.s b/gas/testsuite/gas/s390/zarch-operands.s
index 3320dd6a3301..cb260a4a65f5 100644
--- a/gas/testsuite/gas/s390/zarch-operands.s
+++ b/gas/testsuite/gas/s390/zarch-operands.s
@@ -128,3 +128,4 @@ foo:
 	.insn vrv,0xe70000000013,%v1,222(%v3,%r2)	# vgef %v1,222(%v3,%r2)
 	.insn vrx,0xe70000000006,%v1,222(%r3,%r2),4	# vl %v1,222(%r3,%r2),4
 	.insn vrx,0xe70000000006,%v1,222(%r3,%r2)	# vl %v1,222(%r3,%r2)
+	.insn vsi,0xe60000000035,%v1,222(%r2),33	# vlrl %v1,222(%r2),33
-- 
2.53.0



More information about the Binutils mailing list