8202395: AARCH64: wrong encoding for SIMD instructions zip, trn, uzp
authordpochepk
Fri, 11 May 2018 21:22:28 +0300
changeset 50088 a2322c683d17
parent 50087 cd4bf3b1ee77
child 50089 b0ed185e8f94
8202395: AARCH64: wrong encoding for SIMD instructions zip, trn, uzp Reviewed-by: aph
src/hotspot/cpu/aarch64/assembler_aarch64.hpp
--- a/src/hotspot/cpu/aarch64/assembler_aarch64.hpp	Fri May 11 21:19:47 2018 +0300
+++ b/src/hotspot/cpu/aarch64/assembler_aarch64.hpp	Fri May 11 21:22:28 2018 +0300
@@ -2410,7 +2410,8 @@
 #define INSN(NAME, opcode)                                              \
   void NAME(FloatRegister Vd, SIMD_Arrangement T, FloatRegister Vn, FloatRegister Vm) { \
     starti;                                                             \
-    f(0, 31), f(0b001110, 29, 24), f(0, 21), f(0b001110, 15, 10);       \
+    f(0, 31), f(0b001110, 29, 24), f(0, 21), f(0, 15);                  \
+    f(opcode, 14, 12), f(0b10, 11, 10);                                 \
     rf(Vm, 16), rf(Vn, 5), rf(Vd, 0);                                   \
     f(T & 1, 30), f(T >> 1, 23, 22);                                    \
   }