Index: test/cctest/test-disasm-arm64.cc |
diff --git a/test/cctest/test-disasm-arm64.cc b/test/cctest/test-disasm-arm64.cc |
index d03350c5f522115aca0c44bd989bf352c58f2fce..4e2e6c33239b8862652fd9f68a29413fc7055c10 100644 |
--- a/test/cctest/test-disasm-arm64.cc |
+++ b/test/cctest/test-disasm-arm64.cc |
@@ -1260,6 +1260,21 @@ TEST_(load_store_pair) { |
CLEANUP(); |
} |
+TEST_(load_store_exclusive) { |
+ SET_UP_MASM(); |
+ |
+ COMPARE(ldxr(w6, x7), "ldxr w6, [x7]"); |
+ COMPARE(ldxrb(w8, x9), "ldxrb w8, [x9]"); |
+ COMPARE(ldxrh(w10, x11), "ldxrh w10, [x11]"); |
+ COMPARE(stxr(w18, w19, x20), "stxr w18, w19, [x20]"); |
+ COMPARE(stxrb(w21, w22, x23), "stxrb w21, w22, [x23]"); |
+ COMPARE(stxrh(w24, w25, x26), "stxrh w24, w25, [x26]"); |
+ COMPARE(ldxr(wzr, csp), "ldxr wzr, [csp]"); |
+ COMPARE(stxr(wzr, wzr, csp), "stxr wzr, wzr, [csp]"); |
+ |
+ CLEANUP(); |
+} |
+ |
TEST_(load_store_acquire_release) { |
SET_UP_MASM(); |
@@ -1275,6 +1290,10 @@ TEST_(load_store_acquire_release) { |
COMPARE(stlxr(w18, w19, x20), "stlxr w18, w19, [x20]"); |
COMPARE(stlxrb(w21, w22, x23), "stlxrb w21, w22, [x23]"); |
COMPARE(stlxrh(w24, w25, x26), "stlxrh w24, w25, [x26]"); |
+ COMPARE(ldar(wzr, csp), "ldar wzr, [csp]"); |
+ COMPARE(stlr(wzr, csp), "stlr wzr, [csp]"); |
+ COMPARE(ldaxr(wzr, csp), "ldaxr wzr, [csp]"); |
+ COMPARE(stlxr(wzr, wzr, csp), "stlxr wzr, wzr, [csp]"); |
CLEANUP(); |
} |