changeset 54453:7b5e2bc79e68

8221995: AARCH64: problems with CAS instructions encoding Reviewed-by: aph
author dpochepk
date Mon, 08 Apr 2019 15:54:47 +0300
parents 0d7fb7f07134
children 22ee881e6a74
files src/hotspot/cpu/aarch64/assembler_aarch64.hpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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