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

Side by Side Diff: src/compiler/verifier.cc

Issue 2799863002: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor (Closed)
Patch Set: [Atomics] use TFJ builtins for atomic add, sub, and, or, and xor Created 3 years, 8 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/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 case IrOpcode::kLoadFramePointer: 1422 case IrOpcode::kLoadFramePointer:
1423 case IrOpcode::kLoadParentFramePointer: 1423 case IrOpcode::kLoadParentFramePointer:
1424 case IrOpcode::kUnalignedLoad: 1424 case IrOpcode::kUnalignedLoad:
1425 case IrOpcode::kUnalignedStore: 1425 case IrOpcode::kUnalignedStore:
1426 case IrOpcode::kCheckedLoad: 1426 case IrOpcode::kCheckedLoad:
1427 case IrOpcode::kCheckedStore: 1427 case IrOpcode::kCheckedStore:
1428 case IrOpcode::kAtomicLoad: 1428 case IrOpcode::kAtomicLoad:
1429 case IrOpcode::kAtomicStore: 1429 case IrOpcode::kAtomicStore:
1430 case IrOpcode::kAtomicExchange: 1430 case IrOpcode::kAtomicExchange:
1431 case IrOpcode::kAtomicCompareExchange: 1431 case IrOpcode::kAtomicCompareExchange:
1432 case IrOpcode::kAtomicAdd:
1433 case IrOpcode::kAtomicSub:
1434 case IrOpcode::kAtomicAnd:
1435 case IrOpcode::kAtomicOr:
1436 case IrOpcode::kAtomicXor:
1432 1437
1433 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name: 1438 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name:
1434 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE) 1439 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE)
1435 #undef SIMD_MACHINE_OP_CASE 1440 #undef SIMD_MACHINE_OP_CASE
1436 1441
1437 // TODO(rossberg): Check. 1442 // TODO(rossberg): Check.
1438 break; 1443 break;
1439 } 1444 }
1440 } // NOLINT(readability/fn_size) 1445 } // NOLINT(readability/fn_size)
1441 1446
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1755 replacement->op()->EffectOutputCount() > 0); 1760 replacement->op()->EffectOutputCount() > 0);
1756 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1761 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1757 replacement->opcode() == IrOpcode::kFrameState); 1762 replacement->opcode() == IrOpcode::kFrameState);
1758 } 1763 }
1759 1764
1760 #endif // DEBUG 1765 #endif // DEBUG
1761 1766
1762 } // namespace compiler 1767 } // namespace compiler
1763 } // namespace internal 1768 } // namespace internal
1764 } // namespace v8 1769 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698