Add the operand encoding types for the new Armv8.2-a back-ported instructions. These...
authorTamar Christina <tamar.christina@arm.com>
Thu, 9 Nov 2017 15:45:00 +0000 (15:45 +0000)
committerTamar Christina <tamar.christina@arm.com>
Thu, 9 Nov 2017 16:29:07 +0000 (16:29 +0000)
opcodes/
* aarch64-tbl.h (QL_SHA512UPT, QL_V2SAME2D, QL_V3SAME2D): New.
(QL_V4SAME16B, QL_V4SAME4S, QL_XAR, QL_SM3TT, QL_V3FML2S): New.
(QL_V3FML4S, QL_V2FML2S, QL_V2FML4S, QL_RMIF, QL_SETF): New.
(QL_STLW, QL_STLX): New.

opcodes/ChangeLog
opcodes/aarch64-tbl.h

index d2998700c0cb4358b4d9fa1bddb3d210ecad78ea..4056d88408166a91726a496a88c2bc9da8293f48 100644 (file)
@@ -1,3 +1,10 @@
+2017-11-09  Tamar Christina  <tamar.christina@arm.com>
+
+       * aarch64-tbl.h (QL_SHA512UPT, QL_V2SAME2D, QL_V3SAME2D): New.
+       (QL_V4SAME16B, QL_V4SAME4S, QL_XAR, QL_SM3TT, QL_V3FML2S): New.
+       (QL_V3FML4S, QL_V2FML2S, QL_V2FML4S, QL_RMIF, QL_SETF): New.
+       (QL_STLW, QL_STLX): New.
+
 2017-11-09  Tamar Christina  <tamar.christina@arm.com>
 
        * aarch64-asm.h (ins_addr_offset): New.
index 5ebd788e1f3e5340d06163e1b4022dda95629003..41f7275bf0883825b7bc4036021f01c0e5587fec 100644 (file)
   QLF3(V_2S, V_8B,  S_B),\
   QLF3(V_4S, V_16B, S_B),\
 }
+
+/* e.g. SHA512H <Qd>, <Qn>, <Vm>.2D\f.  */
+#define QL_SHA512UPT                   \
+{                              \
+  QLF3(S_Q, S_Q, V_2D),                \
+}
+
+/* e.g. SHA512SU0 <Vd.2D>, <Vn>.2D\f.  */
+#define QL_V2SAME2D            \
+{                              \
+  QLF2(V_2D, V_2D),            \
+}
+
+/* e.g. SHA512SU1 <Vd>.2D, <Vn>.2D, <Vm>.2D>.  */
+#define QL_V3SAME2D            \
+{                              \
+  QLF3(V_2D, V_2D, V_2D),      \
+}
+
+/* e.g. EOR3 <Vd>.16B, <Vn>.16B, <Vm>.16B, <Va>.16B.  */
+#define QL_V4SAME16B                   \
+{                                      \
+  QLF4(V_16B, V_16B, V_16B, V_16B),    \
+}
+
+/* e.g. SM3SS1 <Vd>.4S, <Vn>.4S, <Vm>.4S, <Va>.4S.  */
+#define QL_V4SAME4S                    \
+{                                      \
+  QLF4(V_4S, V_4S, V_4S, V_4S),                \
+}
+
+/* e.g. XAR <Vd>.2D, <Vn>.2D, <Vm>.2D, #<imm6>.  */
+#define QL_XAR                 \
+{                              \
+  QLF4(V_2D, V_2D, V_2D, imm_0_63),    \
+}
+
+/* e.g. SM3TT1A <Vd>.4S, <Vn>.4S, <Vm>.S[<imm2>].  */
+#define QL_SM3TT       \
+{                      \
+  QLF3(V_4S, V_4S, S_S),\
+}
+
+/* e.g. FMLAL  <Vd>.2S, <Vn>.2H, <Vm>.2H.  */
+#define QL_V3FML2S \
+{                 \
+  QLF3(V_2S, V_2H, V_2H),\
+}
+
+/* e.g. FMLAL  <Vd>.4S, <Vn>.4H, <Vm>.4H.  */
+#define QL_V3FML4S \
+{                 \
+  QLF3(V_4S, V_4H, V_4H),\
+}
+
+/* e.g. FMLAL  <Vd>.2S, <Vn>.2H, <Vm>.H[<index>].  */
+#define QL_V2FML2S \
+{                 \
+  QLF3(V_2S, V_2H, S_H),\
+}
+
+/* e.g. FMLAL  <Vd>.4S, <Vn>.4H, <Vm>.H[<index>].  */
+#define QL_V2FML4S \
+{                 \
+  QLF3(V_4S, V_4H, S_H),\
+}
+
+/* e.g. RMIF <Xn>, #<shift>, #<mask>.  */
+#define QL_RMIF  \
+{                \
+  QLF3(X, imm_0_63, imm_0_15),\
+}
+
+/* e.g. SETF8 <Wn>.  */
+#define QL_SETF \
+{              \
+  QLF1(W),     \
+}
+
+/* e.g. STLURB <Wt>, [<Xn|SP>{,#<simm>}].  */
+#define QL_STLW \
+{              \
+  QLF2(W, NIL),        \
+}
+
+/* e.g. STLURB <Xt>, [<Xn|SP>{,#<simm>}].  */
+#define QL_STLX \
+{              \
+  QLF2(X, NIL),        \
+}
 \f
 /* Opcode table.  */