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

Side by Side Diff: src/compiler/mips/code-generator-mips.cc

Issue 2649703002: [Atomics] Make Atomics.compareExchange a builtin using TF (Closed)
Patch Set: rebase and move cmpxchg to builtins-sharedarraybuffer-gen.cc Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 #include "src/compilation-info.h" 6 #include "src/compilation-info.h"
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 ASSEMBLE_ATOMIC_STORE_INTEGER(sh); 1588 ASSEMBLE_ATOMIC_STORE_INTEGER(sh);
1589 break; 1589 break;
1590 case kAtomicStoreWord32: 1590 case kAtomicStoreWord32:
1591 ASSEMBLE_ATOMIC_STORE_INTEGER(sw); 1591 ASSEMBLE_ATOMIC_STORE_INTEGER(sw);
1592 break; 1592 break;
1593 case kAtomicExchangeInt8: 1593 case kAtomicExchangeInt8:
1594 case kAtomicExchangeUint8: 1594 case kAtomicExchangeUint8:
1595 case kAtomicExchangeInt16: 1595 case kAtomicExchangeInt16:
1596 case kAtomicExchangeUint16: 1596 case kAtomicExchangeUint16:
1597 case kAtomicExchangeWord32: 1597 case kAtomicExchangeWord32:
1598 case kAtomicCompareExchangeInt8:
1599 case kAtomicCompareExchangeUint8:
1600 case kAtomicCompareExchangeInt16:
1601 case kAtomicCompareExchangeUint16:
1602 case kAtomicCompareExchangeWord32:
1598 UNREACHABLE(); 1603 UNREACHABLE();
1599 break; 1604 break;
1600 } 1605 }
1601 return kSuccess; 1606 return kSuccess;
1602 } // NOLINT(readability/fn_size) 1607 } // NOLINT(readability/fn_size)
1603 1608
1604 1609
1605 #define UNSUPPORTED_COND(opcode, condition) \ 1610 #define UNSUPPORTED_COND(opcode, condition) \
1606 OFStream out(stdout); \ 1611 OFStream out(stdout); \
1607 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ 1612 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 padding_size -= v8::internal::Assembler::kInstrSize; 2388 padding_size -= v8::internal::Assembler::kInstrSize;
2384 } 2389 }
2385 } 2390 }
2386 } 2391 }
2387 2392
2388 #undef __ 2393 #undef __
2389 2394
2390 } // namespace compiler 2395 } // namespace compiler
2391 } // namespace internal 2396 } // namespace internal
2392 } // namespace v8 2397 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698