Blame SOURCES/binutils-s390x-arch13.patch

cf4a45
# Add support for the arch13 extension to the s390x architecture.  (#1659437)
cf4a45
cf4a45
diff -rup binutils.orig/gas/config/tc-s390.c binutils-2.30/gas/config/tc-s390.c
cf4a45
--- binutils.orig/gas/config/tc-s390.c	2019-03-07 13:21:13.799468286 +0000
cf4a45
+++ binutils-2.30/gas/config/tc-s390.c	2019-03-07 14:02:36.903119967 +0000
cf4a45
@@ -291,6 +291,8 @@ s390_parse_cpu (const char *         arg
cf4a45
     { STRING_COMMA_LEN ("z13"), STRING_COMMA_LEN ("arch11"),
cf4a45
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
cf4a45
     { STRING_COMMA_LEN ("z14"), STRING_COMMA_LEN ("arch12"),
cf4a45
+      S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
cf4a45
+    { STRING_COMMA_LEN (""), STRING_COMMA_LEN ("arch13"),
cf4a45
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX }
cf4a45
   };
cf4a45
   static struct
cf4a45
@@ -1229,6 +1231,24 @@ s390_elf_cons (int nbytes /* 1=.byte, 2=
cf4a45
   demand_empty_rest_of_line ();
cf4a45
 }
cf4a45
 
cf4a45
+/* Return true if all remaining operands in the opcode with
cf4a45
+   OPCODE_FLAGS can be skipped.  */
cf4a45
+static bfd_boolean
cf4a45
+skip_optargs_p (unsigned int opcode_flags, const unsigned char *opindex_ptr)
cf4a45
+{
cf4a45
+  if ((opcode_flags & (S390_INSTR_FLAG_OPTPARM | S390_INSTR_FLAG_OPTPARM2))
cf4a45
+      && opindex_ptr[0] != '\0'
cf4a45
+      && opindex_ptr[1] == '\0')
cf4a45
+    return TRUE;
cf4a45
+
cf4a45
+  if ((opcode_flags & S390_INSTR_FLAG_OPTPARM2)
cf4a45
+      && opindex_ptr[0] != '\0'
cf4a45
+      && opindex_ptr[1] != '\0'
cf4a45
+      && opindex_ptr[2] == '\0')
cf4a45
+    return TRUE;
cf4a45
+  return FALSE;
cf4a45
+}
cf4a45
+
cf4a45
 /* We need to keep a list of fixups.  We can't simply generate them as
cf4a45
    we go, because that would require us to first create the frag, and
cf4a45
    that would screw up references to ``.''.  */
cf4a45
@@ -1468,6 +1488,9 @@ md_gather_operands (char *str,
cf4a45
 	      while (!(operand->flags & S390_OPERAND_BASE))
cf4a45
 		operand = s390_operands + *(++opindex_ptr);
cf4a45
 
cf4a45
+	      if (*str == '\0' && skip_optargs_p (opcode->flags, &opindex_ptr[1]))
cf4a45
+		continue;
cf4a45
+
cf4a45
 	      /* If there is a next operand it must be separated by a comma.  */
cf4a45
 	      if (opindex_ptr[1] != '\0')
cf4a45
 		{
cf4a45
@@ -1510,6 +1533,10 @@ md_gather_operands (char *str,
cf4a45
 	  if (*str++ != ')')
cf4a45
 	    as_bad (_("syntax error; missing ')' after base register"));
cf4a45
 	  skip_optional = 0;
cf4a45
+
cf4a45
+	  if (*str == '\0' && skip_optargs_p (opcode->flags, &opindex_ptr[1]))
cf4a45
+	    continue;
cf4a45
+
cf4a45
 	  /* If there is a next operand it must be separated by a comma.  */
cf4a45
 	  if (opindex_ptr[1] != '\0')
cf4a45
 	    {
cf4a45
@@ -1539,18 +1566,7 @@ md_gather_operands (char *str,
cf4a45
 	      str++;
cf4a45
 	    }
cf4a45
 
cf4a45
-	  if ((opcode->flags & (S390_INSTR_FLAG_OPTPARM
cf4a45
-				| S390_INSTR_FLAG_OPTPARM2))
cf4a45
-	      && opindex_ptr[1] != '\0'
cf4a45
-	      && opindex_ptr[2] == '\0'
cf4a45
-	      && *str == '\0')
cf4a45
-	    continue;
cf4a45
-
cf4a45
-	  if ((opcode->flags & S390_INSTR_FLAG_OPTPARM2)
cf4a45
-	      && opindex_ptr[1] != '\0'
cf4a45
-	      && opindex_ptr[2] != '\0'
cf4a45
-	      && opindex_ptr[3] == '\0'
cf4a45
-	      && *str == '\0')
cf4a45
+	  if (*str == '\0' && skip_optargs_p (opcode->flags, &opindex_ptr[1]))
cf4a45
 	    continue;
cf4a45
 
cf4a45
 	  /* If there is a next operand it must be separated by a comma.  */
cf4a45
diff -rup binutils.orig/gas/doc/c-s390.texi binutils-2.30/gas/doc/c-s390.texi
cf4a45
--- binutils.orig/gas/doc/c-s390.texi	2019-03-07 13:21:13.806468232 +0000
cf4a45
+++ binutils-2.30/gas/doc/c-s390.texi	2019-03-07 13:23:07.799582976 +0000
cf4a45
@@ -18,7 +18,7 @@ and eleven chip levels. The architecture
cf4a45
 Architecture (ESA) and the newer z/Architecture mode. The chip levels
cf4a45
 are g5 (or arch3), g6, z900 (or arch5), z990 (or arch6), z9-109, z9-ec
cf4a45
 (or arch7), z10 (or arch8), z196 (or arch9), zEC12 (or arch10), z13
cf4a45
-(or arch11), and z14 (or arch12).
cf4a45
+(or arch11), z14 (or arch12), and arch13.
cf4a45
 
cf4a45
 @menu
cf4a45
 * s390 Options::                Command-line Options.
cf4a45
@@ -68,8 +68,10 @@ are recognized:
cf4a45
 @code{z9-ec} (or @code{arch7}),
cf4a45
 @code{z10} (or @code{arch8}),
cf4a45
 @code{z196} (or @code{arch9}),
cf4a45
-@code{zEC12} (or @code{arch10}) and
cf4a45
-@code{z13} (or @code{arch11}).
cf4a45
+@code{zEC12} (or @code{arch10}),
cf4a45
+@code{z13} (or @code{arch11}),
cf4a45
+@code{z14} (or @code{arch12}), and
cf4a45
+@code{arch13}).
cf4a45
 
cf4a45
 Assembling an instruction that is not supported on the target
cf4a45
 processor results in an error message.
cf4a45
diff -rup binutils.orig/gas/testsuite/gas/s390/s390.exp binutils-2.30/gas/testsuite/gas/s390/s390.exp
cf4a45
--- binutils.orig/gas/testsuite/gas/s390/s390.exp	2019-03-07 13:21:13.813468178 +0000
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/s390.exp	2019-03-07 13:24:31.563932472 +0000
cf4a45
@@ -29,9 +29,11 @@ if [expr [istarget "s390-*-*"] ||  [ista
cf4a45
     run_dump_test "zarch-zEC12" "{as -m64} {as -march=zEC12}"
cf4a45
     run_dump_test "zarch-z13" "{as -m64} {as -march=z13}"
cf4a45
     run_dump_test "zarch-arch12" "{as -m64} {as -march=arch12}"
cf4a45
+    run_dump_test "zarch-arch13" "{as -m64} {as -march=arch13}"
cf4a45
     run_dump_test "zarch-reloc" "{as -m64}"
cf4a45
     run_dump_test "zarch-operands" "{as -m64} {as -march=z9-109}"
cf4a45
     run_dump_test "zarch-machine" "{as -m64} {as -march=z900}"
cf4a45
+    run_dump_test "zarch-optargs" "{as -m64} {as -march=arch12}"
cf4a45
     run_list_test "machine-parsing-1" ""
cf4a45
     run_list_test "machine-parsing-2" ""
cf4a45
     run_list_test "machine-parsing-3" ""
cf4a45
diff -rup binutils.orig/gas/testsuite/gas/s390/zarch-arch12.d binutils-2.30/gas/testsuite/gas/s390/zarch-arch12.d
cf4a45
--- binutils.orig/gas/testsuite/gas/s390/zarch-arch12.d	2019-03-07 13:21:13.815468162 +0000
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-arch12.d	2019-03-07 13:25:32.126462146 +0000
cf4a45
@@ -201,3 +201,11 @@ Disassembly of section .text:
cf4a45
 .*:	b9 3c 00 69 [	 ]*prno	%r6,%r9
cf4a45
 .*:	b9 a1 00 69 [	 ]*tpei	%r6,%r9
cf4a45
 .*:	b9 ac 00 69 [	 ]*irbm	%r6,%r9
cf4a45
+.*:	e7 f6 9f a0 00 06 [	 ]*vl	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e7 f6 9f a0 d0 06 [	 ]*vl	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e7 f1 6f a0 04 36 [	 ]*vlm	%v15,%v17,4000\(%r6\)
cf4a45
+.*:	e7 f1 6f a0 d4 36 [	 ]*vlm	%v15,%v17,4000\(%r6\),13
cf4a45
+.*:	e7 f6 9f a0 00 0e [	 ]*vst	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e7 f6 9f a0 d0 0e [	 ]*vst	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e7 f1 6f a0 04 3e [	 ]*vstm	%v15,%v17,4000\(%r6\)
cf4a45
+.*:	e7 f1 6f a0 d4 3e [	 ]*vstm	%v15,%v17,4000\(%r6\),13
cf4a45
diff -rup binutils.orig/gas/testsuite/gas/s390/zarch-arch12.s binutils-2.30/gas/testsuite/gas/s390/zarch-arch12.s
cf4a45
--- binutils.orig/gas/testsuite/gas/s390/zarch-arch12.s	2019-03-07 13:21:13.814468170 +0000
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-arch12.s	2019-03-07 13:25:32.126462146 +0000
cf4a45
@@ -195,3 +195,11 @@ foo:
cf4a45
 	prno	%r6,%r9
cf4a45
 	tpei	%r6,%r9
cf4a45
 	irbm	%r6,%r9
cf4a45
+	vl	%v15,4000(%r6,%r9)
cf4a45
+	vl	%v15,4000(%r6,%r9),13
cf4a45
+	vlm	%v15,%v17,4000(%r6)
cf4a45
+	vlm	%v15,%v17,4000(%r6),13
cf4a45
+	vst	%v15,4000(%r6,%r9)
cf4a45
+	vst	%v15,4000(%r6,%r9),13
cf4a45
+	vstm	%v15,%v17,4000(%r6)
cf4a45
+	vstm	%v15,%v17,4000(%r6),13
cf4a45
diff -rup binutils.orig/gas/testsuite/gas/s390/zarch-z13.d binutils-2.30/gas/testsuite/gas/s390/zarch-z13.d
cf4a45
--- binutils.orig/gas/testsuite/gas/s390/zarch-z13.d	2019-03-07 13:21:13.814468170 +0000
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-z13.d	2019-03-07 13:23:07.799582976 +0000
cf4a45
@@ -495,16 +495,16 @@ Disassembly of section .text:
cf4a45
 .*:	e7 f1 40 10 36 ea [ 	]*vfchedbs	%v15,%v17,%v20
cf4a45
 .*:	e7 f1 40 08 36 ea [ 	]*wfchedb	%v15,%v17,%v20
cf4a45
 .*:	e7 f1 40 18 36 ea [ 	]*wfchedbs	%v15,%v17,%v20
cf4a45
-.*:	e7 f1 00 bc d4 c3 [ 	]*vcdg	%v15,%v17,13,12,11
cf4a45
+.*:	e7 f1 00 bc d4 c3 [ 	]*vcfps	%v15,%v17,13,12,11
cf4a45
 .*:	e7 f1 00 cd 34 c3 [ 	]*wcdgb	%v15,%v17,5,12
cf4a45
 .*:	e7 f1 00 cd 34 c3 [ 	]*wcdgb	%v15,%v17,5,12
cf4a45
-.*:	e7 f1 00 bc d4 c1 [ 	]*vcdlg	%v15,%v17,13,12,11
cf4a45
+.*:	e7 f1 00 bc d4 c1 [ 	]*vcfpl	%v15,%v17,13,12,11
cf4a45
 .*:	e7 f1 00 cd 34 c1 [ 	]*wcdlgb	%v15,%v17,5,12
cf4a45
 .*:	e7 f1 00 cd 34 c1 [ 	]*wcdlgb	%v15,%v17,5,12
cf4a45
-.*:	e7 f1 00 bc d4 c2 [ 	]*vcgd	%v15,%v17,13,12,11
cf4a45
+.*:	e7 f1 00 bc d4 c2 [ 	]*vcsfp	%v15,%v17,13,12,11
cf4a45
 .*:	e7 f1 00 cd 34 c2 [ 	]*wcgdb	%v15,%v17,5,12
cf4a45
 .*:	e7 f1 00 cd 34 c2 [ 	]*wcgdb	%v15,%v17,5,12
cf4a45
-.*:	e7 f1 00 bc d4 c0 [ 	]*vclgd	%v15,%v17,13,12,11
cf4a45
+.*:	e7 f1 00 bc d4 c0 [ 	]*vclfp	%v15,%v17,13,12,11
cf4a45
 .*:	e7 f1 00 cd 34 c0 [ 	]*wclgdb	%v15,%v17,5,12
cf4a45
 .*:	e7 f1 00 cd 34 c0 [ 	]*wclgdb	%v15,%v17,5,12
cf4a45
 .*:	e7 f1 40 0c d6 e5 [ 	]*vfd	%v15,%v17,%v20,13,12
cf4a45
diff -rup binutils.orig/include/opcode/s390.h binutils-2.30/include/opcode/s390.h
cf4a45
--- binutils.orig/include/opcode/s390.h	2019-03-07 13:21:14.295464435 +0000
cf4a45
+++ binutils-2.30/include/opcode/s390.h	2019-03-07 13:23:07.799582976 +0000
cf4a45
@@ -43,6 +43,7 @@ enum s390_opcode_cpu_val
cf4a45
     S390_OPCODE_ZEC12,
cf4a45
     S390_OPCODE_Z13,
cf4a45
     S390_OPCODE_ARCH12,
cf4a45
+    S390_OPCODE_ARCH13,
cf4a45
     S390_OPCODE_MAXCPU
cf4a45
   };
cf4a45
 
cf4a45
diff -rup binutils.orig/opcodes/s390-mkopc.c binutils-2.30/opcodes/s390-mkopc.c
cf4a45
--- binutils.orig/opcodes/s390-mkopc.c	2019-03-07 13:21:13.440471074 +0000
cf4a45
+++ binutils-2.30/opcodes/s390-mkopc.c	2019-03-07 13:23:07.818582828 +0000
cf4a45
@@ -377,6 +377,8 @@ main (void)
cf4a45
       else if (strcmp (cpu_string, "z14") == 0
cf4a45
 	       || strcmp (cpu_string, "arch12") == 0)
cf4a45
 	min_cpu = S390_OPCODE_ARCH12;
cf4a45
+      else if (strcmp (cpu_string, "arch13") == 0)
cf4a45
+	min_cpu = S390_OPCODE_ARCH13;
cf4a45
       else {
cf4a45
 	fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);
cf4a45
 	exit (1);
cf4a45
diff -rup binutils.orig/opcodes/s390-opc.c binutils-2.30/opcodes/s390-opc.c
cf4a45
--- binutils.orig/opcodes/s390-opc.c	2019-03-07 13:21:13.439471082 +0000
cf4a45
+++ binutils-2.30/opcodes/s390-opc.c	2019-03-07 13:23:07.819582821 +0000
cf4a45
@@ -359,6 +359,7 @@ const struct s390_operand s390_operands[
cf4a45
 #define INSTR_RRF_RURR2    4, { R_24,R_16,R_28,U4_20,0,0 }       /* e.g. lptea */
cf4a45
 #define INSTR_RRF_R0RR     4, { R_24,R_16,R_28,0,0,0 }           /* e.g. idte  */
cf4a45
 #define INSTR_RRF_R0RR2    4, { R_24,R_28,R_16,0,0,0 }           /* e.g. ark   */
cf4a45
+#define INSTR_RRF_R0RR3    4, { R_24,R_28,R_16,0,0,0 }           /* e.g. selrz */
cf4a45
 #define INSTR_RRF_U0FF     4, { F_24,U4_16,F_28,0,0,0 }          /* e.g. fidbr */
cf4a45
 #define INSTR_RRF_U0FEFE   4, { FE_24,U4_16,FE_28,0,0,0 }        /* e.g. fixbr */
cf4a45
 #define INSTR_RRF_U0RF     4, { R_24,U4_16,F_28,0,0,0 }          /* e.g. cfebr */
cf4a45
@@ -513,6 +514,7 @@ const struct s390_operand s390_operands[
cf4a45
 #define INSTR_VRR_VV0U0U   6, { V_8,V_12,U4_32,U4_24,0,0 }       /* e.g. vistr */
cf4a45
 #define INSTR_VRR_0VV0U    6, { V_12,V_16,U4_24,0,0,0 }          /* e.g. vcp   */
cf4a45
 #define INSTR_VRR_RV0U     6, { R_8,V_12,U4_24,0,0,0 }           /* e.g. vcvb  */
cf4a45
+#define INSTR_VRR_RV0UU    6, { R_8,V_12,U4_24,U4_28,0,0 }       /* e.g. vcvb  */
cf4a45
 #define INSTR_VSI_URDV     6, { V_32,D_20,B_16,U8_8,0,0 }        /* e.g. vlrl  */
cf4a45
 
cf4a45
 #define MASK_E            { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 }
cf4a45
@@ -578,6 +580,7 @@ const struct s390_operand s390_operands[
cf4a45
 #define MASK_RRF_RURR2    { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 }
cf4a45
 #define MASK_RRF_R0RR     { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 }
cf4a45
 #define MASK_RRF_R0RR2    { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 }
cf4a45
+#define MASK_RRF_R0RR3    { 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00 }
cf4a45
 #define MASK_RRF_U0FF     { 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00 }
cf4a45
 #define MASK_RRF_U0FEFE   { 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00 }
cf4a45
 #define MASK_RRF_U0RF     { 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00 }
cf4a45
@@ -732,6 +735,7 @@ const struct s390_operand s390_operands[
cf4a45
 #define MASK_VRR_VV0U0U   { 0xff, 0x00, 0xff, 0x0f, 0x00, 0xff }
cf4a45
 #define MASK_VRR_0VV0U    { 0xff, 0xf0, 0x0f, 0x0f, 0xf0, 0xff }
cf4a45
 #define MASK_VRR_RV0U     { 0xff, 0x00, 0xff, 0x0f, 0xf0, 0xff }
cf4a45
+#define MASK_VRR_RV0UU    { 0xff, 0x00, 0xff, 0x00, 0xf0, 0xff }
cf4a45
 #define MASK_VSI_URDV     { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
cf4a45
 
cf4a45
 
cf4a45
diff -rup binutils.orig/opcodes/s390-opc.txt binutils-2.30/opcodes/s390-opc.txt
cf4a45
--- binutils.orig/opcodes/s390-opc.txt	2019-03-07 13:21:13.425471191 +0000
cf4a45
+++ binutils-2.30/opcodes/s390-opc.txt	2019-03-07 13:26:01.603233234 +0000
cf4a45
@@ -1880,3 +1880,115 @@ b929 kma RRF_R0RR "cipher message with g
cf4a45
 b93c prno RRE_RR "perform pseudorandom number operation" arch12 zarch
cf4a45
 b9a1 tpei RRE_RR "test pending external interruption" arch12 zarch
cf4a45
 b9ac irbm RRE_RR "insert reference bits multiple" arch12 zarch
cf4a45
+
cf4a45
+
cf4a45
+# Aligned vector store hints
cf4a45
+
cf4a45
+e70000000006 vl VRX_VRRDU "vector memory load" arch12 zarch optparm
cf4a45
+e70000000036 vlm VRS_VVRDU "vector load multiple" arch12 zarch optparm
cf4a45
+e7000000000e vst VRX_VRRDU "vector store" arch12 zarch optparm
cf4a45
+e7000000003e vstm VRS_VVRDU "vector store multiple" arch12 zarch optparm
cf4a45
+
cf4a45
+# arch13 instructions
cf4a45
+
cf4a45
+b9f5 ncrk RRF_R0RR2 " " arch13 zarch
cf4a45
+b9e5 ncgrk RRF_R0RR2 " " arch13 zarch
cf4a45
+e50a mvcrl SSE_RDRD " " arch13 zarch
cf4a45
+b974 nnrk RRF_R0RR2 " " arch13 zarch
cf4a45
+b964 nngrk RRF_R0RR2 " " arch13 zarch
cf4a45
+b976 nork RRF_R0RR2 " " arch13 zarch
cf4a45
+b966 nogrk RRF_R0RR2 " " arch13 zarch
cf4a45
+b977 nxrk RRF_R0RR2 " " arch13 zarch
cf4a45
+b967 nxgrk RRF_R0RR2 " " arch13 zarch
cf4a45
+b975 ocrk RRF_R0RR2 " " arch13 zarch
cf4a45
+b965 ocgrk RRF_R0RR2 " " arch13 zarch
cf4a45
+b9e1 popcnt RRF_U0RR " " arch13 zarch optparm
cf4a45
+b9f0 selr RRF_RURR " " arch13 zarch
cf4a45
+b9f00000 selr*20 RRF_R0RR3 " " arch13 zarch
cf4a45
+b9e3 selgr RRF_RURR " " arch13 zarch
cf4a45
+b9e30000 selgr*20 RRF_R0RR3 " " arch13 zarch
cf4a45
+b9c0 selhhhr RRF_RURR " " arch13 zarch
cf4a45
+b9c00000 selhhhr*20 RRF_R0RR3 " " arch13 zarch
cf4a45
+
cf4a45
+e60000000006 vlbr VRX_VRRDU " " arch13 zarch
cf4a45
+e60000001006 vlbrh VRX_VRRD " " arch13 zarch
cf4a45
+e60000002006 vlbrf VRX_VRRD " " arch13 zarch
cf4a45
+e60000003006 vlbrg VRX_VRRD " " arch13 zarch
cf4a45
+e60000004006 vlbrq VRX_VRRD " " arch13 zarch
cf4a45
+
cf4a45
+e60000000007 vler VRX_VRRDU " " arch13 zarch
cf4a45
+e60000001007 vlerh VRX_VRRD " " arch13 zarch
cf4a45
+e60000002007 vlerf VRX_VRRD " " arch13 zarch
cf4a45
+e60000003007 vlerg VRX_VRRD " " arch13 zarch
cf4a45
+
cf4a45
+e60000000004 vllebrz VRX_VRRDU " " arch13 zarch
cf4a45
+e60000001004 vllebrzh VRX_VRRD " " arch13 zarch
cf4a45
+e60000002004 vllebrzf VRX_VRRD " " arch13 zarch
cf4a45
+e60000003004 ldrv VRX_VRRD " " arch13 zarch
cf4a45
+e60000003004 vllebrzg VRX_VRRD " " arch13 zarch
cf4a45
+e60000006004 lerv VRX_VRRD " " arch13 zarch
cf4a45
+e60000006004 vllebrze VRX_VRRD " " arch13 zarch
cf4a45
+
cf4a45
+e60000000001 vlebrh VRX_VRRDU " " arch13 zarch
cf4a45
+e60000000003 vlebrf VRX_VRRDU " " arch13 zarch
cf4a45
+e60000000002 vlebrg VRX_VRRDU " " arch13 zarch
cf4a45
+
cf4a45
+e60000000005 vlbrrep VRX_VRRDU " " arch13 zarch
cf4a45
+e60000001005 vlbrreph VRX_VRRD " " arch13 zarch
cf4a45
+e60000002005 vlbrrepf VRX_VRRD " " arch13 zarch
cf4a45
+e60000003005 vlbrrepg VRX_VRRD " " arch13 zarch
cf4a45
+
cf4a45
+e6000000000e vstbr VRX_VRRDU " " arch13 zarch
cf4a45
+e6000000100e vstbrh VRX_VRRD " " arch13 zarch
cf4a45
+e6000000200e vstbrf VRX_VRRD " " arch13 zarch
cf4a45
+e6000000300e vstbrg VRX_VRRD " " arch13 zarch
cf4a45
+e6000000400e vstbrq VRX_VRRD " " arch13 zarch
cf4a45
+
cf4a45
+e6000000000f vster VRX_VRRDU " " arch13 zarch
cf4a45
+e6000000100f vsterh VRX_VRRD " " arch13 zarch
cf4a45
+e6000000200f vsterf VRX_VRRD " " arch13 zarch
cf4a45
+e6000000300f vsterg VRX_VRRD " " arch13 zarch
cf4a45
+
cf4a45
+e60000000009 vstebrh VRX_VRRDU " " arch13 zarch
cf4a45
+e6000000000b vstebrf VRX_VRRDU " " arch13 zarch
cf4a45
+e6000000000b sterv VRX_VRRD " " arch13 zarch
cf4a45
+e6000000000a vstebrg VRX_VRRDU " " arch13 zarch
cf4a45
+e6000000000a stdrv VRX_VRRD " " arch13 zarch
cf4a45
+
cf4a45
+e70000000086 vsld VRI_VVV0U " " arch13 zarch
cf4a45
+e70000000087 vsrd VRI_VVV0U " " arch13 zarch
cf4a45
+
cf4a45
+e7000000008b vstrs VRR_VVVUU0V " " arch13 zarch optparm
cf4a45
+
cf4a45
+e7000000008b vstrsb VRR_VVVU0VB " " arch13 zarch optparm
cf4a45
+e7000100008b vstrsh VRR_VVVU0VB " " arch13 zarch optparm
cf4a45
+e7000200008b vstrsf VRR_VVVU0VB " " arch13 zarch optparm
cf4a45
+
cf4a45
+e7000020008b vstrszb VRR_VVVU0VB2 " " arch13 zarch optparm
cf4a45
+e7000120008b vstrszh VRR_VVVU0VB2 " " arch13 zarch optparm
cf4a45
+e7000220008b vstrszf VRR_VVVU0VB2 " " arch13 zarch optparm
cf4a45
+
cf4a45
+e700000000c3 vcfps VRR_VV0UUU " " arch13 zarch
cf4a45
+e700000020c3 vcefb VRR_VV0UU " " arch13 zarch
cf4a45
+e700000820c3 wcefb VRR_VV0UU8 " " arch13 zarch
cf4a45
+
cf4a45
+e700000000c1 vcfpl VRR_VV0UUU " " arch13 zarch
cf4a45
+e700000020c1 vcelfb VRR_VV0UU " " arch13 zarch
cf4a45
+e700000820c1 wcelfb VRR_VV0UU8 " " arch13 zarch
cf4a45
+
cf4a45
+e700000000c2 vcsfp VRR_VV0UUU " " arch13 zarch
cf4a45
+e700000020c2 vcfeb VRR_VV0UU " " arch13 zarch
cf4a45
+e700000820c2 wcfeb VRR_VV0UU8 " " arch13 zarch
cf4a45
+
cf4a45
+e700000000c0 vclfp VRR_VV0UUU " " arch13 zarch
cf4a45
+e700000020c0 vclfeb VRR_VV0UU " " arch13 zarch
cf4a45
+e700000820c0 wclfeb VRR_VV0UU8 " " arch13 zarch
cf4a45
+
cf4a45
+b939 dfltcc RRF_R0RR2 " " arch13 zarch
cf4a45
+
cf4a45
+b938 sortl RRE_RR " " arch13 zarch
cf4a45
+
cf4a45
+e60000000050 vcvb VRR_RV0UU " " arch13 zarch optparm
cf4a45
+e60000000052 vcvbg VRR_RV0UU " " arch13 zarch optparm
cf4a45
+
cf4a45
+b93a kdsa RRE_RR " " arch13 zarch
cf4a45
--- /dev/null	2019-03-07 09:27:55.425999321 +0000
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-arch13.s	2019-03-07 13:23:07.799582976 +0000
cf4a45
@@ -0,0 +1,150 @@
cf4a45
+.text
cf4a45
+foo:
cf4a45
+	ncrk	%r6,%r9,%r11
cf4a45
+	ncgrk	%r6,%r9,%r11
cf4a45
+	mvcrl	4000(%r6),4000(%r9)
cf4a45
+	nnrk	%r6,%r9,%r11
cf4a45
+	nngrk	%r6,%r9,%r11
cf4a45
+	nork	%r6,%r9,%r11
cf4a45
+	nogrk	%r6,%r9,%r11
cf4a45
+	nxrk	%r6,%r9,%r11
cf4a45
+	nxgrk	%r6,%r9,%r11
cf4a45
+	ocrk	%r6,%r9,%r11
cf4a45
+	ocgrk	%r6,%r9,%r11
cf4a45
+	popcnt	%r6,%r9
cf4a45
+	popcnt	%r6,%r9,13
cf4a45
+	selr	%r6,%r9,%r11,13
cf4a45
+	selro	%r6,%r9,%r11
cf4a45
+	selrh	%r6,%r9,%r11
cf4a45
+	selrp	%r6,%r9,%r11
cf4a45
+	selrnle	%r6,%r9,%r11
cf4a45
+	selrl	%r6,%r9,%r11
cf4a45
+	selrm	%r6,%r9,%r11
cf4a45
+	selrnhe	%r6,%r9,%r11
cf4a45
+	selrlh	%r6,%r9,%r11
cf4a45
+	selrne	%r6,%r9,%r11
cf4a45
+	selrnz	%r6,%r9,%r11
cf4a45
+	selre	%r6,%r9,%r11
cf4a45
+	selrz	%r6,%r9,%r11
cf4a45
+	selrnlh	%r6,%r9,%r11
cf4a45
+	selrhe	%r6,%r9,%r11
cf4a45
+	selrnl	%r6,%r9,%r11
cf4a45
+	selrnm	%r6,%r9,%r11
cf4a45
+	selrle	%r6,%r9,%r11
cf4a45
+	selrnh	%r6,%r9,%r11
cf4a45
+	selrnp	%r6,%r9,%r11
cf4a45
+	selrno	%r6,%r9,%r11
cf4a45
+	selgr	%r6,%r9,%r11,13
cf4a45
+	selgro	%r6,%r9,%r11
cf4a45
+	selgrh	%r6,%r9,%r11
cf4a45
+	selgrp	%r6,%r9,%r11
cf4a45
+	selgrnle	%r6,%r9,%r11
cf4a45
+	selgrl	%r6,%r9,%r11
cf4a45
+	selgrm	%r6,%r9,%r11
cf4a45
+	selgrnhe	%r6,%r9,%r11
cf4a45
+	selgrlh	%r6,%r9,%r11
cf4a45
+	selgrne	%r6,%r9,%r11
cf4a45
+	selgrnz	%r6,%r9,%r11
cf4a45
+	selgre	%r6,%r9,%r11
cf4a45
+	selgrz	%r6,%r9,%r11
cf4a45
+	selgrnlh	%r6,%r9,%r11
cf4a45
+	selgrhe	%r6,%r9,%r11
cf4a45
+	selgrnl	%r6,%r9,%r11
cf4a45
+	selgrnm	%r6,%r9,%r11
cf4a45
+	selgrle	%r6,%r9,%r11
cf4a45
+	selgrnh	%r6,%r9,%r11
cf4a45
+	selgrnp	%r6,%r9,%r11
cf4a45
+	selgrno	%r6,%r9,%r11
cf4a45
+	selhhhr	%r6,%r9,%r11,13
cf4a45
+	selhhhro	%r6,%r9,%r11
cf4a45
+	selhhhrh	%r6,%r9,%r11
cf4a45
+	selhhhrp	%r6,%r9,%r11
cf4a45
+	selhhhrnle	%r6,%r9,%r11
cf4a45
+	selhhhrl	%r6,%r9,%r11
cf4a45
+	selhhhrm	%r6,%r9,%r11
cf4a45
+	selhhhrnhe	%r6,%r9,%r11
cf4a45
+	selhhhrlh	%r6,%r9,%r11
cf4a45
+	selhhhrne	%r6,%r9,%r11
cf4a45
+	selhhhrnz	%r6,%r9,%r11
cf4a45
+	selhhhre	%r6,%r9,%r11
cf4a45
+	selhhhrz	%r6,%r9,%r11
cf4a45
+	selhhhrnlh	%r6,%r9,%r11
cf4a45
+	selhhhrhe	%r6,%r9,%r11
cf4a45
+	selhhhrnl	%r6,%r9,%r11
cf4a45
+	selhhhrnm	%r6,%r9,%r11
cf4a45
+	selhhhrle	%r6,%r9,%r11
cf4a45
+	selhhhrnh	%r6,%r9,%r11
cf4a45
+	selhhhrnp	%r6,%r9,%r11
cf4a45
+	selhhhrno	%r6,%r9,%r11
cf4a45
+	vlbr	%v15,4000(%r6,%r9),13
cf4a45
+	vlbrh	%v15,4000(%r6,%r9)
cf4a45
+	vlbrf	%v15,4000(%r6,%r9)
cf4a45
+	vlbrg	%v15,4000(%r6,%r9)
cf4a45
+	vlbrq	%v15,4000(%r6,%r9)
cf4a45
+	vler	%v15,4000(%r6,%r9),13
cf4a45
+	vlerh	%v15,4000(%r6,%r9)
cf4a45
+	vlerf	%v15,4000(%r6,%r9)
cf4a45
+	vlerg	%v15,4000(%r6,%r9)
cf4a45
+	vllebrz	%v15,4000(%r6,%r9),13
cf4a45
+	vllebrzh	%v15,4000(%r6,%r9)
cf4a45
+	vllebrzf	%v15,4000(%r6,%r9)
cf4a45
+	ldrv	%v15,4000(%r6,%r9)
cf4a45
+	vllebrzg	%v15,4000(%r6,%r9)
cf4a45
+	lerv	%v15,4000(%r6,%r9)
cf4a45
+	vllebrze	%v15,4000(%r6,%r9)
cf4a45
+	vlebrh	%v15,4000(%r6,%r9),13
cf4a45
+	vlebrf	%v15,4000(%r6,%r9),13
cf4a45
+	vlebrg	%v15,4000(%r6,%r9),13
cf4a45
+	vlbrrep	%v15,4000(%r6,%r9),13
cf4a45
+	vlbrreph	%v15,4000(%r6,%r9)
cf4a45
+	vlbrrepf	%v15,4000(%r6,%r9)
cf4a45
+	vlbrrepg	%v15,4000(%r6,%r9)
cf4a45
+	vstbr	%v15,4000(%r6,%r9),13
cf4a45
+	vstbrh	%v15,4000(%r6,%r9)
cf4a45
+	vstbrf	%v15,4000(%r6,%r9)
cf4a45
+	vstbrg	%v15,4000(%r6,%r9)
cf4a45
+	vstbrq	%v15,4000(%r6,%r9)
cf4a45
+	vster	%v15,4000(%r6,%r9),13
cf4a45
+	vsterh	%v15,4000(%r6,%r9)
cf4a45
+	vsterf	%v15,4000(%r6,%r9)
cf4a45
+	vsterg	%v15,4000(%r6,%r9)
cf4a45
+	vstebrh	%v15,4000(%r6,%r9),13
cf4a45
+	vstebrf	%v15,4000(%r6,%r9),13
cf4a45
+	sterv	%v15,4000(%r6,%r9)
cf4a45
+	vstebrg	%v15,4000(%r6,%r9),13
cf4a45
+	stdrv	%v15,4000(%r6,%r9)
cf4a45
+	vsld	%v15,%v17,%v20,253
cf4a45
+	vsrd	%v15,%v17,%v20,253
cf4a45
+	vstrs	%v15,%v17,%v20,%v24,13
cf4a45
+	vstrs	%v15,%v17,%v20,%v24,13,12
cf4a45
+	vstrsb	%v15,%v17,%v20,%v24
cf4a45
+	vstrsb	%v15,%v17,%v20,%v24,13
cf4a45
+	vstrsh	%v15,%v17,%v20,%v24
cf4a45
+	vstrsh	%v15,%v17,%v20,%v24,13
cf4a45
+	vstrsf	%v15,%v17,%v20,%v24
cf4a45
+	vstrsf	%v15,%v17,%v20,%v24,13
cf4a45
+	vstrszb	%v15,%v17,%v20,%v24
cf4a45
+	vstrszb	%v15,%v17,%v20,%v24,13
cf4a45
+	vstrszh	%v15,%v17,%v20,%v24
cf4a45
+	vstrszh	%v15,%v17,%v20,%v24,13
cf4a45
+	vstrszf	%v15,%v17,%v20,%v24
cf4a45
+	vstrszf	%v15,%v17,%v20,%v24,13
cf4a45
+	vcfps	%v15,%v17,13,12,11
cf4a45
+	vcefb	%v15,%v17,13,12
cf4a45
+	wcefb	%v15,%v17,13,12
cf4a45
+	vcfpl	%v15,%v17,13,12,11
cf4a45
+	vcelfb	%v15,%v17,13,12
cf4a45
+	wcelfb	%v15,%v17,13,12
cf4a45
+	vcsfp	%v15,%v17,13,12,11
cf4a45
+	vcfeb	%v15,%v17,13,12
cf4a45
+	wcfeb	%v15,%v17,13,12
cf4a45
+	vclfp	%v15,%v17,13,12,11
cf4a45
+	vclfeb	%v15,%v17,13,12
cf4a45
+	wclfeb	%v15,%v17,13,12
cf4a45
+	dfltcc	%r6,%r9,%r11
cf4a45
+	sortl	%r6,%r9
cf4a45
+	vcvb	%r6,%v15,13
cf4a45
+	vcvb	%r6,%v15,13,12
cf4a45
+	vcvbg	%r6,%v15,13
cf4a45
+	vcvbg	%r6,%v15,13,12
cf4a45
+	kdsa	%r6,%r9
cf4a45
--- /dev/null	2019-03-07 09:27:55.425999321 +0000
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-arch13.d	2019-03-07 13:23:07.799582976 +0000
cf4a45
@@ -0,0 +1,156 @@
cf4a45
+#name: s390x opcode
cf4a45
+#objdump: -dr
cf4a45
+
cf4a45
+.*: +file format .*
cf4a45
+
cf4a45
+Disassembly of section .text:
cf4a45
+
cf4a45
+.* <foo>:
cf4a45
+.*:	b9 f5 b0 69 [	 ]*ncrk	%r6,%r9,%r11
cf4a45
+.*:	b9 e5 b0 69 [	 ]*ncgrk	%r6,%r9,%r11
cf4a45
+.*:	e5 0a 6f a0 9f a0 [	 ]*mvcrl	4000\(%r6\),4000\(%r9\)
cf4a45
+.*:	b9 74 b0 69 [	 ]*nnrk	%r6,%r9,%r11
cf4a45
+.*:	b9 64 b0 69 [	 ]*nngrk	%r6,%r9,%r11
cf4a45
+.*:	b9 76 b0 69 [	 ]*nork	%r6,%r9,%r11
cf4a45
+.*:	b9 66 b0 69 [	 ]*nogrk	%r6,%r9,%r11
cf4a45
+.*:	b9 77 b0 69 [	 ]*nxrk	%r6,%r9,%r11
cf4a45
+.*:	b9 67 b0 69 [	 ]*nxgrk	%r6,%r9,%r11
cf4a45
+.*:	b9 75 b0 69 [	 ]*ocrk	%r6,%r9,%r11
cf4a45
+.*:	b9 65 b0 69 [	 ]*ocgrk	%r6,%r9,%r11
cf4a45
+.*:	b9 e1 00 69 [	 ]*popcnt	%r6,%r9
cf4a45
+.*:	b9 e1 d0 69 [	 ]*popcnt	%r6,%r9,13
cf4a45
+.*:	b9 f0 bd 69 [	 ]*selrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b1 69 [	 ]*selro	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b2 69 [	 ]*selrh	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b2 69 [	 ]*selrh	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b3 69 [	 ]*selrnle	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b4 69 [	 ]*selrl	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b4 69 [	 ]*selrl	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b5 69 [	 ]*selrnhe	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b6 69 [	 ]*selrlh	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b7 69 [	 ]*selrne	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b7 69 [	 ]*selrne	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b8 69 [	 ]*selre	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b8 69 [	 ]*selre	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 b9 69 [	 ]*selrnlh	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 ba 69 [	 ]*selrhe	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 bb 69 [	 ]*selrnl	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 bb 69 [	 ]*selrnl	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 bc 69 [	 ]*selrle	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 bd 69 [	 ]*selrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 bd 69 [	 ]*selrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 f0 be 69 [	 ]*selrno	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 bd 69 [	 ]*selgrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b1 69 [	 ]*selgro	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b2 69 [	 ]*selgrh	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b2 69 [	 ]*selgrh	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b3 69 [	 ]*selgrnle	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b4 69 [	 ]*selgrl	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b4 69 [	 ]*selgrl	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b5 69 [	 ]*selgrnhe	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b6 69 [	 ]*selgrlh	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b7 69 [	 ]*selgrne	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b7 69 [	 ]*selgrne	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b8 69 [	 ]*selgre	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b8 69 [	 ]*selgre	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 b9 69 [	 ]*selgrnlh	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 ba 69 [	 ]*selgrhe	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 bb 69 [	 ]*selgrnl	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 bb 69 [	 ]*selgrnl	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 bc 69 [	 ]*selgrle	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 bd 69 [	 ]*selgrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 bd 69 [	 ]*selgrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 e3 be 69 [	 ]*selgrno	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bd 69 [	 ]*selhhhrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b1 69 [	 ]*selhhhro	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b2 69 [	 ]*selhhhrh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b2 69 [	 ]*selhhhrh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b3 69 [	 ]*selhhhrnle	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b4 69 [	 ]*selhhhrl	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b4 69 [	 ]*selhhhrl	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b5 69 [	 ]*selhhhrnhe	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b6 69 [	 ]*selhhhrlh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b7 69 [	 ]*selhhhrne	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b7 69 [	 ]*selhhhrne	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b8 69 [	 ]*selhhhre	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b8 69 [	 ]*selhhhre	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b9 69 [	 ]*selhhhrnlh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 ba 69 [	 ]*selhhhrhe	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bb 69 [	 ]*selhhhrnl	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bb 69 [	 ]*selhhhrnl	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bc 69 [	 ]*selhhhrle	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bd 69 [	 ]*selhhhrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bd 69 [	 ]*selhhhrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 be 69 [	 ]*selhhhrno	%r6,%r9,%r11
cf4a45
+.*:	e6 f6 9f a0 d0 06 [	 ]*vlbr	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 10 06 [	 ]*vlbrh	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 20 06 [	 ]*vlbrf	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 30 06 [	 ]*vlbrg	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 40 06 [	 ]*vlbrq	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 d0 07 [	 ]*vler	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 10 07 [	 ]*vlerh	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 20 07 [	 ]*vlerf	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 30 07 [	 ]*vlerg	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 d0 04 [	 ]*vllebrz	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 10 04 [	 ]*vllebrzh	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 20 04 [	 ]*vllebrzf	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 30 04 [	 ]*ldrv	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 30 04 [	 ]*ldrv	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 60 04 [	 ]*lerv	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 60 04 [	 ]*lerv	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 d0 01 [	 ]*vlebrh	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 d0 03 [	 ]*vlebrf	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 d0 02 [	 ]*vlebrg	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 d0 05 [	 ]*vlbrrep	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 10 05 [	 ]*vlbrreph	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 20 05 [	 ]*vlbrrepf	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 30 05 [	 ]*vlbrrepg	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 d0 0e [	 ]*vstbr	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 10 0e [	 ]*vstbrh	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 20 0e [	 ]*vstbrf	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 30 0e [	 ]*vstbrg	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 40 0e [	 ]*vstbrq	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 d0 0f [	 ]*vster	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 10 0f [	 ]*vsterh	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 20 0f [	 ]*vsterf	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 30 0f [	 ]*vsterg	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 d0 09 [	 ]*vstebrh	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 d0 0b [	 ]*vstebrf	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 00 0b [	 ]*sterv	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e6 f6 9f a0 d0 0a [	 ]*vstebrg	%v15,4000\(%r6,%r9\),13
cf4a45
+.*:	e6 f6 9f a0 00 0a [	 ]*stdrv	%v15,4000\(%r6,%r9\)
cf4a45
+.*:	e7 f1 40 fd 06 86 [	 ]*vsld	%v15,%v17,%v20,253
cf4a45
+.*:	e7 f1 40 fd 06 87 [	 ]*vsrd	%v15,%v17,%v20,253
cf4a45
+.*:	e7 f1 4d 00 87 8b [	 ]*vstrs	%v15,%v17,%v20,%v24,13
cf4a45
+.*:	e7 f1 4d c0 87 8b [	 ]*vstrs	%v15,%v17,%v20,%v24,13,12
cf4a45
+.*:	e7 f1 40 00 87 8b [	 ]*vstrsb	%v15,%v17,%v20,%v24
cf4a45
+.*:	e7 f1 40 d0 87 8b [	 ]*vstrsb	%v15,%v17,%v20,%v24,13
cf4a45
+.*:	e7 f1 41 00 87 8b [	 ]*vstrsh	%v15,%v17,%v20,%v24
cf4a45
+.*:	e7 f1 41 d0 87 8b [	 ]*vstrsh	%v15,%v17,%v20,%v24,13
cf4a45
+.*:	e7 f1 42 00 87 8b [	 ]*vstrsf	%v15,%v17,%v20,%v24
cf4a45
+.*:	e7 f1 42 d0 87 8b [	 ]*vstrsf	%v15,%v17,%v20,%v24,13
cf4a45
+.*:	e7 f1 40 20 87 8b [	 ]*vstrszb	%v15,%v17,%v20,%v24
cf4a45
+.*:	e7 f1 40 f0 87 8b [	 ]*vstrszb	%v15,%v17,%v20,%v24,13
cf4a45
+.*:	e7 f1 41 20 87 8b [	 ]*vstrszh	%v15,%v17,%v20,%v24
cf4a45
+.*:	e7 f1 41 f0 87 8b [	 ]*vstrszh	%v15,%v17,%v20,%v24,13
cf4a45
+.*:	e7 f1 42 20 87 8b [	 ]*vstrszf	%v15,%v17,%v20,%v24
cf4a45
+.*:	e7 f1 42 f0 87 8b [	 ]*vstrszf	%v15,%v17,%v20,%v24,13
cf4a45
+.*:	e7 f1 00 bc d4 c3 [	 ]*vcfps	%v15,%v17,13,12,11
cf4a45
+.*:	e7 f1 00 cd 24 c3 [	 ]*wcefb	%v15,%v17,5,12
cf4a45
+.*:	e7 f1 00 cd 24 c3 [	 ]*wcefb	%v15,%v17,5,12
cf4a45
+.*:	e7 f1 00 bc d4 c1 [	 ]*vcfpl	%v15,%v17,13,12,11
cf4a45
+.*:	e7 f1 00 cd 24 c1 [	 ]*wcelfb	%v15,%v17,5,12
cf4a45
+.*:	e7 f1 00 cd 24 c1 [	 ]*wcelfb	%v15,%v17,5,12
cf4a45
+.*:	e7 f1 00 bc d4 c2 [	 ]*vcsfp	%v15,%v17,13,12,11
cf4a45
+.*:	e7 f1 00 cd 24 c2 [	 ]*wcfeb	%v15,%v17,5,12
cf4a45
+.*:	e7 f1 00 cd 24 c2 [	 ]*wcfeb	%v15,%v17,5,12
cf4a45
+.*:	e7 f1 00 bc d4 c0 [	 ]*vclfp	%v15,%v17,13,12,11
cf4a45
+.*:	e7 f1 00 cd 24 c0 [	 ]*wclfeb	%v15,%v17,5,12
cf4a45
+.*:	e7 f1 00 cd 24 c0 [	 ]*wclfeb	%v15,%v17,5,12
cf4a45
+.*:	b9 39 b0 69 [	 ]*dfltcc	%r6,%r9,%r11
cf4a45
+.*:	b9 38 00 69 [	 ]*sortl	%r6,%r9
cf4a45
+.*:	e6 6f 00 d0 00 50 [	 ]*vcvb	%r6,%v15,13
cf4a45
+.*:	e6 6f 00 dc 00 50 [	 ]*vcvb	%r6,%v15,13,12
cf4a45
+.*:	e6 6f 00 d0 00 52 [	 ]*vcvbg	%r6,%v15,13
cf4a45
+.*:	e6 6f 00 dc 00 52 [	 ]*vcvbg	%r6,%v15,13,12
cf4a45
+.*:	b9 3a 00 69 [	 ]*kdsa	%r6,%r9
cf4a45
--- /dev/null	2019-03-07 09:27:55.425999321 +0000
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-optargs.s	2019-03-07 13:24:31.563932472 +0000
cf4a45
@@ -0,0 +1,6 @@
cf4a45
+.text
cf4a45
+foo:
cf4a45
+	vst     %v0,16
cf4a45
+	vst     %v0,16,3
cf4a45
+	vst     %v0,16(%r2)
cf4a45
+	vst     %v0,16(%r2),3
cf4a45
--- /dev/null	2019-03-07 09:27:55.425999321 +0000
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-optargs.d	2019-03-07 13:24:31.563932472 +0000
cf4a45
@@ -0,0 +1,12 @@
cf4a45
+#name: s390x optargs
cf4a45
+#objdump: -dr
cf4a45
+
cf4a45
+.*: +file format .*
cf4a45
+
cf4a45
+Disassembly of section .text:
cf4a45
+
cf4a45
+.* <foo>:
cf4a45
+.*:	e7 00 00 10 00 0e [	 ]*vst	%v0,16
cf4a45
+.*:	e7 00 00 10 30 0e [	 ]*vst	%v0,16,3
cf4a45
+.*:	e7 00 20 10 00 0e [	 ]*vst	%v0,16\(%r2\)
cf4a45
+.*:	e7 00 20 10 30 0e [	 ]*vst	%v0,16\(%r2\),3
cf4a45
--- binutils.orig/opcodes/s390-opc.txt	2019-03-13 13:04:45.457121525 +0000
cf4a45
+++ binutils-2.30/opcodes/s390-opc.txt	2019-03-13 13:08:20.009362157 +0000
cf4a45
@@ -1889,106 +1889,120 @@ e70000000036 vlm VRS_VVRDU "vector load
cf4a45
 e7000000000e vst VRX_VRRDU "vector store" arch12 zarch optparm
cf4a45
 e7000000003e vstm VRS_VVRDU "vector store multiple" arch12 zarch optparm
cf4a45
 
cf4a45
+
cf4a45
 # arch13 instructions
cf4a45
 
cf4a45
-b9f5 ncrk RRF_R0RR2 " " arch13 zarch
cf4a45
-b9e5 ncgrk RRF_R0RR2 " " arch13 zarch
cf4a45
-e50a mvcrl SSE_RDRD " " arch13 zarch
cf4a45
-b974 nnrk RRF_R0RR2 " " arch13 zarch
cf4a45
-b964 nngrk RRF_R0RR2 " " arch13 zarch
cf4a45
-b976 nork RRF_R0RR2 " " arch13 zarch
cf4a45
-b966 nogrk RRF_R0RR2 " " arch13 zarch
cf4a45
-b977 nxrk RRF_R0RR2 " " arch13 zarch
cf4a45
-b967 nxgrk RRF_R0RR2 " " arch13 zarch
cf4a45
-b975 ocrk RRF_R0RR2 " " arch13 zarch
cf4a45
-b965 ocgrk RRF_R0RR2 " " arch13 zarch
cf4a45
-b9e1 popcnt RRF_U0RR " " arch13 zarch optparm
cf4a45
-b9f0 selr RRF_RURR " " arch13 zarch
cf4a45
-b9f00000 selr*20 RRF_R0RR3 " " arch13 zarch
cf4a45
-b9e3 selgr RRF_RURR " " arch13 zarch
cf4a45
-b9e30000 selgr*20 RRF_R0RR3 " " arch13 zarch
cf4a45
-b9c0 selhhhr RRF_RURR " " arch13 zarch
cf4a45
-b9c00000 selhhhr*20 RRF_R0RR3 " " arch13 zarch
cf4a45
-
cf4a45
-e60000000006 vlbr VRX_VRRDU " " arch13 zarch
cf4a45
-e60000001006 vlbrh VRX_VRRD " " arch13 zarch
cf4a45
-e60000002006 vlbrf VRX_VRRD " " arch13 zarch
cf4a45
-e60000003006 vlbrg VRX_VRRD " " arch13 zarch
cf4a45
-e60000004006 vlbrq VRX_VRRD " " arch13 zarch
cf4a45
-
cf4a45
-e60000000007 vler VRX_VRRDU " " arch13 zarch
cf4a45
-e60000001007 vlerh VRX_VRRD " " arch13 zarch
cf4a45
-e60000002007 vlerf VRX_VRRD " " arch13 zarch
cf4a45
-e60000003007 vlerg VRX_VRRD " " arch13 zarch
cf4a45
-
cf4a45
-e60000000004 vllebrz VRX_VRRDU " " arch13 zarch
cf4a45
-e60000001004 vllebrzh VRX_VRRD " " arch13 zarch
cf4a45
-e60000002004 vllebrzf VRX_VRRD " " arch13 zarch
cf4a45
-e60000003004 ldrv VRX_VRRD " " arch13 zarch
cf4a45
-e60000003004 vllebrzg VRX_VRRD " " arch13 zarch
cf4a45
-e60000006004 lerv VRX_VRRD " " arch13 zarch
cf4a45
-e60000006004 vllebrze VRX_VRRD " " arch13 zarch
cf4a45
-
cf4a45
-e60000000001 vlebrh VRX_VRRDU " " arch13 zarch
cf4a45
-e60000000003 vlebrf VRX_VRRDU " " arch13 zarch
cf4a45
-e60000000002 vlebrg VRX_VRRDU " " arch13 zarch
cf4a45
-
cf4a45
-e60000000005 vlbrrep VRX_VRRDU " " arch13 zarch
cf4a45
-e60000001005 vlbrreph VRX_VRRD " " arch13 zarch
cf4a45
-e60000002005 vlbrrepf VRX_VRRD " " arch13 zarch
cf4a45
-e60000003005 vlbrrepg VRX_VRRD " " arch13 zarch
cf4a45
-
cf4a45
-e6000000000e vstbr VRX_VRRDU " " arch13 zarch
cf4a45
-e6000000100e vstbrh VRX_VRRD " " arch13 zarch
cf4a45
-e6000000200e vstbrf VRX_VRRD " " arch13 zarch
cf4a45
-e6000000300e vstbrg VRX_VRRD " " arch13 zarch
cf4a45
-e6000000400e vstbrq VRX_VRRD " " arch13 zarch
cf4a45
-
cf4a45
-e6000000000f vster VRX_VRRDU " " arch13 zarch
cf4a45
-e6000000100f vsterh VRX_VRRD " " arch13 zarch
cf4a45
-e6000000200f vsterf VRX_VRRD " " arch13 zarch
cf4a45
-e6000000300f vsterg VRX_VRRD " " arch13 zarch
cf4a45
-
cf4a45
-e60000000009 vstebrh VRX_VRRDU " " arch13 zarch
cf4a45
-e6000000000b vstebrf VRX_VRRDU " " arch13 zarch
cf4a45
-e6000000000b sterv VRX_VRRD " " arch13 zarch
cf4a45
-e6000000000a vstebrg VRX_VRRDU " " arch13 zarch
cf4a45
-e6000000000a stdrv VRX_VRRD " " arch13 zarch
cf4a45
-
cf4a45
-e70000000086 vsld VRI_VVV0U " " arch13 zarch
cf4a45
-e70000000087 vsrd VRI_VVV0U " " arch13 zarch
cf4a45
-
cf4a45
-e7000000008b vstrs VRR_VVVUU0V " " arch13 zarch optparm
cf4a45
-
cf4a45
-e7000000008b vstrsb VRR_VVVU0VB " " arch13 zarch optparm
cf4a45
-e7000100008b vstrsh VRR_VVVU0VB " " arch13 zarch optparm
cf4a45
-e7000200008b vstrsf VRR_VVVU0VB " " arch13 zarch optparm
cf4a45
-
cf4a45
-e7000020008b vstrszb VRR_VVVU0VB2 " " arch13 zarch optparm
cf4a45
-e7000120008b vstrszh VRR_VVVU0VB2 " " arch13 zarch optparm
cf4a45
-e7000220008b vstrszf VRR_VVVU0VB2 " " arch13 zarch optparm
cf4a45
-
cf4a45
-e700000000c3 vcfps VRR_VV0UUU " " arch13 zarch
cf4a45
-e700000020c3 vcefb VRR_VV0UU " " arch13 zarch
cf4a45
-e700000820c3 wcefb VRR_VV0UU8 " " arch13 zarch
cf4a45
-
cf4a45
-e700000000c1 vcfpl VRR_VV0UUU " " arch13 zarch
cf4a45
-e700000020c1 vcelfb VRR_VV0UU " " arch13 zarch
cf4a45
-e700000820c1 wcelfb VRR_VV0UU8 " " arch13 zarch
cf4a45
-
cf4a45
-e700000000c2 vcsfp VRR_VV0UUU " " arch13 zarch
cf4a45
-e700000020c2 vcfeb VRR_VV0UU " " arch13 zarch
cf4a45
-e700000820c2 wcfeb VRR_VV0UU8 " " arch13 zarch
cf4a45
-
cf4a45
-e700000000c0 vclfp VRR_VV0UUU " " arch13 zarch
cf4a45
-e700000020c0 vclfeb VRR_VV0UU " " arch13 zarch
cf4a45
-e700000820c0 wclfeb VRR_VV0UU8 " " arch13 zarch
cf4a45
 
cf4a45
-b939 dfltcc RRF_R0RR2 " " arch13 zarch
cf4a45
+# Miscellaneous Instruction Extensions Facility 2
cf4a45
+
cf4a45
+b9f5 ncrk RRF_R0RR2 "and with complement 32 bit" arch13 zarch
cf4a45
+b9e5 ncgrk RRF_R0RR2 "and with complement 64 bit" arch13 zarch
cf4a45
+e50a mvcrl SSE_RDRD "move right to left" arch13 zarch
cf4a45
+b974 nnrk RRF_R0RR2 "nand 32 bit" arch13 zarch
cf4a45
+b964 nngrk RRF_R0RR2 "nand 64 bit" arch13 zarch
cf4a45
+b976 nork RRF_R0RR2 "nor 32 bit" arch13 zarch
cf4a45
+b966 nogrk RRF_R0RR2 "nor 64 bit" arch13 zarch
cf4a45
+b977 nxrk RRF_R0RR2 "not exclusive or 32 bit" arch13 zarch
cf4a45
+b967 nxgrk RRF_R0RR2 "not exclusive or 64 bit" arch13 zarch
cf4a45
+b975 ocrk RRF_R0RR2 "or with complement 32 bit" arch13 zarch
cf4a45
+b965 ocgrk RRF_R0RR2 "or with complement 64 bit" arch13 zarch
cf4a45
+b9e1 popcnt RRF_U0RR "population count arch13" arch13 zarch optparm
cf4a45
+b9f0 selr RRF_RURR "select 32 bit" arch13 zarch
cf4a45
+b9f00000 selr*20 RRF_R0RR3 "select 32 bit" arch13 zarch
cf4a45
+b9e3 selgr RRF_RURR "select 64 bit" arch13 zarch
cf4a45
+b9e30000 selgr*20 RRF_R0RR3 "select 64 bit" arch13 zarch
cf4a45
+b9c0 selfhr RRF_RURR "select high" arch13 zarch
cf4a45
+b9c00000 selfhr*20 RRF_R0RR3 "select high" arch13 zarch
cf4a45
+
cf4a45
+# Vector Enhancements Facility 2
cf4a45
+
cf4a45
+e60000000006 vlbr VRX_VRRDU "vector load byte reversed elements" arch13 zarch
cf4a45
+e60000001006 vlbrh VRX_VRRD "vector load byte reversed halfword elements" arch13 zarch
cf4a45
+e60000002006 vlbrf VRX_VRRD "vector load byte reversed word elements" arch13 zarch
cf4a45
+e60000003006 vlbrg VRX_VRRD "vector load byte reversed doubleword elements" arch13 zarch
cf4a45
+e60000004006 vlbrq VRX_VRRD "vector load byte reversed quadword elements" arch13 zarch
cf4a45
+
cf4a45
+e60000000007 vler VRX_VRRDU "vector load elements reversed" arch13 zarch
cf4a45
+e60000001007 vlerh VRX_VRRD "vector load halfword elements reversed" arch13 zarch
cf4a45
+e60000002007 vlerf VRX_VRRD "vector load word elements reversed" arch13 zarch
cf4a45
+e60000003007 vlerg VRX_VRRD "vector load doubleword elements reversed" arch13 zarch
cf4a45
+
cf4a45
+e60000000004 vllebrz VRX_VRRDU "vector load byte reversed element and zero" arch13 zarch
cf4a45
+e60000001004 vllebrzh VRX_VRRD "vector load byte reversed halfword element and zero" arch13 zarch
cf4a45
+e60000002004 vllebrzf VRX_VRRD "vector load byte reversed word element and zero" arch13 zarch
cf4a45
+e60000003004 ldrv VRX_VRRD "load byte reversed doubleword" arch13 zarch
cf4a45
+e60000003004 vllebrzg VRX_VRRD "vector load byte reversed doubleword element and zero" arch13 zarch
cf4a45
+e60000006004 lerv VRX_VRRD "load byte reversed word" arch13 zarch
cf4a45
+e60000006004 vllebrze VRX_VRRD "vector load byte reversed word element left-aligned and zero" arch13 zarch
cf4a45
+
cf4a45
+e60000000001 vlebrh VRX_VRRDU "vector load byte reversed halfword element" arch13 zarch
cf4a45
+e60000000003 vlebrf VRX_VRRDU "vector load byte reversed word element" arch13 zarch
cf4a45
+e60000000002 vlebrg VRX_VRRDU "vector load byte reversed doubleword element" arch13 zarch
cf4a45
+
cf4a45
+e60000000005 vlbrrep VRX_VRRDU "vector load byte reversed element and replicate" arch13 zarch
cf4a45
+e60000001005 vlbrreph VRX_VRRD "vector load byte reversed halfword element and replicate" arch13 zarch
cf4a45
+e60000002005 vlbrrepf VRX_VRRD "vector load byte reversed word element and replicate" arch13 zarch
cf4a45
+e60000003005 vlbrrepg VRX_VRRD "vector load byte reversed doubleword element and replicate" arch13 zarch
cf4a45
+
cf4a45
+e6000000000e vstbr VRX_VRRDU "vector store byte reversed elements" arch13 zarch
cf4a45
+e6000000100e vstbrh VRX_VRRD "vector store byte reversed halfword elements" arch13 zarch
cf4a45
+e6000000200e vstbrf VRX_VRRD "vector store byte reversed word elements" arch13 zarch
cf4a45
+e6000000300e vstbrg VRX_VRRD "vector store byte reversed doubleword elements" arch13 zarch
cf4a45
+e6000000400e vstbrq VRX_VRRD "vector store byte reversed quadword elements" arch13 zarch
cf4a45
+
cf4a45
+e6000000000f vster VRX_VRRDU "vector store elements reversed" arch13 zarch
cf4a45
+e6000000100f vsterh VRX_VRRD "vector store halfword elements reversed" arch13 zarch
cf4a45
+e6000000200f vsterf VRX_VRRD "vector store word elements reversed" arch13 zarch
cf4a45
+e6000000300f vsterg VRX_VRRD "vector store doubleword elements reversed" arch13 zarch
cf4a45
+
cf4a45
+e60000000009 vstebrh VRX_VRRDU "vector store byte reversed halfword element" arch13 zarch
cf4a45
+e6000000000b vstebrf VRX_VRRDU "vector store byte reversed word element" arch13 zarch
cf4a45
+e6000000000b sterv VRX_VRRD "store byte reversed word" arch13 zarch
cf4a45
+e6000000000a vstebrg VRX_VRRDU "vector store byte reversed doubleword element" arch13 zarch
cf4a45
+e6000000000a stdrv VRX_VRRD "store byte reversed doubleword" arch13 zarch
cf4a45
+
cf4a45
+e70000000086 vsld VRI_VVV0U "vector shift left double by bit" arch13 zarch
cf4a45
+e70000000087 vsrd VRI_VVV0U "vector shift right double by bit" arch13 zarch
cf4a45
+
cf4a45
+e7000000008b vstrs VRR_VVVUU0V "vector string search" arch13 zarch optparm
cf4a45
+
cf4a45
+e7000000008b vstrsb VRR_VVVU0VB "vector string search byte" arch13 zarch optparm
cf4a45
+e7000100008b vstrsh VRR_VVVU0VB "vector string search halfword" arch13 zarch optparm
cf4a45
+e7000200008b vstrsf VRR_VVVU0VB "vector string search word" arch13 zarch optparm
cf4a45
+
cf4a45
+e7000020008b vstrszb VRR_VVV0V "vector string search byte zero" arch13 zarch
cf4a45
+e7000120008b vstrszh VRR_VVV0V "vector string search halfword zero" arch13 zarch
cf4a45
+e7000220008b vstrszf VRR_VVV0V "vector string search word zero" arch13 zarch
cf4a45
+
cf4a45
+e700000000c3 vcfps VRR_VV0UUU "vector fp convert from fixed" arch13 zarch
cf4a45
+e700000020c3 vcefb VRR_VV0UU "vector fp convert from fixed 32 bit" arch13 zarch
cf4a45
+e700000820c3 wcefb VRR_VV0UU8 "vector fp convert from fixed 32 bit" arch13 zarch
cf4a45
+
cf4a45
+e700000000c1 vcfpl VRR_VV0UUU "vector fp convert from logical" arch13 zarch
cf4a45
+e700000020c1 vcelfb VRR_VV0UU "vector fp convert from logical 32 bit" arch13 zarch
cf4a45
+e700000820c1 wcelfb VRR_VV0UU8 "vector fp convert from logical 32 bit" arch13 zarch
cf4a45
+
cf4a45
+e700000000c2 vcsfp VRR_VV0UUU "vector fp convert to fixed" arch13 zarch
cf4a45
+e700000020c2 vcfeb VRR_VV0UU "vector fp convert to fixed 32 bit" arch13 zarch
cf4a45
+e700000820c2 wcfeb VRR_VV0UU8 "vector fp convert to fixed 32 bit" arch13 zarch
cf4a45
+
cf4a45
+e700000000c0 vclfp VRR_VV0UUU "vector fp convert to logical" arch13 zarch
cf4a45
+e700000020c0 vclfeb VRR_VV0UU "vector fp convert to logical 32 bit" arch13 zarch
cf4a45
+e700000820c0 wclfeb VRR_VV0UU8 "vector fp convert to logical 32 bit" arch13 zarch
cf4a45
+
cf4a45
+# Deflate conversion facility
cf4a45
+
cf4a45
+b939 dfltcc RRF_R0RR2 "deflate conversion call" arch13 zarch
cf4a45
+
cf4a45
+# Enhanced-Sort Facility
cf4a45
+
cf4a45
+b938 sortl RRE_RR "sort lists" arch13 zarch
cf4a45
+
cf4a45
+# Vector packed decimal enhancement facility
cf4a45
 
cf4a45
-b938 sortl RRE_RR " " arch13 zarch
cf4a45
+e60000000050 vcvb VRR_RV0UU "vector convert to binary 32 bit" arch13 zarch optparm
cf4a45
+e60000000052 vcvbg VRR_RV0UU "vector convert to binary 64 bit" arch13 zarch optparm
cf4a45
 
cf4a45
-e60000000050 vcvb VRR_RV0UU " " arch13 zarch optparm
cf4a45
-e60000000052 vcvbg VRR_RV0UU " " arch13 zarch optparm
cf4a45
+# Message Security Assist Extension 9
cf4a45
 
cf4a45
-b93a kdsa RRE_RR " " arch13 zarch
cf4a45
+b93a kdsa RRE_RR "compute digital signature authentication" arch13 zarch
cf4a45
diff -rup binutils.orig/gas/testsuite/gas/s390/zarch-arch13.d binutils-2.30/gas/testsuite/gas/s390/zarch-arch13.d
cf4a45
--- binutils.orig/gas/testsuite/gas/s390/zarch-arch13.d	2019-05-21 10:55:42.538069199 +0100
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-arch13.d	2019-05-21 11:15:28.157369631 +0100
cf4a45
@@ -61,27 +61,27 @@ Disassembly of section .text:
cf4a45
 .*:	b9 e3 bd 69 [	 ]*selgrnh	%r6,%r9,%r11
cf4a45
 .*:	b9 e3 bd 69 [	 ]*selgrnh	%r6,%r9,%r11
cf4a45
 .*:	b9 e3 be 69 [	 ]*selgrno	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 bd 69 [	 ]*selhhhrnh	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b1 69 [	 ]*selhhhro	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b2 69 [	 ]*selhhhrh	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b2 69 [	 ]*selhhhrh	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b3 69 [	 ]*selhhhrnle	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b4 69 [	 ]*selhhhrl	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b4 69 [	 ]*selhhhrl	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b5 69 [	 ]*selhhhrnhe	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b6 69 [	 ]*selhhhrlh	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b7 69 [	 ]*selhhhrne	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b7 69 [	 ]*selhhhrne	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b8 69 [	 ]*selhhhre	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b8 69 [	 ]*selhhhre	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 b9 69 [	 ]*selhhhrnlh	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 ba 69 [	 ]*selhhhrhe	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 bb 69 [	 ]*selhhhrnl	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 bb 69 [	 ]*selhhhrnl	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 bc 69 [	 ]*selhhhrle	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 bd 69 [	 ]*selhhhrnh	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 bd 69 [	 ]*selhhhrnh	%r6,%r9,%r11
cf4a45
-.*:	b9 c0 be 69 [	 ]*selhhhrno	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bd 69 [	 ]*selfhrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b1 69 [	 ]*selfhro	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b2 69 [	 ]*selfhrh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b2 69 [	 ]*selfhrh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b3 69 [	 ]*selfhrnle	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b4 69 [	 ]*selfhrl	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b4 69 [	 ]*selfhrl	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b5 69 [	 ]*selfhrnhe	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b6 69 [	 ]*selfhrlh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b7 69 [	 ]*selfhrne	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b7 69 [	 ]*selfhrne	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b8 69 [	 ]*selfhre	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b8 69 [	 ]*selfhre	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 b9 69 [	 ]*selfhrnlh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 ba 69 [	 ]*selfhrhe	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bb 69 [	 ]*selfhrnl	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bb 69 [	 ]*selfhrnl	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bc 69 [	 ]*selfhrle	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bd 69 [	 ]*selfhrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 bd 69 [	 ]*selfhrnh	%r6,%r9,%r11
cf4a45
+.*:	b9 c0 be 69 [	 ]*selfhrno	%r6,%r9,%r11
cf4a45
 .*:	e6 f6 9f a0 d0 06 [	 ]*vlbr	%v15,4000\(%r6,%r9\),13
cf4a45
 .*:	e6 f6 9f a0 10 06 [	 ]*vlbrh	%v15,4000\(%r6,%r9\)
cf4a45
 .*:	e6 f6 9f a0 20 06 [	 ]*vlbrf	%v15,4000\(%r6,%r9\)
cf4a45
@@ -130,11 +130,8 @@ Disassembly of section .text:
cf4a45
 .*:	e7 f1 42 00 87 8b [	 ]*vstrsf	%v15,%v17,%v20,%v24
cf4a45
 .*:	e7 f1 42 d0 87 8b [	 ]*vstrsf	%v15,%v17,%v20,%v24,13
cf4a45
 .*:	e7 f1 40 20 87 8b [	 ]*vstrszb	%v15,%v17,%v20,%v24
cf4a45
-.*:	e7 f1 40 f0 87 8b [	 ]*vstrszb	%v15,%v17,%v20,%v24,13
cf4a45
 .*:	e7 f1 41 20 87 8b [	 ]*vstrszh	%v15,%v17,%v20,%v24
cf4a45
-.*:	e7 f1 41 f0 87 8b [	 ]*vstrszh	%v15,%v17,%v20,%v24,13
cf4a45
 .*:	e7 f1 42 20 87 8b [	 ]*vstrszf	%v15,%v17,%v20,%v24
cf4a45
-.*:	e7 f1 42 f0 87 8b [	 ]*vstrszf	%v15,%v17,%v20,%v24,13
cf4a45
 .*:	e7 f1 00 bc d4 c3 [	 ]*vcfps	%v15,%v17,13,12,11
cf4a45
 .*:	e7 f1 00 cd 24 c3 [	 ]*wcefb	%v15,%v17,5,12
cf4a45
 .*:	e7 f1 00 cd 24 c3 [	 ]*wcefb	%v15,%v17,5,12
cf4a45
@@ -154,3 +151,4 @@ Disassembly of section .text:
cf4a45
 .*:	e6 6f 00 d0 00 52 [	 ]*vcvbg	%r6,%v15,13
cf4a45
 .*:	e6 6f 00 dc 00 52 [	 ]*vcvbg	%r6,%v15,13,12
cf4a45
 .*:	b9 3a 00 69 [	 ]*kdsa	%r6,%r9
cf4a45
+.*:	07 07 [	 ]*nopr	%r7
cf4a45
diff -rup binutils.orig/gas/testsuite/gas/s390/zarch-arch13.s binutils-2.30/gas/testsuite/gas/s390/zarch-arch13.s
cf4a45
--- binutils.orig/gas/testsuite/gas/s390/zarch-arch13.s	2019-05-21 10:55:42.534069229 +0100
cf4a45
+++ binutils-2.30/gas/testsuite/gas/s390/zarch-arch13.s	2019-05-21 11:14:33.365770952 +0100
cf4a45
@@ -55,27 +55,27 @@ foo:
cf4a45
 	selgrnh	%r6,%r9,%r11
cf4a45
 	selgrnp	%r6,%r9,%r11
cf4a45
 	selgrno	%r6,%r9,%r11
cf4a45
-	selhhhr	%r6,%r9,%r11,13
cf4a45
-	selhhhro	%r6,%r9,%r11
cf4a45
-	selhhhrh	%r6,%r9,%r11
cf4a45
-	selhhhrp	%r6,%r9,%r11
cf4a45
-	selhhhrnle	%r6,%r9,%r11
cf4a45
-	selhhhrl	%r6,%r9,%r11
cf4a45
-	selhhhrm	%r6,%r9,%r11
cf4a45
-	selhhhrnhe	%r6,%r9,%r11
cf4a45
-	selhhhrlh	%r6,%r9,%r11
cf4a45
-	selhhhrne	%r6,%r9,%r11
cf4a45
-	selhhhrnz	%r6,%r9,%r11
cf4a45
-	selhhhre	%r6,%r9,%r11
cf4a45
-	selhhhrz	%r6,%r9,%r11
cf4a45
-	selhhhrnlh	%r6,%r9,%r11
cf4a45
-	selhhhrhe	%r6,%r9,%r11
cf4a45
-	selhhhrnl	%r6,%r9,%r11
cf4a45
-	selhhhrnm	%r6,%r9,%r11
cf4a45
-	selhhhrle	%r6,%r9,%r11
cf4a45
-	selhhhrnh	%r6,%r9,%r11
cf4a45
-	selhhhrnp	%r6,%r9,%r11
cf4a45
-	selhhhrno	%r6,%r9,%r11
cf4a45
+	selfhr	%r6,%r9,%r11,13
cf4a45
+	selfhro	%r6,%r9,%r11
cf4a45
+	selfhrh	%r6,%r9,%r11
cf4a45
+	selfhrp	%r6,%r9,%r11
cf4a45
+	selfhrnle	%r6,%r9,%r11
cf4a45
+	selfhrl	%r6,%r9,%r11
cf4a45
+	selfhrm	%r6,%r9,%r11
cf4a45
+	selfhrnhe	%r6,%r9,%r11
cf4a45
+	selfhrlh	%r6,%r9,%r11
cf4a45
+	selfhrne	%r6,%r9,%r11
cf4a45
+	selfhrnz	%r6,%r9,%r11
cf4a45
+	selfhre	%r6,%r9,%r11
cf4a45
+	selfhrz	%r6,%r9,%r11
cf4a45
+	selfhrnlh	%r6,%r9,%r11
cf4a45
+	selfhrhe	%r6,%r9,%r11
cf4a45
+	selfhrnl	%r6,%r9,%r11
cf4a45
+	selfhrnm	%r6,%r9,%r11
cf4a45
+	selfhrle	%r6,%r9,%r11
cf4a45
+	selfhrnh	%r6,%r9,%r11
cf4a45
+	selfhrnp	%r6,%r9,%r11
cf4a45
+	selfhrno	%r6,%r9,%r11
cf4a45
 	vlbr	%v15,4000(%r6,%r9),13
cf4a45
 	vlbrh	%v15,4000(%r6,%r9)
cf4a45
 	vlbrf	%v15,4000(%r6,%r9)
cf4a45
@@ -124,11 +124,8 @@ foo:
cf4a45
 	vstrsf	%v15,%v17,%v20,%v24
cf4a45
 	vstrsf	%v15,%v17,%v20,%v24,13
cf4a45
 	vstrszb	%v15,%v17,%v20,%v24
cf4a45
-	vstrszb	%v15,%v17,%v20,%v24,13
cf4a45
 	vstrszh	%v15,%v17,%v20,%v24
cf4a45
-	vstrszh	%v15,%v17,%v20,%v24,13
cf4a45
 	vstrszf	%v15,%v17,%v20,%v24
cf4a45
-	vstrszf	%v15,%v17,%v20,%v24,13
cf4a45
 	vcfps	%v15,%v17,13,12,11
cf4a45
 	vcefb	%v15,%v17,13,12
cf4a45
 	wcefb	%v15,%v17,13,12