Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: test/cctest/test-disasm-x64.cc

Issue 2623633003: [Atomics] Make Atomics.exchange a builtin using TF (Closed)
Patch Set: [Atomics] Make Atomics.exchange a builtin using TF Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/x64/assembler-x64.cc ('K') | « src/x64/assembler-x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-disasm-x64.cc
diff --git a/test/cctest/test-disasm-x64.cc b/test/cctest/test-disasm-x64.cc
index af8beaaa83a90694002eb58d7c3e5d1a7c77f6fd..bb1d2ec9d7698361d6162159433aed3fd5fe3e2b 100644
--- a/test/cctest/test-disasm-x64.cc
+++ b/test/cctest/test-disasm-x64.cc
@@ -906,8 +906,8 @@ TEST(DisasmX64) {
// xchg.
{
- __ xchgb(rax, Operand(rax, 8));
- __ xchgw(rax, Operand(rbx, 8));
+ __ xchgb(rax, Operand(rax, 8), true);
+ __ xchgw(rax, Operand(rbx, 8), true);
__ xchgq(rax, rax);
__ xchgq(rax, rbx);
__ xchgq(rbx, rbx);
@@ -928,7 +928,7 @@ TEST(DisasmX64) {
__ cmpxchgl(Operand(rsp, 12), rbx);
__ lock();
- __ xchgw(rax, Operand(rcx, 8));
+ __ xchgw(rax, Operand(rcx, 8), true);
}
// Nop instructions
« src/x64/assembler-x64.cc ('K') | « src/x64/assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698