Index: test/cctest/test-disasm-x64.cc |
diff --git a/test/cctest/test-disasm-x64.cc b/test/cctest/test-disasm-x64.cc |
index 5f6312bd147519c87a26efc0b7647d67007022fd..4778b04bb71d2883ad5046792a5e1a3c6efe62a9 100644 |
--- a/test/cctest/test-disasm-x64.cc |
+++ b/test/cctest/test-disasm-x64.cc |
@@ -420,6 +420,14 @@ TEST(DisasmX64) { |
} |
} |
+ // xchg. |
+ { |
+ __ xchgq(rax, rax); |
+ __ xchgq(rax, rbx); |
+ __ xchgq(rbx, rbx); |
+ __ xchgq(rbx, Operand(rsp, 12)); |
+ } |
+ |
// Nop instructions |
for (int i = 0; i < 16; i++) { |
__ Nop(i); |