58725c
diff -rup binutils.orig/gas/config/tc-s390.c binutils-2.27/gas/config/tc-s390.c
58725c
--- binutils.orig/gas/config/tc-s390.c	2017-03-24 14:50:52.004815587 +0000
58725c
+++ binutils-2.27/gas/config/tc-s390.c	2017-03-24 14:55:19.129377655 +0000
58725c
@@ -282,7 +282,8 @@ s390_parse_cpu (const char *         arg
58725c
     { STRING_COMMA_LEN ("z10"), 0 },
58725c
     { STRING_COMMA_LEN ("z196"), 0 },
58725c
     { STRING_COMMA_LEN ("zEC12"), S390_INSTR_FLAG_HTM },
58725c
-    { STRING_COMMA_LEN ("z13"), S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX }
58725c
+    { STRING_COMMA_LEN ("z13"), S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
58725c
+    { STRING_COMMA_LEN ("arch12"), S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX | S390_INSTR_FLAG_VX2 }
58725c
   };
58725c
   static struct
58725c
   {
58725c
@@ -294,7 +295,9 @@ s390_parse_cpu (const char *         arg
58725c
     { "htm",   S390_INSTR_FLAG_HTM, TRUE },
58725c
     { "nohtm", S390_INSTR_FLAG_HTM, FALSE },
58725c
     { "vx",    S390_INSTR_FLAG_VX, TRUE },
58725c
-    { "novx",  S390_INSTR_FLAG_VX, FALSE }
58725c
+    { "novx",  S390_INSTR_FLAG_VX, FALSE },
58725c
+    { "vx2",    S390_INSTR_FLAG_VX2, TRUE },
58725c
+    { "novx2",  S390_INSTR_FLAG_VX2, FALSE }
58725c
   };
58725c
   unsigned int icpu;
58725c
   char *ilp_bak;
58725c
diff -rup binutils.orig/gas/doc/as.texinfo binutils-2.27/gas/doc/as.texinfo
58725c
--- binutils.orig/gas/doc/as.texinfo	2017-03-24 14:50:52.037815161 +0000
58725c
+++ binutils-2.27/gas/doc/as.texinfo	2017-03-24 14:56:29.325474523 +0000
58725c
@@ -1656,7 +1656,7 @@ Architecture (esa) or the z/Architecture
58725c
 @item -march=@var{processor}
58725c
 Specify which s390 processor variant is the target, @samp{g6}, @samp{g6},
58725c
 @samp{z900}, @samp{z990}, @samp{z9-109}, @samp{z9-ec}, @samp{z10},
58725c
-@samp{z196}, @samp{zEC12}, or @samp{z13}.
58725c
+@samp{z196}, @samp{zEC12}, or @samp{z13} (or @samp{arch11}), or @samp{arch12}.
58725c
 @item -mregnames
58725c
 @itemx -mno-regnames
58725c
 Allow or disallow symbolic names for registers.
58725c
diff -rup binutils.orig/gas/doc/c-s390.texi binutils-2.27/gas/doc/c-s390.texi
58725c
--- binutils.orig/gas/doc/c-s390.texi	2017-03-24 14:50:52.053814956 +0000
58725c
+++ binutils-2.27/gas/doc/c-s390.texi	2017-03-24 14:57:53.010397844 +0000
58725c
@@ -14,9 +14,11 @@
58725c
 @cindex s390 support
58725c
 
58725c
 The s390 version of @code{@value{AS}} supports two architectures modes
58725c
-and seven chip levels. The architecture modes are the Enterprise System
58725c
+and eleven chip levels.  The architecture modes are the Enterprise System
58725c
 Architecture (ESA) and the newer z/Architecture mode. The chip levels
58725c
-are g5, g6, z900, z990, z9-109, z9-ec, z10, z196, zEC12, and z13.
58725c
+are g5 (or arch3), g6, z900 (or arch5), z990 (or arch6), z9-109, z9-ec
58725c
+(or arch7), z10 (or arch8), z196 (or arch9), zEC12 (or arch10), z13
58725c
+(or arch11), and arch12.
58725c
 
58725c
 @menu
58725c
 * s390 Options::                Command-line Options.
58725c
diff -rup binutils.orig/gas/testsuite/gas/s390/s390.exp binutils-2.27/gas/testsuite/gas/s390/s390.exp
58725c
--- binutils.orig/gas/testsuite/gas/s390/s390.exp	2017-03-24 14:50:54.051789225 +0000
58725c
+++ binutils-2.27/gas/testsuite/gas/s390/s390.exp	2017-03-24 14:54:05.065330554 +0000
58725c
@@ -28,6 +28,7 @@ if [expr [istarget "s390-*-*"] ||  [ista
58725c
     run_dump_test "zarch-z196" "{as -m64} {as -march=z196}"
58725c
     run_dump_test "zarch-zEC12" "{as -m64} {as -march=zEC12}"
58725c
     run_dump_test "zarch-z13" "{as -m64} {as -march=z13}"
58725c
+    run_dump_test "zarch-arch12" "{as -m64} {as -march=arch12}"
58725c
     run_dump_test "zarch-reloc" "{as -m64}"
58725c
     run_dump_test "zarch-operands" "{as -m64} {as -march=z9-109}"
58725c
     run_dump_test "zarch-machine" "{as -m64} {as -march=z900}"
58725c
diff --git a/gas/testsuite/gas/s390/zarch-arch12.d b/gas/testsuite/gas/s390/zarch-arch12.d
58725c
new file mode 100644
58725c
index 0000000..bc2ce18
58725c
--- /dev/null
58725c
+++ b/gas/testsuite/gas/s390/zarch-arch12.d
58725c
@@ -0,0 +1,200 @@
58725c
+#name: s390x opcode
58725c
+#objdump: -dr
58725c
+
58725c
+.*: +file format .*
58725c
+
58725c
+Disassembly of section .text:
58725c
+
58725c
+.* <foo>:
58725c
+.*:	e7 f1 40 00 06 85 [	 ]*vbperm	%v15,%v17,%v20
58725c
+.*:	e7 f6 9f a0 60 04 [	 ]*vllezlf	%v15,4000\(%r6,%r9\)
58725c
+.*:	e7 f1 4d c0 87 b8 [	 ]*vmsl	%v15,%v17,%v20,%v24,13,12
58725c
+.*:	e7 f1 43 d0 87 b8 [	 ]*vmslg	%v15,%v17,%v20,%v24,13
58725c
+.*:	e7 f1 40 00 06 6c [	 ]*vnx	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 00 06 6e [	 ]*vnn	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 00 06 6f [	 ]*voc	%v15,%v17,%v20
58725c
+.*:	e7 f1 00 00 04 50 [	 ]*vpopctb	%v15,%v17
58725c
+.*:	e7 f1 00 00 14 50 [	 ]*vpopcth	%v15,%v17
58725c
+.*:	e7 f1 00 00 24 50 [	 ]*vpopctf	%v15,%v17
58725c
+.*:	e7 f1 00 00 34 50 [	 ]*vpopctg	%v15,%v17
58725c
+.*:	e7 f1 40 00 26 e3 [	 ]*vfasb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 26 e3 [	 ]*wfasb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 46 e3 [	 ]*wfaxb	%v15,%v17,%v20
58725c
+.*:	e7 f1 00 00 24 cb [	 ]*wfcsb	%v15,%v17
58725c
+.*:	e7 f1 00 00 44 cb [	 ]*wfcxb	%v15,%v17
58725c
+.*:	e7 f1 00 00 24 ca [	 ]*wfksb	%v15,%v17
58725c
+.*:	e7 f1 00 00 44 ca [	 ]*wfkxb	%v15,%v17
58725c
+.*:	e7 f1 40 00 26 e8 [	 ]*vfcesb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 10 26 e8 [	 ]*vfcesbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 26 e8 [	 ]*wfcesb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 18 26 e8 [	 ]*wfcesbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 46 e8 [	 ]*wfcexb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 18 46 e8 [	 ]*wfcexbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 04 26 e8 [	 ]*vfkesb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 14 26 e8 [	 ]*vfkesbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 26 e8 [	 ]*wfkesb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 26 e8 [	 ]*wfkesbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 04 36 e8 [	 ]*vfkedb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 14 36 e8 [	 ]*vfkedbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 36 e8 [	 ]*wfkedb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 36 e8 [	 ]*wfkedbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 46 e8 [	 ]*wfkexb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 46 e8 [	 ]*wfkexbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 00 26 eb [	 ]*vfchsb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 10 26 eb [	 ]*vfchsbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 26 eb [	 ]*wfchsb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 18 26 eb [	 ]*wfchsbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 46 eb [	 ]*wfchxb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 18 46 eb [	 ]*wfchxbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 04 26 eb [	 ]*vfkhsb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 14 26 eb [	 ]*vfkhsbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 26 eb [	 ]*wfkhsb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 26 eb [	 ]*wfkhsbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 04 36 eb [	 ]*vfkhdb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 14 36 eb [	 ]*vfkhdbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 36 eb [	 ]*wfkhdb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 36 eb [	 ]*wfkhdbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 46 eb [	 ]*wfkhxb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 46 eb [	 ]*wfkhxbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 00 26 ea [	 ]*vfchesb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 10 26 ea [	 ]*vfchesbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 26 ea [	 ]*wfchesb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 18 26 ea [	 ]*wfchesbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 46 ea [	 ]*wfchexb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 18 46 ea [	 ]*wfchexbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 04 26 ea [	 ]*vfkhesb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 14 26 ea [	 ]*vfkhesbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 26 ea [	 ]*wfkhesb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 26 ea [	 ]*wfkhesbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 04 36 ea [	 ]*vfkhedb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 14 36 ea [	 ]*vfkhedbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 36 ea [	 ]*wfkhedb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 36 ea [	 ]*wfkhedbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 0c 46 ea [	 ]*wfkhexb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 1c 46 ea [	 ]*wfkhexbs	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 00 26 e5 [	 ]*vfdsb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 26 e5 [	 ]*wfdsb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 46 e5 [	 ]*wfdxb	%v15,%v17,%v20
58725c
+.*:	e7 f1 00 cd 24 c7 [	 ]*wfisb	%v15,%v17,5,12
58725c
+.*:	e7 f1 00 cd 24 c7 [	 ]*wfisb	%v15,%v17,5,12
58725c
+.*:	e7 f1 00 cd 44 c7 [	 ]*wfixb	%v15,%v17,5,12
58725c
+.*:	e7 f1 00 0c d4 c4 [	 ]*vfll	%v15,%v17,13,12
58725c
+.*:	e7 f1 00 00 24 c4 [	 ]*vflls	%v15,%v17
58725c
+.*:	e7 f1 00 08 24 c4 [	 ]*wflls	%v15,%v17
58725c
+.*:	e7 f1 00 08 34 c4 [	 ]*wflld	%v15,%v17
58725c
+.*:	e7 f1 00 bc d4 c5 [	 ]*vflr	%v15,%v17,13,12,11
58725c
+.*:	e7 f1 00 cd 34 c5 [	 ]*wflrd	%v15,%v17,5,12
58725c
+.*:	e7 f1 00 cd 34 c5 [	 ]*wflrd	%v15,%v17,5,12
58725c
+.*:	e7 f1 00 cd 44 c5 [	 ]*wflrx	%v15,%v17,5,12
58725c
+.*:	e7 f1 40 bc d6 ef [	 ]*vfmax	%v15,%v17,%v20,13,12,11
58725c
+.*:	e7 f1 40 d0 26 ef [	 ]*vfmaxsb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 d0 36 ef [	 ]*vfmaxdb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 d8 26 ef [	 ]*wfmaxsb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 d8 36 ef [	 ]*wfmaxdb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 d8 46 ef [	 ]*wfmaxxb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 bc d6 ee [	 ]*vfmin	%v15,%v17,%v20,13,12,11
58725c
+.*:	e7 f1 40 d0 26 ee [	 ]*vfminsb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 d0 36 ee [	 ]*vfmindb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 d8 26 ee [	 ]*wfminsb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 d8 36 ee [	 ]*wfmindb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 d8 46 ee [	 ]*wfminxb	%v15,%v17,%v20,13
58725c
+.*:	e7 f1 40 00 26 e7 [	 ]*vfmsb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 26 e7 [	 ]*wfmsb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 46 e7 [	 ]*wfmxb	%v15,%v17,%v20
58725c
+.*:	e7 f1 42 00 87 8f [	 ]*vfmasb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 42 08 87 8f [	 ]*wfmasb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 44 08 87 8f [	 ]*wfmaxb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 42 00 87 8e [	 ]*vfmssb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 42 08 87 8e [	 ]*wfmssb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 44 08 87 8e [	 ]*wfmsxb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 4c 0d 87 9f [	 ]*vfnma	%v15,%v17,%v20,%v24,13,12
58725c
+.*:	e7 f1 42 00 87 9f [	 ]*vfnmasb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 42 08 87 9f [	 ]*wfnmasb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 43 00 87 9f [	 ]*vfnmadb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 43 08 87 9f [	 ]*wfnmadb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 44 08 87 9f [	 ]*wfnmaxb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 4c 0d 87 9e [	 ]*vfnms	%v15,%v17,%v20,%v24,13,12
58725c
+.*:	e7 f1 42 00 87 9e [	 ]*vfnmssb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 42 08 87 9e [	 ]*wfnmssb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 43 00 87 9e [	 ]*vfnmsdb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 43 08 87 9e [	 ]*wfnmsdb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 44 08 87 9e [	 ]*wfnmsxb	%v15,%v17,%v20,%v24
58725c
+.*:	e7 f1 00 d0 24 cc [	 ]*vfpsosb	%v15,%v17,13
58725c
+.*:	e7 f1 00 d8 24 cc [	 ]*wfpsosb	%v15,%v17,13
58725c
+.*:	e7 f1 00 00 24 cc [	 ]*vflcsb	%v15,%v17
58725c
+.*:	e7 f1 00 08 24 cc [	 ]*wflcsb	%v15,%v17
58725c
+.*:	e7 f1 00 10 24 cc [	 ]*vflnsb	%v15,%v17
58725c
+.*:	e7 f1 00 18 24 cc [	 ]*wflnsb	%v15,%v17
58725c
+.*:	e7 f1 00 20 24 cc [	 ]*vflpsb	%v15,%v17
58725c
+.*:	e7 f1 00 28 24 cc [	 ]*wflpsb	%v15,%v17
58725c
+.*:	e7 f1 00 d8 44 cc [	 ]*wfpsoxb	%v15,%v17,13
58725c
+.*:	e7 f1 00 08 44 cc [	 ]*wflcxb	%v15,%v17
58725c
+.*:	e7 f1 00 18 44 cc [	 ]*wflnxb	%v15,%v17
58725c
+.*:	e7 f1 00 28 44 cc [	 ]*wflpxb	%v15,%v17
58725c
+.*:	e7 f1 00 00 24 ce [	 ]*vfsqsb	%v15,%v17
58725c
+.*:	e7 f1 00 08 24 ce [	 ]*wfsqsb	%v15,%v17
58725c
+.*:	e7 f1 00 08 44 ce [	 ]*wfsqxb	%v15,%v17
58725c
+.*:	e7 f1 40 00 26 e2 [	 ]*vfssb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 26 e2 [	 ]*wfssb	%v15,%v17,%v20
58725c
+.*:	e7 f1 40 08 46 e2 [	 ]*wfsxb	%v15,%v17,%v20
58725c
+.*:	e7 f1 ff d0 24 4a [	 ]*vftcisb	%v15,%v17,4093
58725c
+.*:	e7 f1 ff d8 24 4a [	 ]*wftcisb	%v15,%v17,4093
58725c
+.*:	e7 f1 ff d8 44 4a [	 ]*wftcixb	%v15,%v17,4093
58725c
+.*:	e3 69 b8 f0 fd 38 [	 ]*agh	%r6,-10000\(%r9,%r11\)
58725c
+.*:	e3 d6 98 f0 fd 47 [	 ]*binh	-10000\(%r6,%r9\)
58725c
+.*:	e3 f6 98 f0 fd 47 [	 ]*bi	-10000\(%r6,%r9\)
58725c
+.*:	e3 16 98 f0 fd 47 [	 ]*bio	-10000\(%r6,%r9\)
58725c
+.*:	e3 26 98 f0 fd 47 [	 ]*bih	-10000\(%r6,%r9\)
58725c
+.*:	e3 26 98 f0 fd 47 [	 ]*bih	-10000\(%r6,%r9\)
58725c
+.*:	e3 36 98 f0 fd 47 [	 ]*binle	-10000\(%r6,%r9\)
58725c
+.*:	e3 46 98 f0 fd 47 [	 ]*bil	-10000\(%r6,%r9\)
58725c
+.*:	e3 46 98 f0 fd 47 [	 ]*bil	-10000\(%r6,%r9\)
58725c
+.*:	e3 56 98 f0 fd 47 [	 ]*binhe	-10000\(%r6,%r9\)
58725c
+.*:	e3 66 98 f0 fd 47 [	 ]*bilh	-10000\(%r6,%r9\)
58725c
+.*:	e3 76 98 f0 fd 47 [	 ]*bine	-10000\(%r6,%r9\)
58725c
+.*:	e3 76 98 f0 fd 47 [	 ]*bine	-10000\(%r6,%r9\)
58725c
+.*:	e3 86 98 f0 fd 47 [	 ]*bie	-10000\(%r6,%r9\)
58725c
+.*:	e3 86 98 f0 fd 47 [	 ]*bie	-10000\(%r6,%r9\)
58725c
+.*:	e3 96 98 f0 fd 47 [	 ]*binlh	-10000\(%r6,%r9\)
58725c
+.*:	e3 a6 98 f0 fd 47 [	 ]*bihe	-10000\(%r6,%r9\)
58725c
+.*:	e3 b6 98 f0 fd 47 [	 ]*binl	-10000\(%r6,%r9\)
58725c
+.*:	e3 b6 98 f0 fd 47 [	 ]*binl	-10000\(%r6,%r9\)
58725c
+.*:	e3 c6 98 f0 fd 47 [	 ]*bile	-10000\(%r6,%r9\)
58725c
+.*:	e3 d6 98 f0 fd 47 [	 ]*binh	-10000\(%r6,%r9\)
58725c
+.*:	e3 d6 98 f0 fd 47 [	 ]*binh	-10000\(%r6,%r9\)
58725c
+.*:	e3 e6 98 f0 fd 47 [	 ]*bino	-10000\(%r6,%r9\)
58725c
+.*:	b9 ec b0 69 [	 ]*mgrk	%r6,%r9,%r11
58725c
+.*:	e3 69 b8 f0 fd 84 [	 ]*mg	%r6,-10000\(%r9,%r11\)
58725c
+.*:	e3 69 b8 f0 fd 3c [	 ]*mgh	%r6,-10000\(%r9,%r11\)
58725c
+.*:	b9 fd b0 69 [	 ]*msrkc	%r6,%r9,%r11
58725c
+.*:	b9 ed b0 69 [	 ]*msgrkc	%r6,%r9,%r11
58725c
+.*:	e3 69 b8 f0 fd 53 [	 ]*msc	%r6,-10000\(%r9,%r11\)
58725c
+.*:	e3 69 b8 f0 fd 83 [	 ]*msgc	%r6,-10000\(%r9,%r11\)
58725c
+.*:	e3 69 b8 f0 fd 39 [	 ]*sgh	%r6,-10000\(%r9,%r11\)
58725c
+.*:	e6 06 9f a0 f0 37 [	 ]*vlrlr	%v15,%r6,4000\(%r9\)
58725c
+.*:	e6 fd 6f a0 f0 35 [	 ]*vlrl	%v15,4000\(%r6\),253
58725c
+.*:	e6 06 9f a0 f0 3f [	 ]*vstrlr	%v15,%r6,4000\(%r9\)
58725c
+.*:	e6 fd 6f a0 f0 3d [	 ]*vstrl	%v15,4000\(%r6\),253
58725c
+.*:	e6 f1 40 cf d6 71 [	 ]*vap	%v15,%v17,%v20,253,12
58725c
+.*:	e6 0f 10 d0 02 77 [	 ]*vcp	%v15,%v17,13
58725c
+.*:	e6 6f 00 d0 00 50 [	 ]*vcvb	%r6,%v15,13
58725c
+.*:	e6 6f 00 d0 00 52 [	 ]*vcvbg	%r6,%v15,13
58725c
+.*:	e6 f6 00 cf d0 58 [	 ]*vcvd	%v15,%r6,253,12
58725c
+.*:	e6 f6 00 cf d0 5a [	 ]*vcvdg	%v15,%r6,253,12
58725c
+.*:	e6 f1 40 cf d6 7a [	 ]*vdp	%v15,%v17,%v20,253,12
58725c
+.*:	e6 f0 ff fd c0 49 [	 ]*vlip	%v15,65533,12
58725c
+.*:	e6 f1 40 cf d6 78 [	 ]*vmp	%v15,%v17,%v20,253,12
58725c
+.*:	e6 f1 40 cf d6 79 [	 ]*vmsp	%v15,%v17,%v20,253,12
58725c
+.*:	e6 fd 6f a0 f0 34 [	 ]*vpkz	%v15,4000\(%r6\),253
58725c
+.*:	e6 f1 fc bf d4 5b [	 ]*vpsop	%v15,%v17,253,252,11
58725c
+.*:	e6 f1 40 cf d6 7b [	 ]*vrp	%v15,%v17,%v20,253,12
58725c
+.*:	e6 f1 40 cf d6 7e [	 ]*vsdp	%v15,%v17,%v20,253,12
58725c
+.*:	e6 f1 fc bf d4 59 [	 ]*vsrp	%v15,%v17,253,252,11
58725c
+.*:	e6 f1 40 cf d6 73 [	 ]*vsp	%v15,%v17,%v20,253,12
58725c
+.*:	e6 0f 00 00 00 5f [	 ]*vtp	%v15
58725c
+.*:	e6 fd 6f a0 f0 3c [	 ]*vupkz	%v15,4000\(%r6\),253
58725c
+.*:	e3 69 b8 f0 fd 4c [	 ]*lgg	%r6,-10000\(%r9,%r11\)
58725c
+.*:	e3 69 b8 f0 fd 48 [	 ]*llgfsg	%r6,-10000\(%r9,%r11\)
58725c
+.*:	e3 69 b8 f0 fd 4d [	 ]*lgsc	%r6,-10000\(%r9,%r11\)
58725c
+.*:	e3 69 b8 f0 fd 49 [	 ]*stgsc	%r6,-10000\(%r9,%r11\)
58725c
+.*:	b9 29 90 6b [	 ]*kma	%r6,%r9,%r11
58725c
diff --git a/gas/testsuite/gas/s390/zarch-arch12.s b/gas/testsuite/gas/s390/zarch-arch12.s
58725c
new file mode 100644
58725c
index 0000000..6ebd2fd
58725c
--- /dev/null
58725c
+++ b/gas/testsuite/gas/s390/zarch-arch12.s
58725c
@@ -0,0 +1,194 @@
58725c
+.text
58725c
+foo:
58725c
+	vbperm	%v15,%v17,%v20
58725c
+	vllezlf	%v15,4000(%r6,%r9)
58725c
+	vmsl	%v15,%v17,%v20,%v24,13,12
58725c
+	vmslg	%v15,%v17,%v20,%v24,13
58725c
+	vnx	%v15,%v17,%v20
58725c
+	vnn	%v15,%v17,%v20
58725c
+	voc	%v15,%v17,%v20
58725c
+	vpopctb	%v15,%v17
58725c
+	vpopcth	%v15,%v17
58725c
+	vpopctf	%v15,%v17
58725c
+	vpopctg	%v15,%v17
58725c
+	vfasb	%v15,%v17,%v20
58725c
+	wfasb	%v15,%v17,%v20
58725c
+	wfaxb	%v15,%v17,%v20
58725c
+	wfcsb	%v15,%v17
58725c
+	wfcxb	%v15,%v17
58725c
+	wfksb	%v15,%v17
58725c
+	wfkxb	%v15,%v17
58725c
+	vfcesb	%v15,%v17,%v20
58725c
+	vfcesbs	%v15,%v17,%v20
58725c
+	wfcesb	%v15,%v17,%v20
58725c
+	wfcesbs	%v15,%v17,%v20
58725c
+	wfcexb	%v15,%v17,%v20
58725c
+	wfcexbs	%v15,%v17,%v20
58725c
+	vfkesb	%v15,%v17,%v20
58725c
+	vfkesbs	%v15,%v17,%v20
58725c
+	wfkesb	%v15,%v17,%v20
58725c
+	wfkesbs	%v15,%v17,%v20
58725c
+	vfkedb	%v15,%v17,%v20
58725c
+	vfkedbs	%v15,%v17,%v20
58725c
+	wfkedb	%v15,%v17,%v20
58725c
+	wfkedbs	%v15,%v17,%v20
58725c
+	wfkexb	%v15,%v17,%v20
58725c
+	wfkexbs	%v15,%v17,%v20
58725c
+	vfchsb	%v15,%v17,%v20
58725c
+	vfchsbs	%v15,%v17,%v20
58725c
+	wfchsb	%v15,%v17,%v20
58725c
+	wfchsbs	%v15,%v17,%v20
58725c
+	wfchxb	%v15,%v17,%v20
58725c
+	wfchxbs	%v15,%v17,%v20
58725c
+	vfkhsb	%v15,%v17,%v20
58725c
+	vfkhsbs	%v15,%v17,%v20
58725c
+	wfkhsb	%v15,%v17,%v20
58725c
+	wfkhsbs	%v15,%v17,%v20
58725c
+	vfkhdb	%v15,%v17,%v20
58725c
+	vfkhdbs	%v15,%v17,%v20
58725c
+	wfkhdb	%v15,%v17,%v20
58725c
+	wfkhdbs	%v15,%v17,%v20
58725c
+	wfkhxb	%v15,%v17,%v20
58725c
+	wfkhxbs	%v15,%v17,%v20
58725c
+	vfchesb	%v15,%v17,%v20
58725c
+	vfchesbs	%v15,%v17,%v20
58725c
+	wfchesb	%v15,%v17,%v20
58725c
+	wfchesbs	%v15,%v17,%v20
58725c
+	wfchexb	%v15,%v17,%v20
58725c
+	wfchexbs	%v15,%v17,%v20
58725c
+	vfkhesb	%v15,%v17,%v20
58725c
+	vfkhesbs	%v15,%v17,%v20
58725c
+	wfkhesb	%v15,%v17,%v20
58725c
+	wfkhesbs	%v15,%v17,%v20
58725c
+	vfkhedb	%v15,%v17,%v20
58725c
+	vfkhedbs	%v15,%v17,%v20
58725c
+	wfkhedb	%v15,%v17,%v20
58725c
+	wfkhedbs	%v15,%v17,%v20
58725c
+	wfkhexb	%v15,%v17,%v20
58725c
+	wfkhexbs	%v15,%v17,%v20
58725c
+	vfdsb	%v15,%v17,%v20
58725c
+	wfdsb	%v15,%v17,%v20
58725c
+	wfdxb	%v15,%v17,%v20
58725c
+	vfisb	%v15,%v17,13,12
58725c
+	wfisb	%v15,%v17,13,12
58725c
+	wfixb	%v15,%v17,13,12
58725c
+	vfll	%v15,%v17,13,12
58725c
+	vflls	%v15,%v17
58725c
+	wflls	%v15,%v17
58725c
+	wflld	%v15,%v17
58725c
+	vflr	%v15,%v17,13,12,11
58725c
+	vflrd	%v15,%v17,13,12
58725c
+	wflrd	%v15,%v17,13,12
58725c
+	wflrx	%v15,%v17,13,12
58725c
+	vfmax	%v15,%v17,%v20,13,12,11
58725c
+	vfmaxsb	%v15,%v17,%v20,13
58725c
+	vfmaxdb	%v15,%v17,%v20,13
58725c
+	wfmaxsb	%v15,%v17,%v20,13
58725c
+	wfmaxdb	%v15,%v17,%v20,13
58725c
+	wfmaxxb	%v15,%v17,%v20,13
58725c
+	vfmin	%v15,%v17,%v20,13,12,11
58725c
+	vfminsb	%v15,%v17,%v20,13
58725c
+	vfmindb	%v15,%v17,%v20,13
58725c
+	wfminsb	%v15,%v17,%v20,13
58725c
+	wfmindb	%v15,%v17,%v20,13
58725c
+	wfminxb	%v15,%v17,%v20,13
58725c
+	vfmsb	%v15,%v17,%v20
58725c
+	wfmsb	%v15,%v17,%v20
58725c
+	wfmxb	%v15,%v17,%v20
58725c
+	vfmasb	%v15,%v17,%v20,%v24
58725c
+	wfmasb	%v15,%v17,%v20,%v24
58725c
+	wfmaxb	%v15,%v17,%v20,%v24
58725c
+	vfmssb	%v15,%v17,%v20,%v24
58725c
+	wfmssb	%v15,%v17,%v20,%v24
58725c
+	wfmsxb	%v15,%v17,%v20,%v24
58725c
+	vfnma	%v15,%v17,%v20,%v24,13,12
58725c
+	vfnmasb	%v15,%v17,%v20,%v24
58725c
+	wfnmasb	%v15,%v17,%v20,%v24
58725c
+	vfnmadb	%v15,%v17,%v20,%v24
58725c
+	wfnmadb	%v15,%v17,%v20,%v24
58725c
+	wfnmaxb	%v15,%v17,%v20,%v24
58725c
+	vfnms	%v15,%v17,%v20,%v24,13,12
58725c
+	vfnmssb	%v15,%v17,%v20,%v24
58725c
+	wfnmssb	%v15,%v17,%v20,%v24
58725c
+	vfnmsdb	%v15,%v17,%v20,%v24
58725c
+	wfnmsdb	%v15,%v17,%v20,%v24
58725c
+	wfnmsxb	%v15,%v17,%v20,%v24
58725c
+	vfpsosb	%v15,%v17,13
58725c
+	wfpsosb	%v15,%v17,13
58725c
+	vflcsb	%v15,%v17
58725c
+	wflcsb	%v15,%v17
58725c
+	vflnsb	%v15,%v17
58725c
+	wflnsb	%v15,%v17
58725c
+	vflpsb	%v15,%v17
58725c
+	wflpsb	%v15,%v17
58725c
+	wfpsoxb	%v15,%v17,13
58725c
+	wflcxb	%v15,%v17
58725c
+	wflnxb	%v15,%v17
58725c
+	wflpxb	%v15,%v17
58725c
+	vfsqsb	%v15,%v17
58725c
+	wfsqsb	%v15,%v17
58725c
+	wfsqxb	%v15,%v17
58725c
+	vfssb	%v15,%v17,%v20
58725c
+	wfssb	%v15,%v17,%v20
58725c
+	wfsxb	%v15,%v17,%v20
58725c
+	vftcisb	%v15,%v17,4093
58725c
+	wftcisb	%v15,%v17,4093
58725c
+	wftcixb	%v15,%v17,4093
58725c
+	agh	%r6,-10000(%r9,%r11)
58725c
+	bic	13,-10000(%r6,%r9)
58725c
+	bi	-10000(%r6,%r9)
58725c
+	bio	-10000(%r6,%r9)
58725c
+	bih	-10000(%r6,%r9)
58725c
+	bip	-10000(%r6,%r9)
58725c
+	binle	-10000(%r6,%r9)
58725c
+	bil	-10000(%r6,%r9)
58725c
+	bim	-10000(%r6,%r9)
58725c
+	binhe	-10000(%r6,%r9)
58725c
+	bilh	-10000(%r6,%r9)
58725c
+	bine	-10000(%r6,%r9)
58725c
+	binz	-10000(%r6,%r9)
58725c
+	bie	-10000(%r6,%r9)
58725c
+	biz	-10000(%r6,%r9)
58725c
+	binlh	-10000(%r6,%r9)
58725c
+	bihe	-10000(%r6,%r9)
58725c
+	binl	-10000(%r6,%r9)
58725c
+	binm	-10000(%r6,%r9)
58725c
+	bile	-10000(%r6,%r9)
58725c
+	binh	-10000(%r6,%r9)
58725c
+	binp	-10000(%r6,%r9)
58725c
+	bino	-10000(%r6,%r9)
58725c
+	mgrk	%r6,%r9,%r11
58725c
+	mg	%r6,-10000(%r9,%r11)
58725c
+	mgh	%r6,-10000(%r9,%r11)
58725c
+	msrkc	%r6,%r9,%r11
58725c
+	msgrkc	%r6,%r9,%r11
58725c
+	msc	%r6,-10000(%r9,%r11)
58725c
+	msgc	%r6,-10000(%r9,%r11)
58725c
+	sgh	%r6,-10000(%r9,%r11)
58725c
+	vlrlr	%v15,%r6,4000(%r9)
58725c
+	vlrl	%v15,4000(%r6),253
58725c
+	vstrlr	%v15,%r6,4000(%r9)
58725c
+	vstrl	%v15,4000(%r6),253
58725c
+	vap	%v15,%v17,%v20,253,12
58725c
+	vcp	%v15,%v17,13
58725c
+	vcvb	%r6,%v15,13
58725c
+	vcvbg	%r6,%v15,13
58725c
+	vcvd	%v15,%r6,253,12
58725c
+	vcvdg	%v15,%r6,253,12
58725c
+	vdp	%v15,%v17,%v20,253,12
58725c
+	vlip	%v15,65533,12
58725c
+	vmp	%v15,%v17,%v20,253,12
58725c
+	vmsp	%v15,%v17,%v20,253,12
58725c
+	vpkz	%v15,4000(%r6),253
58725c
+	vpsop	%v15,%v17,253,252,11
58725c
+	vrp	%v15,%v17,%v20,253,12
58725c
+	vsdp	%v15,%v17,%v20,253,12
58725c
+	vsrp	%v15,%v17,253,252,11
58725c
+	vsp	%v15,%v17,%v20,253,12
58725c
+	vtp	%v15
58725c
+	vupkz	%v15,4000(%r6),253
58725c
+	lgg	%r6,-10000(%r9,%r11)
58725c
+	llgfsg	%r6,-10000(%r9,%r11)
58725c
+	lgsc	%r6,-10000(%r9,%r11)
58725c
+	stgsc	%r6,-10000(%r9,%r11)
58725c
+	kma	%r6,%r9,%r11
58725c
diff -rup binutils.orig/gas/testsuite/gas/s390/zarch-z13.d binutils-2.27/gas/testsuite/gas/s390/zarch-z13.d
58725c
--- binutils.orig/gas/testsuite/gas/s390/zarch-z13.d	2017-03-24 14:50:54.052789212 +0000
58725c
+++ binutils-2.27/gas/testsuite/gas/s390/zarch-z13.d	2017-03-24 14:54:05.065330554 +0000
58725c
@@ -513,12 +513,12 @@ Disassembly of section .text:
58725c
 .*:	e7 f1 00 bc d4 c7 [ 	]*vfi	%v15,%v17,13,12,11
58725c
 .*:	e7 f1 00 cd 34 c7 [ 	]*wfidb	%v15,%v17,5,12
58725c
 .*:	e7 f1 00 cd 34 c7 [ 	]*wfidb	%v15,%v17,5,12
58725c
-.*:	e7 f1 00 0c d4 c4 [ 	]*vlde	%v15,%v17,13,12
58725c
-.*:	e7 f1 00 00 24 c4 [ 	]*vldeb	%v15,%v17
58725c
-.*:	e7 f1 00 08 24 c4 [ 	]*wldeb	%v15,%v17
58725c
-.*:	e7 f1 00 bc d4 c5 [ 	]*vled	%v15,%v17,13,12,11
58725c
-.*:	e7 f1 00 cd 34 c5 [ 	]*wledb	%v15,%v17,5,12
58725c
-.*:	e7 f1 00 cd 34 c5 [ 	]*wledb	%v15,%v17,5,12
58725c
+.*:	e7 f1 00 0c d4 c4 [ 	]*vfll	%v15,%v17,13,12
58725c
+.*:	e7 f1 00 00 24 c4 [ 	]*vflls	%v15,%v17
58725c
+.*:	e7 f1 00 08 24 c4 [ 	]*wflls	%v15,%v17
58725c
+.*:	e7 f1 00 bc d4 c5 [ 	]*vflr	%v15,%v17,13,12,11
58725c
+.*:	e7 f1 00 cd 34 c5 [ 	]*wflrd	%v15,%v17,5,12
58725c
+.*:	e7 f1 00 cd 34 c5 [ 	]*wflrd	%v15,%v17,5,12
58725c
 .*:	e7 f1 40 0c d6 e7 [ 	]*vfm	%v15,%v17,%v20,13,12
58725c
 .*:	e7 f1 40 00 36 e7 [ 	]*vfmdb	%v15,%v17,%v20
58725c
 .*:	e7 f1 40 08 36 e7 [ 	]*wfmdb	%v15,%v17,%v20
58725c
diff -rup binutils.orig/include/opcode/s390.h binutils-2.27/include/opcode/s390.h
58725c
--- binutils.orig/include/opcode/s390.h	2017-03-24 14:51:01.896688195 +0000
58725c
+++ binutils-2.27/include/opcode/s390.h	2017-03-24 14:54:05.065330554 +0000
58725c
@@ -42,14 +42,17 @@ enum s390_opcode_cpu_val
58725c
     S390_OPCODE_Z196,
58725c
     S390_OPCODE_ZEC12,
58725c
     S390_OPCODE_Z13,
58725c
+    S390_OPCODE_ARCH12,
58725c
     S390_OPCODE_MAXCPU
58725c
   };
58725c
 
58725c
 /* Instruction specific flags.  */
58725c
 #define S390_INSTR_FLAG_OPTPARM 0x1
58725c
+
58725c
 #define S390_INSTR_FLAG_HTM 0x2
58725c
 #define S390_INSTR_FLAG_VX 0x4
58725c
-#define S390_INSTR_FLAG_FACILITY_MASK 0x6
58725c
+#define S390_INSTR_FLAG_VX2 0x8
58725c
+#define S390_INSTR_FLAG_FACILITY_MASK 0xe
58725c
 
58725c
 /* The opcode table is an array of struct s390_opcode.  */
58725c
 
58725c
diff -rup binutils.orig/opcodes/s390-mkopc.c binutils-2.27/opcodes/s390-mkopc.c
58725c
--- binutils.orig/opcodes/s390-mkopc.c	2017-03-24 14:50:54.849778948 +0000
58725c
+++ binutils-2.27/opcodes/s390-mkopc.c	2017-03-24 14:54:05.065330554 +0000
58725c
@@ -366,6 +366,8 @@ main (void)
58725c
 	min_cpu = S390_OPCODE_ZEC12;
58725c
       else if (strcmp (cpu_string, "z13") == 0)
58725c
 	min_cpu = S390_OPCODE_Z13;
58725c
+      else if (strcmp (cpu_string, "arch12") == 0)
58725c
+	min_cpu = S390_OPCODE_ARCH12;
58725c
       else {
58725c
 	fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);
58725c
 	exit (1);
58725c
@@ -409,6 +411,10 @@ main (void)
58725c
 		&& (str[2] == 0 || str[2] == ',')) {
58725c
 	      flag_bits |= S390_INSTR_FLAG_VX;
58725c
 	      str += 2;
58725c
+	    } else if (strncmp (str, "vx2", 3) == 0
58725c
+		&& (str[3] == 0 || str[3] == ',')) {
58725c
+	      flag_bits |= S390_INSTR_FLAG_VX2;
58725c
+	      str += 3;
58725c
 	    } else {
58725c
 	      fprintf (stderr, "Couldn't parse flags string %s\n",
58725c
 		       flags_string);
58725c
diff -rup binutils.orig/opcodes/s390-opc.c binutils-2.27/opcodes/s390-opc.c
58725c
--- binutils.orig/opcodes/s390-opc.c	2017-03-24 14:50:54.850778935 +0000
58725c
+++ binutils-2.27/opcodes/s390-opc.c	2017-03-24 14:54:05.065330554 +0000
58725c
@@ -220,28 +220,30 @@ const struct s390_operand s390_operands[
58725c
   { 8, 16, 0 },
58725c
 #define U8_24       69            /* 8 bit unsigned value starting at 24 */
58725c
   { 8, 24, 0 },
58725c
-#define U8_32       70            /* 8 bit unsigned value starting at 32 */
58725c
+#define U8_28       70            /* 8 bit unsigned value starting at 28 */
58725c
+  { 8, 28, 0 },
58725c
+#define U8_32       71            /* 8 bit unsigned value starting at 32 */
58725c
   { 8, 32, 0 },
58725c
-#define U12_16      71            /* 12 bit unsigned value starting at 16 */
58725c
+#define U12_16      72            /* 12 bit unsigned value starting at 16 */
58725c
   { 12, 16, 0 },
58725c
-#define U16_16      72            /* 16 bit unsigned value starting at 16 */
58725c
+#define U16_16      73            /* 16 bit unsigned value starting at 16 */
58725c
   { 16, 16, 0 },
58725c
-#define U16_32      73		  /* 16 bit unsigned value starting at 32 */
58725c
+#define U16_32      74		  /* 16 bit unsigned value starting at 32 */
58725c
   { 16, 32, 0 },
58725c
-#define U32_16      74		  /* 32 bit unsigned value starting at 16 */
58725c
+#define U32_16      75		  /* 32 bit unsigned value starting at 16 */
58725c
   { 32, 16, 0 },
58725c
 
58725c
 /* PC-relative address operands.  */
58725c
 
58725c
-#define J12_12      75            /* 12 bit PC relative offset at 12 */
58725c
+#define J12_12      76            /* 12 bit PC relative offset at 12 */
58725c
   { 12, 12, S390_OPERAND_PCREL },
58725c
-#define J16_16      76            /* 16 bit PC relative offset at 16 */
58725c
+#define J16_16      77            /* 16 bit PC relative offset at 16 */
58725c
   { 16, 16, S390_OPERAND_PCREL },
58725c
-#define J16_32      77            /* 16 bit PC relative offset at 32 */
58725c
+#define J16_32      78            /* 16 bit PC relative offset at 32 */
58725c
   { 16, 32, S390_OPERAND_PCREL },
58725c
-#define J24_24      78            /* 24 bit PC relative offset at 24 */
58725c
+#define J24_24      79            /* 24 bit PC relative offset at 24 */
58725c
   { 24, 24, S390_OPERAND_PCREL },
58725c
-#define J32_16      79            /* 32 bit PC relative offset at 16 */
58725c
+#define J32_16      80            /* 32 bit PC relative offset at 16 */
58725c
   { 32, 16, S390_OPERAND_PCREL },
58725c
 
58725c
 };
58725c
@@ -425,6 +427,7 @@ const struct s390_operand s390_operands[
58725c
 #define INSTR_RXY_RERRD    6, { RE_8,D20_20,X_12,B_16,0,0 }      /* e.g. dsg   */
58725c
 #define INSTR_RXY_FRRD     6, { F_8,D20_20,X_12,B_16,0,0 }       /* e.g. ley   */
58725c
 #define INSTR_RXY_URRD     6, { U4_8,D20_20,X_12,B_16,0,0 }      /* e.g. pfd   */
58725c
+#define INSTR_RXY_0RRD     6, { D20_20,X_12,B_16,0,0 }           /* e.g. bic   */
58725c
 #define INSTR_RX_0RRD      4, { D_20,X_12,B_16,0,0,0 }           /* e.g. be    */
58725c
 #define INSTR_RX_FRRD      4, { F_8,D_20,X_12,B_16,0,0 }         /* e.g. ae    */
58725c
 #define INSTR_RX_FERRD     4, { FE_8,D_20,X_12,B_16,0,0 }        /* e.g. mxd   */
58725c
@@ -454,23 +457,29 @@ const struct s390_operand s390_operands[
58725c
 #define INSTR_VRI_V        6, { V_8,0,0,0,0,0 }                  /* e.g. vzero */
58725c
 #define INSTR_VRI_V0UUU    6, { V_8,U8_16,U8_24,U4_32,0,0 }      /* e.g. vgm   */
58725c
 #define INSTR_VRI_V0UU     6, { V_8,U8_16,U8_24,0,0,0 }          /* e.g. vgmb  */
58725c
+#define INSTR_VRI_V0UU2    6, { V_8,U16_16,U4_32,0,0,0 }         /* e.g. vlip  */
58725c
 #define INSTR_VRI_VVUU     6, { V_8,V_12,U16_16,U4_32,0,0 }      /* e.g. vrep  */
58725c
 #define INSTR_VRI_VVU      6, { V_8,V_12,U16_16,0,0,0 }          /* e.g. vrepb */
58725c
 #define INSTR_VRI_VVU2     6, { V_8,V_12,U12_16,0,0,0 }          /* e.g. vftcidb */
58725c
 #define INSTR_VRI_V0IU     6, { V_8,I16_16,U4_32,0,0,0 }         /* e.g. vrepi */
58725c
 #define INSTR_VRI_V0I      6, { V_8,I16_16,0,0,0,0 }             /* e.g. vrepib */
58725c
 #define INSTR_VRI_VVV0UU   6, { V_8,V_12,V_16,U8_24,U4_32,0 }    /* e.g. verim */
58725c
+#define INSTR_VRI_VVV0UU2  6, { V_8,V_12,V_16,U8_28,U4_24,0 }    /* e.g. vap   */
58725c
 #define INSTR_VRI_VVV0U    6, { V_8,V_12,V_16,U8_24,0,0 }        /* e.g. verimb*/
58725c
 #define INSTR_VRI_VVUUU    6, { V_8,V_12,U12_16,U4_32,U4_28,0 }  /* e.g. vftci */
58725c
+#define INSTR_VRI_VVUUU2   6, { V_8,V_12,U8_28,U8_16,U4_24,0 }   /* e.g. vpsop */
58725c
+#define INSTR_VRI_VR0UU    6, { V_8,R_12,U8_28,U4_24,0,0 }       /* e.g. vcvd  */
58725c
 #define INSTR_VRX_VRRD     6, { V_8,D_20,X_12,B_16,0,0 }         /* e.g. vl    */
58725c
 #define INSTR_VRX_VV       6, { V_8,V_12,0,0,0,0 }               /* e.g. vlr   */
58725c
-#define INSTR_VRX_VRRDU    6, { V_8,D_20,X_12,B_16,U4_32,0 }     /* e.g. vlrp  */
58725c
+#define INSTR_VRX_VRRDU    6, { V_8,D_20,X_12,B_16,U4_32,0 }     /* e.g. vlrep */
58725c
 #define INSTR_VRS_RVRDU    6, { R_8,V_12,D_20,B_16,U4_32,0 }     /* e.g. vlgv  */
58725c
 #define INSTR_VRS_RVRD     6, { R_8,V_12,D_20,B_16,0,0 }         /* e.g. vlgvb */
58725c
 #define INSTR_VRS_VVRDU    6, { V_8,V_12,D_20,B_16,U4_32,0 }     /* e.g. verll */
58725c
 #define INSTR_VRS_VVRD     6, { V_8,V_12,D_20,B_16,0,0 }         /* e.g. vlm   */
58725c
 #define INSTR_VRS_VRRDU    6, { V_8,R_12,D_20,B_16,U4_32,0 }     /* e.g. vlvg  */
58725c
 #define INSTR_VRS_VRRD     6, { V_8,R_12,D_20,B_16,0,0 }         /* e.g. vlvgb */
58725c
+#define INSTR_VRS_RRDV     6, { V_32,R_12,D_20,B_16,0,0 }        /* e.g. vlrlr */
58725c
+#define INSTR_VRR_0V       6, { V_12,0,0,0,0,0 }                 /* e.g. vtp   */
58725c
 #define INSTR_VRR_VRR      6, { V_8,R_12,R_16,0,0,0 }            /* e.g. vlvgp */
58725c
 #define INSTR_VRR_VVV0U    6, { V_8,V_12,V_16,U4_32,0,0 }        /* e.g. vmrh  */
58725c
 #define INSTR_VRR_VVV0U0   6, { V_8,V_12,V_16,U4_24,0,0 }        /* e.g. vfaeb */
58725c
@@ -499,6 +508,9 @@ const struct s390_operand s390_operands[
58725c
 #define INSTR_VRR_VV0UUU   6, { V_8,V_12,U4_32,U4_28,U4_24,0 }   /* e.g. vcdg  */
58725c
 #define INSTR_VRR_VVVU0UV  6, { V_8,V_12,V_16,V_32,U4_28,U4_20 } /* e.g. vfma  */
58725c
 #define INSTR_VRR_VV0U0U   6, { V_8,V_12,U4_32,U4_24,0,0 }       /* e.g. vistr */
58725c
+#define INSTR_VRR_0VV0U    6, { V_12,V_16,U4_24,0,0,0 }          /* e.g. vcp   */
58725c
+#define INSTR_VRR_RV0U     6, { R_8,V_12,U4_24,0,0,0 }           /* e.g. vcvb  */
58725c
+#define INSTR_VSI_URDV     6, { V_32,D_20,B_16,U8_8,0,0 }        /* e.g. vlrl  */
58725c
 
58725c
 #define MASK_E            { 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 }
58725c
 #define MASK_IE_UU        { 0xff, 0xff, 0xff, 0x00, 0x00, 0x00 }
58725c
@@ -631,6 +643,7 @@ const struct s390_operand s390_operands[
58725c
 #define MASK_RXY_RERRD    { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
 #define MASK_RXY_FRRD     { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
 #define MASK_RXY_URRD     { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
+#define MASK_RXY_0RRD     { 0xff, 0xf0, 0x00, 0x00, 0x00, 0xff }
58725c
 #define MASK_RX_0RRD      { 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00 }
58725c
 #define MASK_RX_FRRD      { 0xff, 0x00, 0x00, 0x00, 0x00, 0x00 }
58725c
 #define MASK_RX_FERRD     { 0xff, 0x00, 0x00, 0x00, 0x00, 0x00 }
58725c
@@ -660,14 +673,18 @@ const struct s390_operand s390_operands[
58725c
 #define MASK_VRI_V        { 0xff, 0x0f, 0xff, 0xff, 0xf0, 0xff }
58725c
 #define MASK_VRI_V0UUU    { 0xff, 0x0f, 0x00, 0x00, 0x00, 0xff }
58725c
 #define MASK_VRI_V0UU     { 0xff, 0x0f, 0x00, 0x00, 0xf0, 0xff }
58725c
+#define MASK_VRI_V0UU2    { 0xff, 0x0f, 0x00, 0x00, 0x00, 0xff }
58725c
 #define MASK_VRI_VVUU     { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
 #define MASK_VRI_VVU      { 0xff, 0x00, 0x00, 0x00, 0xf0, 0xff }
58725c
 #define MASK_VRI_VVU2     { 0xff, 0x00, 0x00, 0x0f, 0xf0, 0xff }
58725c
 #define MASK_VRI_V0IU     { 0xff, 0x0f, 0x00, 0x00, 0x00, 0xff }
58725c
 #define MASK_VRI_V0I      { 0xff, 0x0f, 0x00, 0x00, 0xf0, 0xff }
58725c
 #define MASK_VRI_VVV0UU   { 0xff, 0x00, 0x0f, 0x00, 0x00, 0xff }
58725c
+#define MASK_VRI_VVV0UU2  { 0xff, 0x00, 0x0f, 0x00, 0x00, 0xff }
58725c
 #define MASK_VRI_VVV0U    { 0xff, 0x00, 0x0f, 0x00, 0xf0, 0xff }
58725c
 #define MASK_VRI_VVUUU    { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
+#define MASK_VRI_VVUUU2   { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
+#define MASK_VRI_VR0UU    { 0xff, 0x00, 0xff, 0x00, 0x00, 0xff }
58725c
 #define MASK_VRX_VRRD     { 0xff, 0x00, 0x00, 0x00, 0xf0, 0xff }
58725c
 #define MASK_VRX_VV       { 0xff, 0x00, 0xff, 0xff, 0xf0, 0xff }
58725c
 #define MASK_VRX_VRRDU    { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
@@ -677,6 +694,8 @@ const struct s390_operand s390_operands[
58725c
 #define MASK_VRS_VVRD     { 0xff, 0x00, 0x00, 0x00, 0xf0, 0xff }
58725c
 #define MASK_VRS_VRRDU    { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
 #define MASK_VRS_VRRD     { 0xff, 0x00, 0x00, 0x00, 0xf0, 0xff }
58725c
+#define MASK_VRS_RRDV     { 0xff, 0xf0, 0x00, 0x00, 0x00, 0xff }
58725c
+#define MASK_VRR_0V       { 0xff, 0xf0, 0xff, 0xff, 0xf0, 0xff }
58725c
 #define MASK_VRR_VRR      { 0xff, 0x00, 0x0f, 0xff, 0xf0, 0xff }
58725c
 #define MASK_VRR_VVV0U    { 0xff, 0x00, 0x0f, 0xff, 0x00, 0xff }
58725c
 #define MASK_VRR_VVV0U0   { 0xff, 0x00, 0x0f, 0x0f, 0xf0, 0xff }
58725c
@@ -705,36 +724,46 @@ const struct s390_operand s390_operands[
58725c
 #define MASK_VRR_VV0UUU   { 0xff, 0x00, 0xff, 0x00, 0x00, 0xff }
58725c
 #define MASK_VRR_VVVU0UV  { 0xff, 0x00, 0x00, 0xf0, 0x00, 0xff }
58725c
 #define MASK_VRR_VV0U0U   { 0xff, 0x00, 0xff, 0x0f, 0x00, 0xff }
58725c
+#define MASK_VRR_0VV0U    { 0xff, 0xf0, 0x0f, 0x0f, 0xf0, 0xff }
58725c
+#define MASK_VRR_RV0U     { 0xff, 0x00, 0xff, 0x0f, 0xf0, 0xff }
58725c
+#define MASK_VSI_URDV     { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
58725c
+
58725c
 
58725c
 /* The opcode formats table (blueprints for .insn pseudo mnemonic).  */
58725c
 
58725c
 const struct s390_opcode s390_opformats[] =
58725c
   {
58725c
-  { "e",	OP8(0x00LL),	MASK_E,		INSTR_E,	3, 0 ,0 },
58725c
-  { "ri",	OP8(0x00LL),	MASK_RI_RI,	INSTR_RI_RI,	3, 0 ,0 },
58725c
-  { "rie",	OP8(0x00LL),	MASK_RIE_RRP,	INSTR_RIE_RRP,	3, 0 ,0 },
58725c
-  { "ril",	OP8(0x00LL),	MASK_RIL_RP,	INSTR_RIL_RP,	3, 0 ,0 },
58725c
-  { "rilu",	OP8(0x00LL),	MASK_RIL_RU,	INSTR_RIL_RU,	3, 0 ,0 },
58725c
-  { "ris",	OP8(0x00LL),	MASK_RIS_RURDI,	INSTR_RIS_RURDI,3, 6 ,0 },
58725c
-  { "rr",	OP8(0x00LL),	MASK_RR_RR,	INSTR_RR_RR,	3, 0 ,0 },
58725c
-  { "rre",	OP8(0x00LL),	MASK_RRE_RR,	INSTR_RRE_RR,	3, 0 ,0 },
58725c
-  { "rrf",	OP8(0x00LL),	MASK_RRF_RURR,	INSTR_RRF_RURR,	3, 0 ,0 },
58725c
-  { "rrs",	OP8(0x00LL),	MASK_RRS_RRRDU,	INSTR_RRS_RRRDU,3, 6 ,0 },
58725c
-  { "rs",	OP8(0x00LL),	MASK_RS_RRRD,	INSTR_RS_RRRD,	3, 0 ,0 },
58725c
-  { "rse",	OP8(0x00LL),	MASK_RSE_RRRD,	INSTR_RSE_RRRD,	3, 0 ,0 },
58725c
-  { "rsi",	OP8(0x00LL),	MASK_RSI_RRP,	INSTR_RSI_RRP,	3, 0 ,0 },
58725c
-  { "rsy",	OP8(0x00LL),	MASK_RSY_RRRD,	INSTR_RSY_RRRD,	3, 3 ,0 },
58725c
-  { "rx",	OP8(0x00LL),	MASK_RX_RRRD,	INSTR_RX_RRRD,	3, 0 ,0 },
58725c
-  { "rxe",	OP8(0x00LL),	MASK_RXE_RRRD,	INSTR_RXE_RRRD,	3, 0 ,0 },
58725c
-  { "rxf",	OP8(0x00LL),	MASK_RXF_RRRDR,	INSTR_RXF_RRRDR,3, 0 ,0 },
58725c
-  { "rxy",	OP8(0x00LL),	MASK_RXY_RRRD,	INSTR_RXY_RRRD,	3, 3 ,0 },
58725c
-  { "s",	OP8(0x00LL),	MASK_S_RD,	INSTR_S_RD,	3, 0 ,0 },
58725c
-  { "si",	OP8(0x00LL),	MASK_SI_URD,	INSTR_SI_URD,	3, 0 ,0 },
58725c
-  { "siy",	OP8(0x00LL),	MASK_SIY_URD,	INSTR_SIY_URD,	3, 3 ,0 },
58725c
-  { "sil",	OP8(0x00LL),    MASK_SIL_RDI,   INSTR_SIL_RDI,  3, 6 ,0 },
58725c
-  { "ss",	OP8(0x00LL),	MASK_SS_RRRDRD,	INSTR_SS_RRRDRD,3, 0 ,0 },
58725c
-  { "sse",	OP8(0x00LL),	MASK_SSE_RDRD,	INSTR_SSE_RDRD,	3, 0 ,0 },
58725c
-  { "ssf",	OP8(0x00LL),	MASK_SSF_RRDRD,	INSTR_SSF_RRDRD,3, 0 ,0 },
58725c
+  { "e",    OP8(0x00LL), MASK_E,	   INSTR_E,	      3,  0 ,0 },
58725c
+  { "ri",   OP8(0x00LL), MASK_RI_RI,	   INSTR_RI_RI,	      3,  0 ,0 },
58725c
+  { "rie",  OP8(0x00LL), MASK_RIE_RRP,	   INSTR_RIE_RRP,     3,  0 ,0 },
58725c
+  { "ril",  OP8(0x00LL), MASK_RIL_RP,	   INSTR_RIL_RP,      3,  0 ,0 },
58725c
+  { "rilu", OP8(0x00LL), MASK_RIL_RU,	   INSTR_RIL_RU,      3,  0 ,0 },
58725c
+  { "ris",  OP8(0x00LL), MASK_RIS_RURDI,   INSTR_RIS_RURDI,   3,  6 ,0 },
58725c
+  { "rr",   OP8(0x00LL), MASK_RR_RR,	   INSTR_RR_RR,       3,  0 ,0 },
58725c
+  { "rre",  OP8(0x00LL), MASK_RRE_RR,	   INSTR_RRE_RR,      3,  0 ,0 },
58725c
+  { "rrf",  OP8(0x00LL), MASK_RRF_RURR,	   INSTR_RRF_RURR,    3,  0 ,0 },
58725c
+  { "rrs",  OP8(0x00LL), MASK_RRS_RRRDU,   INSTR_RRS_RRRDU,   3,  6 ,0 },
58725c
+  { "rs",   OP8(0x00LL), MASK_RS_RRRD,	   INSTR_RS_RRRD,     3,  0 ,0 },
58725c
+  { "rse",  OP8(0x00LL), MASK_RSE_RRRD,	   INSTR_RSE_RRRD,    3,  0 ,0 },
58725c
+  { "rsi",  OP8(0x00LL), MASK_RSI_RRP,	   INSTR_RSI_RRP,     3,  0 ,0 },
58725c
+  { "rsy",  OP8(0x00LL), MASK_RSY_RRRD,	   INSTR_RSY_RRRD,    3,  3 ,0 },
58725c
+  { "rx",   OP8(0x00LL), MASK_RX_RRRD,	   INSTR_RX_RRRD,     3,  0 ,0 },
58725c
+  { "rxe",  OP8(0x00LL), MASK_RXE_RRRD,	   INSTR_RXE_RRRD,    3,  0 ,0 },
58725c
+  { "rxf",  OP8(0x00LL), MASK_RXF_RRRDR,   INSTR_RXF_RRRDR,   3,  0 ,0 },
58725c
+  { "rxy",  OP8(0x00LL), MASK_RXY_RRRD,	   INSTR_RXY_RRRD,    3,  3 ,0 },
58725c
+  { "s",    OP8(0x00LL), MASK_S_RD,	   INSTR_S_RD,	      3,  0 ,0 },
58725c
+  { "si",   OP8(0x00LL), MASK_SI_URD,	   INSTR_SI_URD,      3,  0 ,0 },
58725c
+  { "siy",  OP8(0x00LL), MASK_SIY_URD,	   INSTR_SIY_URD,     3,  3 ,0 },
58725c
+  { "sil",  OP8(0x00LL), MASK_SIL_RDI,     INSTR_SIL_RDI,     3,  6 ,0 },
58725c
+  { "ss",   OP8(0x00LL), MASK_SS_RRRDRD,   INSTR_SS_RRRDRD,   3,  0 ,0 },
58725c
+  { "sse",  OP8(0x00LL), MASK_SSE_RDRD,	   INSTR_SSE_RDRD,    3,  0 ,0 },
58725c
+  { "ssf",  OP8(0x00LL), MASK_SSF_RRDRD,   INSTR_SSF_RRDRD,   3,  0 ,0 },
58725c
+  { "vrv",  OP8(0x00LL), MASK_VRV_VVXRDU,  INSTR_VRV_VVXRDU,  3,  9 ,0 },
58725c
+  { "vri",  OP8(0x00LL), MASK_VRI_VVUUU,   INSTR_VRI_VVUUU,   3,  9 ,0 },
58725c
+  { "vrx",  OP8(0x00LL), MASK_VRX_VRRDU,   INSTR_VRX_VRRDU,   3,  9 ,0 },
58725c
+  { "vrs",  OP8(0x00LL), MASK_VRS_RVRDU,   INSTR_VRS_RVRDU,   3,  9 ,0 },
58725c
+  { "vrr",  OP8(0x00LL), MASK_VRR_VVV0UUU, INSTR_VRR_VVV0UUU, 3,  9 ,0 },
58725c
+  { "vsi",  OP8(0x00LL), MASK_VSI_URDV,	   INSTR_VSI_URDV,    3, 10 ,0 },
58725c
 };
58725c
 
58725c
 const int s390_num_opformats =
58725c
diff -rup binutils.orig/opcodes/s390-opc.txt binutils-2.27/opcodes/s390-opc.txt
58725c
--- binutils.orig/opcodes/s390-opc.txt	2017-03-24 14:50:54.851778922 +0000
58725c
+++ binutils-2.27/opcodes/s390-opc.txt	2017-03-24 14:54:05.066330541 +0000
58725c
@@ -630,7 +630,7 @@ eb0000000051 tmy SIY_URD "test under mas
58725c
 # 'old' instructions extended to long displacement
58725c
 # these instructions are entered into the opcode table twice.
58725c
 e30000000003 lrag RXY_RRRD "load real address with long offset 64" z990 zarch
58725c
-e30000000004 lg RXY_RRRD "	 load 64" z990 zarch
58725c
+e30000000004 lg RXY_RRRD "load 64" z990 zarch
58725c
 e30000000008 ag RXY_RRRD "add with long offset 64" z990 zarch
58725c
 e30000000009 sg RXY_RRRD "subtract with long offset 64" z990 zarch
58725c
 e3000000000a alg RXY_RRRD "add logical with long offset 64" z990 zarch
58725c
@@ -1584,27 +1584,27 @@ e7000230008a vstrczfs VRR_VVVU0VB3 "vect
58725c
 
58725c
 # Chapter 24
58725c
 e700000000e3 vfa VRR_VVV0UU "vector fp add" z13 zarch vx
58725c
-e700000030e3 vfadb VRR_VVV "vector fp add" z13 zarch vx
58725c
-e700000830e3 wfadb VRR_VVV "vector fp add" z13 zarch vx
58725c
+e700000030e3 vfadb VRR_VVV "vector fp add long" z13 zarch vx
58725c
+e700000830e3 wfadb VRR_VVV "vector fp add long" z13 zarch vx
58725c
 e700000000cb wfc VRR_VV0UU2 "vector fp compare scalar" z13 zarch vx
58725c
-e700000030cb wfcdb VRR_VV "vector fp compare scalar" z13 zarch vx
58725c
+e700000030cb wfcdb VRR_VV "vector fp compare scalar long" z13 zarch vx
58725c
 e700000000ca wfk VRR_VV0UU2 "vector fp compare and signal scalar" z13 zarch vx
58725c
-e700000030ca wfkdb VRR_VV "vector fp compare and signal scalar" z13 zarch vx
58725c
+e700000030ca wfkdb VRR_VV "vector fp compare and signal scalar long" z13 zarch vx
58725c
 e700000000e8 vfce VRR_VVV0UUU "vector fp compare equal" z13 zarch vx
58725c
-e700000030e8 vfcedb VRR_VVV "vector fp compare equal" z13 zarch vx
58725c
-e700001030e8 vfcedbs VRR_VVV "vector fp compare equal" z13 zarch vx
58725c
-e700000830e8 wfcedb VRR_VVV "vector fp compare equal" z13 zarch vx
58725c
-e700001830e8 wfcedbs VRR_VVV "vector fp compare equal" z13 zarch vx
58725c
+e700000030e8 vfcedb VRR_VVV "vector fp compare equal long" z13 zarch vx
58725c
+e700001030e8 vfcedbs VRR_VVV "vector fp compare equal long" z13 zarch vx
58725c
+e700000830e8 wfcedb VRR_VVV "vector fp compare equal long" z13 zarch vx
58725c
+e700001830e8 wfcedbs VRR_VVV "vector fp compare equal long" z13 zarch vx
58725c
 e700000000eb vfch VRR_VVV0UUU "vector fp compare high" z13 zarch vx
58725c
-e700000030eb vfchdb VRR_VVV "vector fp compare high" z13 zarch vx
58725c
-e700001030eb vfchdbs VRR_VVV "vector fp compare high" z13 zarch vx
58725c
-e700000830eb wfchdb VRR_VVV "vector fp compare high" z13 zarch vx
58725c
-e700001830eb wfchdbs VRR_VVV "vector fp compare high" z13 zarch vx
58725c
+e700000030eb vfchdb VRR_VVV "vector fp compare high long" z13 zarch vx
58725c
+e700001030eb vfchdbs VRR_VVV "vector fp compare high long" z13 zarch vx
58725c
+e700000830eb wfchdb VRR_VVV "vector fp compare high long" z13 zarch vx
58725c
+e700001830eb wfchdbs VRR_VVV "vector fp compare high long" z13 zarch vx
58725c
 e700000000ea vfche VRR_VVV0UUU "vector fp compare high or equal" z13 zarch vx
58725c
-e700000030ea vfchedb VRR_VVV "vector fp compare high or equal" z13 zarch vx
58725c
-e700001030ea vfchedbs VRR_VVV "vector fp compare high or equal" z13 zarch vx
58725c
-e700000830ea wfchedb VRR_VVV "vector fp compare high or equal" z13 zarch vx
58725c
-e700001830ea wfchedbs VRR_VVV "vector fp compare high or equal" z13 zarch vx
58725c
+e700000030ea vfchedb VRR_VVV "vector fp compare high or equal long" z13 zarch vx
58725c
+e700001030ea vfchedbs VRR_VVV "vector fp compare high or equal long" z13 zarch vx
58725c
+e700000830ea wfchedb VRR_VVV "vector fp compare high or equal long" z13 zarch vx
58725c
+e700001830ea wfchedbs VRR_VVV "vector fp compare high or equal long" z13 zarch vx
58725c
 e700000000c3 vcdg VRR_VV0UUU "vector fp convert from fixed 64 bit" z13 zarch vx
58725c
 e700000030c3 vcdgb VRR_VV0UU "vector fp convert from fixed 64 bit" z13 zarch vx
58725c
 e700000830c3 wcdgb VRR_VV0UU8 "vector fp convert from fixed 64 bit" z13 zarch vx
58725c
@@ -1618,41 +1618,41 @@ e700000000c0 vclgd VRR_VV0UUU "vector fp
58725c
 e700000030c0 vclgdb VRR_VV0UU "vector fp convert to logical 64 bit" z13 zarch vx
58725c
 e700000830c0 wclgdb VRR_VV0UU8 "vector fp convert to logical 64 bit" z13 zarch vx
58725c
 e700000000e5 vfd VRR_VVV0UU "vector fp divide" z13 zarch vx
58725c
-e700000030e5 vfddb VRR_VVV "vector fp divide" z13 zarch vx
58725c
-e700000830e5 wfddb VRR_VVV "vector fp divide" z13 zarch vx
58725c
+e700000030e5 vfddb VRR_VVV "vector fp divide long" z13 zarch vx
58725c
+e700000830e5 wfddb VRR_VVV "vector fp divide long" z13 zarch vx
58725c
 e700000000c7 vfi VRR_VV0UUU "vector load fp integer" z13 zarch vx
58725c
-e700000030c7 vfidb VRR_VV0UU "vector load fp integer" z13 zarch vx
58725c
-e700000830c7 wfidb VRR_VV0UU8 "vector load fp integer" z13 zarch vx
58725c
+e700000030c7 vfidb VRR_VV0UU "vector load fp integer long" z13 zarch vx
58725c
+e700000830c7 wfidb VRR_VV0UU8 "vector load fp integer long" z13 zarch vx
58725c
 e700000000c4 vlde VRR_VV0UU2 "vector fp load lengthened" z13 zarch vx
58725c
-e700000020c4 vldeb VRR_VV "vector fp load lengthened" z13 zarch vx
58725c
-e700000820c4 wldeb VRR_VV "vector fp load lengthened" z13 zarch vx
58725c
+e700000020c4 vldeb VRR_VV "vector fp load lengthened short to long" z13 zarch vx
58725c
+e700000820c4 wldeb VRR_VV "vector fp load lengthened short to long" z13 zarch vx
58725c
 e700000000c5 vled VRR_VV0UUU "vector fp load rounded" z13 zarch vx
58725c
-e700000030c5 vledb VRR_VV0UU "vector fp load rounded" z13 zarch vx
58725c
-e700000830c5 wledb VRR_VV0UU8 "vector fp load rounded" z13 zarch vx
58725c
+e700000030c5 vledb VRR_VV0UU "vector fp load rounded long to short" z13 zarch vx
58725c
+e700000830c5 wledb VRR_VV0UU8 "vector fp load rounded long to short" z13 zarch vx
58725c
 e700000000e7 vfm VRR_VVV0UU "vector fp multiply" z13 zarch vx
58725c
-e700000030e7 vfmdb VRR_VVV "vector fp multiply" z13 zarch vx
58725c
-e700000830e7 wfmdb VRR_VVV "vector fp multiply" z13 zarch vx
58725c
+e700000030e7 vfmdb VRR_VVV "vector fp multiply long" z13 zarch vx
58725c
+e700000830e7 wfmdb VRR_VVV "vector fp multiply long" z13 zarch vx
58725c
 e7000000008f vfma VRR_VVVU0UV "vector fp multiply and add" z13 zarch vx
58725c
-e7000300008f vfmadb VRR_VVVV "vector fp multiply and add" z13 zarch vx
58725c
-e7000308008f wfmadb VRR_VVVV "vector fp multiply and add" z13 zarch vx
58725c
+e7000300008f vfmadb VRR_VVVV "vector fp multiply and add long" z13 zarch vx
58725c
+e7000308008f wfmadb VRR_VVVV "vector fp multiply and add long" z13 zarch vx
58725c
 e7000000008e vfms VRR_VVVU0UV "vector fp multiply and subtract" z13 zarch vx
58725c
-e7000300008e vfmsdb VRR_VVVV "vector fp multiply and subtract" z13 zarch vx
58725c
-e7000308008e wfmsdb VRR_VVVV "vector fp multiply and subtract" z13 zarch vx
58725c
+e7000300008e vfmsdb VRR_VVVV "vector fp multiply and subtract long" z13 zarch vx
58725c
+e7000308008e wfmsdb VRR_VVVV "vector fp multiply and subtract long" z13 zarch vx
58725c
 e700000000cc vfpso VRR_VV0UUU "vector fp perform sign operation" z13 zarch vx
58725c
-e700000030cc vfpsodb VRR_VV0U2 "vector fp perform sign operation" z13 zarch vx
58725c
-e700000830cc wfpsodb VRR_VV0U2 "vector fp perform sign operation" z13 zarch vx
58725c
-e700000030cc vflcdb VRR_VV "vector fp perform sign operation" z13 zarch vx
58725c
-e700000830cc wflcdb VRR_VV "vector fp perform sign operation" z13 zarch vx
58725c
-e700001030cc vflndb VRR_VV "vector fp perform sign operation" z13 zarch vx
58725c
-e700001830cc wflndb VRR_VV "vector fp perform sign operation" z13 zarch vx
58725c
-e700002030cc vflpdb VRR_VV "vector fp perform sign operation" z13 zarch vx
58725c
-e700002830cc wflpdb VRR_VV "vector fp perform sign operation" z13 zarch vx
58725c
+e700000030cc vfpsodb VRR_VV0U2 "vector fp perform sign operation long" z13 zarch vx
58725c
+e700000830cc wfpsodb VRR_VV0U2 "vector fp perform sign operation long" z13 zarch vx
58725c
+e700000030cc vflcdb VRR_VV "vector fp perform sign operation long" z13 zarch vx
58725c
+e700000830cc wflcdb VRR_VV "vector fp perform sign operation long" z13 zarch vx
58725c
+e700001030cc vflndb VRR_VV "vector fp perform sign operation long" z13 zarch vx
58725c
+e700001830cc wflndb VRR_VV "vector fp perform sign operation long" z13 zarch vx
58725c
+e700002030cc vflpdb VRR_VV "vector fp perform sign operation long" z13 zarch vx
58725c
+e700002830cc wflpdb VRR_VV "vector fp perform sign operation long" z13 zarch vx
58725c
 e700000000ce vfsq VRR_VV0UU2 "vector fp square root" z13 zarch vx
58725c
-e700000030ce vfsqdb VRR_VV "vector fp square root" z13 zarch vx
58725c
-e700000830ce wfsqdb VRR_VV "vector fp square root" z13 zarch vx
58725c
+e700000030ce vfsqdb VRR_VV "vector fp square root long" z13 zarch vx
58725c
+e700000830ce wfsqdb VRR_VV "vector fp square root long" z13 zarch vx
58725c
 e700000000e2 vfs VRR_VVV0UU "vector fp subtract" z13 zarch vx
58725c
-e700000030e2 vfsdb VRR_VVV "vector fp subtract" z13 zarch vx
58725c
-e700000830e2 wfsdb VRR_VVV "vector fp subtract" z13 zarch vx
58725c
+e700000030e2 vfsdb VRR_VVV "vector fp subtract long" z13 zarch vx
58725c
+e700000830e2 wfsdb VRR_VVV "vector fp subtract long" z13 zarch vx
58725c
 e7000000004a vftci VRI_VVUUU "vector fp test data class immediate" z13 zarch vx
58725c
 e7000000304a vftcidb VRI_VVU2 "vector fp test data class immediate" z13 zarch vx
58725c
 e7000008304a wftcidb VRI_VVU2 "vector fp test data class immediate" z13 zarch vx
58725c
@@ -1679,3 +1679,200 @@ e3000000003a llzrgf RXY_RRRD "load logic
58725c
 e3000000003b lzrf RXY_RRRD "load and zero rightmost byte 32->32" z13 zarch
58725c
 e3000000002a lzrg RXY_RRRD "load and zero rightmost byte 64->64" z13 zarch
58725c
 b93c ppno RRE_RR "perform pseudorandom number operation" z13 zarch
58725c
+
58725c
+# arch12 instructions
58725c
+
58725c
+# Vector Enhancements Facility 1
58725c
+
58725c
+e70000000085 vbperm VRR_VVV "vector bit permute" arch12 zarch
58725c
+e70000006004 vllezlf VRX_VRRD "vector load logical word element and zero - left aligned" arch12 zarch vx2
58725c
+e700000000b8 vmsl VRR_VVVUU0V "vector multiply sum logical" arch12 zarch vx2
58725c
+e700030000b8 vmslg VRR_VVVU0VB "vector multiply sum logical double word" arch12 zarch vx2
58725c
+e7000000006c vnx VRR_VVV "vector not exclusive or" arch12 zarch vx2
58725c
+e7000000006e vnn VRR_VVV "vector nand" arch12 zarch
58725c
+e7000000006f voc VRR_VVV "vector or with complement" arch12 zarch vx2
58725c
+e70000000050 vpopctb VRR_VV "vector population count byte" arch12 zarch vx2
58725c
+e70000001050 vpopcth VRR_VV "vector population count halfword" arch12 zarch vx2
58725c
+e70000002050 vpopctf VRR_VV "vector population count word" arch12 zarch vx2
58725c
+e70000003050 vpopctg VRR_VV "vector population count double word" arch12 zarch vx2
58725c
+e700000020e3 vfasb VRR_VVV "vector fp add short" arch12 zarch vx2
58725c
+e700000820e3 wfasb VRR_VVV "scalar vector fp add scalar short" arch12 zarch vx2
58725c
+e700000840e3 wfaxb VRR_VVV "scalar vector fp add scalar extended" arch12 zarch vx2
58725c
+e700000020cb wfcsb VRR_VV "scalar vector fp compare scalar short" arch12 zarch vx2
58725c
+e700000040cb wfcxb VRR_VV "scalar vector fp compare scalar extended" arch12 zarch vx2
58725c
+e700000020ca wfksb VRR_VV "scalar vector fp compare and signal scalar short" arch12 zarch vx2
58725c
+e700000040ca wfkxb VRR_VV "scalar vector fp compare and signal scalar extended" arch12 zarch vx2
58725c
+
58725c
+e700000020e8 vfcesb VRR_VVV "vector fp compare equal short" arch12 zarch vx2
58725c
+e700001020e8 vfcesbs VRR_VVV "vector fp compare equal short" arch12 zarch vx2
58725c
+e700000820e8 wfcesb VRR_VVV "scalar vector fp compare equal scalar short" arch12 zarch vx2
58725c
+e700001820e8 wfcesbs VRR_VVV "scalar fp compare equal scalar short" arch12 zarch vx2
58725c
+e700000840e8 wfcexb VRR_VVV "scalar vector fp compare equal scalar extended" arch12 zarch vx2
58725c
+e700001840e8 wfcexbs VRR_VVV "scalar vector fp compare equal scalar extended" arch12 zarch vx2
58725c
+
58725c
+e700000420e8 vfkesb VRR_VVV "vector fp compare and signal equal short" arch12 zarch vx2
58725c
+e700001420e8 vfkesbs VRR_VVV "vector fp compare and signal equal short" arch12 zarch vx2
58725c
+e700000c20e8 wfkesb VRR_VVV "scalar vector fp compare and signal equal scalar short" arch12 zarch vx2
58725c
+e700001c20e8 wfkesbs VRR_VVV "scalar fp compare and signal equal scalar short" arch12 zarch vx2
58725c
+e700000430e8 vfkedb VRR_VVV "vector fp compare and signal equal long" arch12 zarch vx
58725c
+e700001430e8 vfkedbs VRR_VVV "vector fp compare and signal equal long" arch12 zarch vx
58725c
+e700000c30e8 wfkedb VRR_VVV "vector fp compare and signal equal long" arch12 zarch vx
58725c
+e700001c30e8 wfkedbs VRR_VVV "vector fp compare and signal equal long" arch12 zarch vx
58725c
+e700000c40e8 wfkexb VRR_VVV "scalar vector fp compare and signal equal scalar extended" arch12 zarch vx2
58725c
+e700001c40e8 wfkexbs VRR_VVV "scalar vector fp compare and signal equal scalar extended" arch12 zarch vx2
58725c
+
58725c
+e700000020eb vfchsb VRR_VVV "vector fp compare high short" arch12 zarch vx2
58725c
+e700001020eb vfchsbs VRR_VVV "vector fp compare high short" arch12 zarch vx2
58725c
+e700000820eb wfchsb VRR_VVV "scalar vector fp compare high scalar short" arch12 zarch vx2
58725c
+e700001820eb wfchsbs VRR_VVV "scalar vector fp compare high scalar short" arch12 zarch vx2
58725c
+e700000840eb wfchxb VRR_VVV "scalar vector fp compare high scalar extended" arch12 zarch vx2
58725c
+e700001840eb wfchxbs VRR_VVV "scalar vector fp compare high scalar extended" arch12 zarch vx2
58725c
+
58725c
+e700000420eb vfkhsb VRR_VVV "vector fp compare and signal high short" arch12 zarch vx2
58725c
+e700001420eb vfkhsbs VRR_VVV "vector fp compare and signal high short" arch12 zarch vx2
58725c
+e700000c20eb wfkhsb VRR_VVV "scalar vector fp compare and signal high scalar short" arch12 zarch vx2
58725c
+e700001c20eb wfkhsbs VRR_VVV "scalar vector fp compare and signal high scalar short" arch12 zarch vx2
58725c
+e700000430eb vfkhdb VRR_VVV "vector fp compare and signal high long" arch12 zarch vx
58725c
+e700001430eb vfkhdbs VRR_VVV "vector fp compare and signal high long" arch12 zarch vx
58725c
+e700000c30eb wfkhdb VRR_VVV "vector fp compare and signal high long" arch12 zarch vx
58725c
+e700001c30eb wfkhdbs VRR_VVV "vector fp compare and signal high long" arch12 zarch vx
58725c
+e700000c40eb wfkhxb VRR_VVV "scalar vector fp compare and signal high scalar extended" arch12 zarch vx2
58725c
+e700001c40eb wfkhxbs VRR_VVV "scalar vector fp compare and signal high scalar extended" arch12 zarch vx2
58725c
+
58725c
+e700000020ea vfchesb VRR_VVV "vector fp compare high or equal short" arch12 zarch vx2
58725c
+e700001020ea vfchesbs VRR_VVV "vector fp compare high or equal short" arch12 zarch vx2
58725c
+e700000820ea wfchesb VRR_VVV "scalar vector fp compare high or equal scalar short" arch12 zarch vx2
58725c
+e700001820ea wfchesbs VRR_VVV "scalar vector fp compare high or equal scalar short" arch12 zarch vx2
58725c
+e700000840ea wfchexb VRR_VVV "scalar vector fp compare high or equal scalar extended" arch12 zarch vx2
58725c
+e700001840ea wfchexbs VRR_VVV "scalar vector fp compare high or equal scalar extended" arch12 zarch vx2
58725c
+
58725c
+e700000420ea vfkhesb VRR_VVV "vector fp compare and signal high or equal short" arch12 zarch vx2
58725c
+e700001420ea vfkhesbs VRR_VVV "vector fp compare and signal high or equal short" arch12 zarch vx2
58725c
+e700000c20ea wfkhesb VRR_VVV "scalar vector fp compare and signal high or equal scalar short" arch12 zarch vx2
58725c
+e700001c20ea wfkhesbs VRR_VVV "scalar vector fp compare and signal high or equal scalar short" arch12 zarch vx2
58725c
+e700000430ea vfkhedb VRR_VVV "vector fp compare and signal high or equal long" arch12 zarch vx
58725c
+e700001430ea vfkhedbs VRR_VVV "vector fp compare and signal high or equal long" arch12 zarch vx
58725c
+e700000c30ea wfkhedb VRR_VVV "vector fp compare and signal high or equal long" arch12 zarch vx
58725c
+e700001c30ea wfkhedbs VRR_VVV "vector fp compare and signal high or equal long" arch12 zarch vx
58725c
+e700000c40ea wfkhexb VRR_VVV "scalar vector fp compare and signal high or equal scalar extended" arch12 zarch vx2
58725c
+e700001c40ea wfkhexbs VRR_VVV "scalar vector fp compare and signal high or equal scalar extended" arch12 zarch vx2
58725c
+
58725c
+e700000020e5 vfdsb VRR_VVV "vector fp divide short" arch12 zarch vx2
58725c
+e700000820e5 wfdsb VRR_VVV "scalar vector fp divide scalar short" arch12 zarch vx2
58725c
+e700000840e5 wfdxb VRR_VVV "scalar vector fp divide scalar extended" arch12 zarch vx2
58725c
+e700000020c7 vfisb VRR_VV0UU "vector load fp integer short" arch12 zarch vx2
58725c
+e700000820c7 wfisb VRR_VV0UU8 "scalar vector load fp integer scalar short" arch12 zarch vx2
58725c
+e700000840c7 wfixb VRR_VV0UU8 "scalar vector load fp integer scalar extended" arch12 zarch vx2
58725c
+e700000000c4 vfll VRR_VV0UU2 "vector fp load lengthened" arch12 zarch vx2
58725c
+e700000020c4 vflls VRR_VV "vector fp load lengthened" arch12 zarch vx2
58725c
+e700000820c4 wflls VRR_VV "scalar vector fp load lengthened short" arch12 zarch vx2
58725c
+e700000830c4 wflld VRR_VV "scalar vector fp load lengthened long" arch12 zarch vx2
58725c
+e700000000c5 vflr VRR_VV0UUU "vector fp load rounded" arch12 zarch vx2
58725c
+e700000030c5 vflrd VRR_VV0UU "vector fp load rounded long" arch12 zarch vx2
58725c
+e700000830c5 wflrd VRR_VV0UU8 "scalar vector fp load rounded long" arch12 zarch vx2
58725c
+e700000840c5 wflrx VRR_VV0UU8 "scalar vector fp load rounded extended" arch12 zarch vx2
58725c
+e700000000ef vfmax VRR_VVV0UUU "vector fp maximum" arch12 zarch vx2
58725c
+e700000020ef vfmaxsb VRR_VVV0U0 "vector fp maximum short" arch12 zarch vx2
58725c
+e700000030ef vfmaxdb VRR_VVV0U0 "vector fp maximum long" arch12 zarch vx2
58725c
+e700000820ef wfmaxsb VRR_VVV0U0 "scalar fp maximum scalar short" arch12 zarch vx2
58725c
+e700000830ef wfmaxdb VRR_VVV0U0 "scalar fp maximum scalar long" arch12 zarch vx2
58725c
+e700000840ef wfmaxxb VRR_VVV0U0 "scalar fp maximum scalar extended" arch12 zarch vx2
58725c
+e700000000ee vfmin VRR_VVV0UUU "vector fp minimum" arch12 zarch vx2
58725c
+e700000020ee vfminsb VRR_VVV0U0 "vector fp minimum short" arch12 zarch vx2
58725c
+e700000030ee vfmindb VRR_VVV0U0 "vector fp minimum long" arch12 zarch vx2
58725c
+e700000820ee wfminsb VRR_VVV0U0 "scalar fp minimum scalar short" arch12 zarch vx2
58725c
+e700000830ee wfmindb VRR_VVV0U0 "scalar fp minimum scalar long" arch12 zarch vx2
58725c
+e700000840ee wfminxb VRR_VVV0U0 "scalar fp minimum scalar extended" arch12 zarch vx2
58725c
+e700000020e7 vfmsb VRR_VVV "vector fp multiply short" arch12 zarch vx2
58725c
+e700000820e7 wfmsb VRR_VVV "scalar vector fp multiply scalar short" arch12 zarch vx2
58725c
+e700000840e7 wfmxb VRR_VVV "scalar vector fp multiply scalar extended" arch12 zarch vx2
58725c
+e7000200008f vfmasb VRR_VVVV "vector fp multiply and add short" arch12 zarch vx2
58725c
+e7000208008f wfmasb VRR_VVVV "scalar vector fp multiply and add scalar short" arch12 zarch vx2
58725c
+e7000408008f wfmaxb VRR_VVVV "scalar vector fp multiply and add scalar extended" arch12 zarch vx2
58725c
+e7000200008e vfmssb VRR_VVVV "vector fp multiply and subtract short" arch12 zarch vx2
58725c
+e7000208008e wfmssb VRR_VVVV "scalar vector fp multiply and subtract scalar short" arch12 zarch vx2
58725c
+e7000408008e wfmsxb VRR_VVVV "scalar vector fp multiply and subtract scalar extended" arch12 zarch vx2
58725c
+e7000000009f vfnma VRR_VVVU0UV "vector fp negative multiply and add" arch12 zarch vx2
58725c
+e7000200009f vfnmasb VRR_VVVV "vector fp negative multiply and add short" arch12 zarch vx2
58725c
+e7000208009f wfnmasb VRR_VVVV "scalar vector fp negative multiply and add scalar short" arch12 zarch vx2
58725c
+e7000300009f vfnmadb VRR_VVVV "vector fp negative multiply and add long" arch12 zarch vx2
58725c
+e7000308009f wfnmadb VRR_VVVV "scalar vector fp negative multiply and add scalar long" arch12 zarch vx2
58725c
+e7000408009f wfnmaxb VRR_VVVV "scalar vector fp negative multiply and add scalar extended" arch12 zarch vx2
58725c
+e7000000009e vfnms VRR_VVVU0UV "vector fp negative multiply and subtract" arch12 zarch vx2
58725c
+e7000200009e vfnmssb VRR_VVVV "vector fp negative multiply and subtract short" arch12 zarch vx2
58725c
+e7000208009e wfnmssb VRR_VVVV "scalar vector fp negative multiply and subtract scalar short" arch12 zarch vx2
58725c
+e7000300009e vfnmsdb VRR_VVVV "vector fp negative multiply and subtract long" arch12 zarch vx2
58725c
+e7000308009e wfnmsdb VRR_VVVV "scalar vector fp negative multiply and subtract scalar long" arch12 zarch vx2
58725c
+e7000408009e wfnmsxb VRR_VVVV "scalar vector fp negative multiply and subtract scalar extended" arch12 zarch vx2
58725c
+e700000020cc vfpsosb VRR_VV0U2 "vector fp perform sign operation short" arch12 zarch vx2
58725c
+e700000820cc wfpsosb VRR_VV0U2 "scalar vector fp perform sign operation scalar short" arch12 zarch vx2
58725c
+e700000020cc vflcsb VRR_VV "vector fp perform sign operation short" arch12 zarch vx2
58725c
+e700000820cc wflcsb VRR_VV "scalar vector fp perform sign operation scalar short" arch12 zarch vx2
58725c
+e700001020cc vflnsb VRR_VV "vector fp perform sign operation short" arch12 zarch vx2
58725c
+e700001820cc wflnsb VRR_VV "scalar vector fp perform sign operation scalar short" arch12 zarch vx2
58725c
+e700002020cc vflpsb VRR_VV "vector fp perform sign operation short" arch12 zarch vx2
58725c
+e700002820cc wflpsb VRR_VV "scalar vector fp perform sign operation scalar short" arch12 zarch vx2
58725c
+e700000840cc wfpsoxb VRR_VV0U2 "scalar vector fp perform sign operation scalar extended" arch12 zarch vx2
58725c
+e700000840cc wflcxb VRR_VV "scalar vector fp perform sign operation scalar extended" arch12 zarch vx2
58725c
+e700001840cc wflnxb VRR_VV "scalar vector fp perform sign operation scalar extended" arch12 zarch vx2
58725c
+e700002840cc wflpxb VRR_VV "scalar vector fp perform sign operation scalar extended" arch12 zarch vx2
58725c
+e700000020ce vfsqsb VRR_VV "vector fp square root short" arch12 zarch vx2
58725c
+e700000820ce wfsqsb VRR_VV "scalar vector fp square root scalar short" arch12 zarch vx2
58725c
+e700000840ce wfsqxb VRR_VV "scalar vector fp square root scalar extended" arch12 zarch vx2
58725c
+e700000020e2 vfssb VRR_VVV "vector fp subtract short" arch12 zarch vx2
58725c
+e700000820e2 wfssb VRR_VVV "scalar vector fp subtract scalar short" arch12 zarch vx2
58725c
+e700000840e2 wfsxb VRR_VVV "scalar vector fp subtract scalar extended" arch12 zarch vx2
58725c
+e7000000204a vftcisb VRI_VVU2 "vector fp test data class immediate short" arch12 zarch vx2
58725c
+e7000008204a wftcisb VRI_VVU2 "scalar vector fp test data class immediate scalar short" arch12 zarch vx2
58725c
+e7000008404a wftcixb VRI_VVU2 "scalar vector fp test data class immediate scalar extended" arch12 zarch vx2
58725c
+
58725c
+# Miscellaneous Instruction Extensions Facility 2
58725c
+
58725c
+e30000000038 agh RXY_RRRD "add halfword to 64 bit value" arch12 zarch
58725c
+e30000000047 bic RXY_URRD "branch indirect on condition" arch12 zarch
58725c
+e3f000000047 bi RXY_0RRD "unconditional indirect branch" arch12 zarch
58725c
+e30000000047 bi*8 RXY_0RRD "branch indirect on condition" arch12 zarch
58725c
+b9ec mgrk RRF_R0RR2 "multiply 64x64reg -> 128" arch12 zarch
58725c
+e30000000084 mg RXY_RRRD "multiply 64x64mem -> 128" arch12 zarch
58725c
+e3000000003c mgh RXY_RRRD "multiply halfword 64x16mem -> 64" arch12 zarch
58725c
+b9fd msrkc RRF_R0RR2 "multiply single 32x32 -> 32" arch12 zarch
58725c
+b9ed msgrkc RRF_R0RR2 "multiply single 64x64 -> 64" arch12 zarch
58725c
+e30000000053 msc RXY_RRRD "multiply single 32x32mem -> 32" arch12 zarch
58725c
+e30000000083 msgc RXY_RRRD "multiply single 64x64mem -> 64" arch12 zarch
58725c
+e30000000039 sgh RXY_RRRD "subtract halfword from 64 bit value" arch12 zarch
58725c
+
58725c
+# Vector packed decimal facility
58725c
+
58725c
+e60000000037 vlrlr VRS_RRDV "vector load rightmost with length" arch12 zarch vx2
58725c
+e60000000035 vlrl VSI_URDV "vector load rightmost with immediate length" arch12 zarch vx2
58725c
+e6000000003f vstrlr VRS_RRDV "vector store rightmost with length" arch12 zarch vx2
58725c
+e6000000003d vstrl VSI_URDV "vector store rightmost with immediate length" arch12 zarch vx2
58725c
+e60000000071 vap VRI_VVV0UU2 "vector add decimal" arch12 zarch vx2
58725c
+e60000000077 vcp VRR_0VV0U "vector compare decimal" arch12 zarch vx2
58725c
+e60000000050 vcvb VRR_RV0U "vector convert to binary 32 bit" arch12 zarch vx2
58725c
+e60000000052 vcvbg VRR_RV0U "vector convert to binary 64 bit" arch12 zarch vx2
58725c
+e60000000058 vcvd VRI_VR0UU "vector convert to decimal 32 bit" arch12 zarch vx2
58725c
+e6000000005a vcvdg VRI_VR0UU "vector convert to decimal 64 bit" arch12 zarch vx2
58725c
+e6000000007a vdp VRI_VVV0UU2 "vector divide decimal" arch12 zarch vx2
58725c
+e60000000049 vlip VRI_V0UU2 "vector load immediate decimal" arch12 zarch vx2
58725c
+e60000000078 vmp VRI_VVV0UU2 "vector multiply decimal" arch12 zarch vx2
58725c
+e60000000079 vmsp VRI_VVV0UU2 "vector multiply and shift decimal" arch12 zarch vx2
58725c
+e60000000034 vpkz VSI_URDV "vector pack zoned" arch12 zarch vx2
58725c
+e6000000005b vpsop VRI_VVUUU2 "vector perform sign operation decimal" arch12 zarch vx2
58725c
+e6000000007b vrp VRI_VVV0UU2 "vector remainder decimal" arch12 zarch vx2
58725c
+e6000000007e vsdp VRI_VVV0UU2 "vector shift and divide decimal" arch12 zarch vx2
58725c
+e60000000059 vsrp VRI_VVUUU2 "vector shift and round decimal" arch12 zarch vx2
58725c
+e60000000073 vsp VRI_VVV0UU2 "vector subtract decimal" arch12 zarch vx2
58725c
+e6000000005f vtp VRR_0V "vector test decimal" arch12 zarch vx2
58725c
+e6000000003c vupkz VSI_URDV "vector unpack zoned" arch12 zarch vx2
58725c
+
58725c
+# Guarded storage facility
58725c
+
58725c
+e3000000004c lgg RXY_RRRD "load guarded 64 bit" arch12 zarch
58725c
+e30000000048 llgfsg RXY_RRRD "load logical and shift guarded 64 bit" arch12 zarch
58725c
+e3000000004d lgsc RXY_RRRD "load guarded storage controls" arch12 zarch
58725c
+e30000000049 stgsc RXY_RRRD "store guarded storage controls" arch12 zarch
58725c
+
58725c
+# Message-Security-Assist Extension 8
58725c
+
58725c
+b929 kma RRF_R0RR "cipher message with galois counter mode" arch12 zarch
58725c