8221995: AARCH64: problems with CAS instructions encoding
authordpochepk
Mon, 08 Apr 2019 15:54:47 +0300
changeset 54453 7b5e2bc79e68
parent 54452 0d7fb7f07134
child 54454 22ee881e6a74
8221995: AARCH64: problems with CAS instructions encoding Reviewed-by: aph
src/hotspot/cpu/aarch64/assembler_aarch64.hpp
--- a/src/hotspot/cpu/aarch64/assembler_aarch64.hpp	Mon Apr 08 06:56:37 2019 +0100
+++ b/src/hotspot/cpu/aarch64/assembler_aarch64.hpp	Mon Apr 08 15:54:47 2019 +0300
@@ -1211,8 +1211,8 @@
       /* The size bit is in bit 30, not 31 */
       sz = (operand_size)(sz == word ? 0b00:0b01);
     }
-    f(sz, 31, 30), f(0b001000, 29, 24), f(1, 23), f(a, 22), f(1, 21);
-    rf(Rs, 16), f(r, 15), f(0b11111, 14, 10), rf(Rn, 5), rf(Rt, 0);
+    f(sz, 31, 30), f(0b001000, 29, 24), f(not_pair ? 1 : 0, 23), f(a, 22), f(1, 21);
+    zrf(Rs, 16), f(r, 15), f(0b11111, 14, 10), srf(Rn, 5), zrf(Rt, 0);
   }
 
   // CAS