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

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 1406 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 case IrOpcode::kLoadFramePointer: 1417 case IrOpcode::kLoadFramePointer:
1418 case IrOpcode::kLoadParentFramePointer: 1418 case IrOpcode::kLoadParentFramePointer:
1419 case IrOpcode::kUnalignedLoad: 1419 case IrOpcode::kUnalignedLoad:
1420 case IrOpcode::kUnalignedStore: 1420 case IrOpcode::kUnalignedStore:
1421 case IrOpcode::kCheckedLoad: 1421 case IrOpcode::kCheckedLoad:
1422 case IrOpcode::kCheckedStore: 1422 case IrOpcode::kCheckedStore:
1423 case IrOpcode::kAtomicLoad: 1423 case IrOpcode::kAtomicLoad:
1424 case IrOpcode::kAtomicStore: 1424 case IrOpcode::kAtomicStore:
1425 case IrOpcode::kAtomicExchange: 1425 case IrOpcode::kAtomicExchange:
1426 case IrOpcode::kAtomicCompareExchange: 1426 case IrOpcode::kAtomicCompareExchange:
1427 case IrOpcode::kAtomicAdd:
1428 case IrOpcode::kAtomicSub:
1429 case IrOpcode::kAtomicAnd:
1430 case IrOpcode::kAtomicOr:
1431 case IrOpcode::kAtomicXor:
1427 1432
1428 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name: 1433 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name:
1429 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE) 1434 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE)
1430 #undef SIMD_MACHINE_OP_CASE 1435 #undef SIMD_MACHINE_OP_CASE
1431 1436
1432 // TODO(rossberg): Check. 1437 // TODO(rossberg): Check.
1433 break; 1438 break;
1434 } 1439 }
1435 } // NOLINT(readability/fn_size) 1440 } // NOLINT(readability/fn_size)
1436 1441
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1750 replacement->op()->EffectOutputCount() > 0); 1755 replacement->op()->EffectOutputCount() > 0);
1751 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1756 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1752 replacement->opcode() == IrOpcode::kFrameState); 1757 replacement->opcode() == IrOpcode::kFrameState);
1753 } 1758 }
1754 1759
1755 #endif // DEBUG 1760 #endif // DEBUG
1756 1761
1757 } // namespace compiler 1762 } // namespace compiler
1758 } // namespace internal 1763 } // namespace internal
1759 } // namespace v8 1764 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698