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

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

Issue 2623633003: [Atomics] Make Atomics.exchange a builtin using TF (Closed)
Patch Set: remove 0 extend for arm 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 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after
1583 break; 1583 break;
1584 case kAtomicStoreWord8: 1584 case kAtomicStoreWord8:
1585 ASSEMBLE_ATOMIC_STORE_INTEGER(sb); 1585 ASSEMBLE_ATOMIC_STORE_INTEGER(sb);
1586 break; 1586 break;
1587 case kAtomicStoreWord16: 1587 case kAtomicStoreWord16:
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:
1594 case kAtomicExchangeUint8:
1595 case kAtomicExchangeInt16:
1596 case kAtomicExchangeUint16:
1597 case kAtomicExchangeWord32:
1598 UNREACHABLE();
1599 break;
1593 } 1600 }
1594 return kSuccess; 1601 return kSuccess;
1595 } // NOLINT(readability/fn_size) 1602 } // NOLINT(readability/fn_size)
1596 1603
1597 1604
1598 #define UNSUPPORTED_COND(opcode, condition) \ 1605 #define UNSUPPORTED_COND(opcode, condition) \
1599 OFStream out(stdout); \ 1606 OFStream out(stdout); \
1600 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ 1607 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \
1601 UNIMPLEMENTED(); 1608 UNIMPLEMENTED();
1602 1609
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 padding_size -= v8::internal::Assembler::kInstrSize; 2383 padding_size -= v8::internal::Assembler::kInstrSize;
2377 } 2384 }
2378 } 2385 }
2379 } 2386 }
2380 2387
2381 #undef __ 2388 #undef __
2382 2389
2383 } // namespace compiler 2390 } // namespace compiler
2384 } // namespace internal 2391 } // namespace internal
2385 } // namespace v8 2392 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698