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

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

Issue 1850383002: Reland of Turbofan: Add MachineOperators for SIMD. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 case IrOpcode::kInt32PairSub: 977 case IrOpcode::kInt32PairSub:
978 case IrOpcode::kInt32PairMul: 978 case IrOpcode::kInt32PairMul:
979 case IrOpcode::kWord32PairShl: 979 case IrOpcode::kWord32PairShl:
980 case IrOpcode::kWord32PairShr: 980 case IrOpcode::kWord32PairShr:
981 case IrOpcode::kWord32PairSar: 981 case IrOpcode::kWord32PairSar:
982 case IrOpcode::kLoadStackPointer: 982 case IrOpcode::kLoadStackPointer:
983 case IrOpcode::kLoadFramePointer: 983 case IrOpcode::kLoadFramePointer:
984 case IrOpcode::kLoadParentFramePointer: 984 case IrOpcode::kLoadParentFramePointer:
985 case IrOpcode::kCheckedLoad: 985 case IrOpcode::kCheckedLoad:
986 case IrOpcode::kCheckedStore: 986 case IrOpcode::kCheckedStore:
987
988 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name:
989 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE)
990 #undef SIMD_MACHINE_OP_CASE
991
987 // TODO(rossberg): Check. 992 // TODO(rossberg): Check.
988 break; 993 break;
989 } 994 }
990 } // NOLINT(readability/fn_size) 995 } // NOLINT(readability/fn_size)
991 996
992 997
993 void Verifier::Run(Graph* graph, Typing typing) { 998 void Verifier::Run(Graph* graph, Typing typing) {
994 CHECK_NOT_NULL(graph->start()); 999 CHECK_NOT_NULL(graph->start());
995 CHECK_NOT_NULL(graph->end()); 1000 CHECK_NOT_NULL(graph->end());
996 Zone zone(graph->zone()->allocator()); 1001 Zone zone(graph->zone()->allocator());
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 replacement->op()->EffectOutputCount() > 0); 1312 replacement->op()->EffectOutputCount() > 0);
1308 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1313 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1309 replacement->opcode() == IrOpcode::kFrameState); 1314 replacement->opcode() == IrOpcode::kFrameState);
1310 } 1315 }
1311 1316
1312 #endif // DEBUG 1317 #endif // DEBUG
1313 1318
1314 } // namespace compiler 1319 } // namespace compiler
1315 } // namespace internal 1320 } // namespace internal
1316 } // namespace v8 1321 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698