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

Side by Side Diff: src/compiler/machine-operator.cc

Issue 1803453003: [wasm] Int64Lowering of Word64Popcnt. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@arm-shr
Patch Set: Rebase. Created 4 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
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/wasm-compiler.cc » ('j') | 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/machine-operator.h" 5 #include "src/compiler/machine-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 10
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 MACHINE_REPRESENTATION_LIST(STORE) 464 MACHINE_REPRESENTATION_LIST(STORE)
465 #undef STORE 465 #undef STORE
466 case MachineRepresentation::kBit: 466 case MachineRepresentation::kBit:
467 case MachineRepresentation::kNone: 467 case MachineRepresentation::kNone:
468 break; 468 break;
469 } 469 }
470 UNREACHABLE(); 470 UNREACHABLE();
471 return nullptr; 471 return nullptr;
472 } 472 }
473 473
474 // On 32 bit platforms we need to get a reference to a Word64Popcnt operator for
475 // later lowering, even though 32 bit platforms don't support Word64Popcnt.
476 const Operator* MachineOperatorBuilder::Word64PopcntPlaceholder() {
477 return &cache_.kWord64Popcnt;
478 }
479
474 } // namespace compiler 480 } // namespace compiler
475 } // namespace internal 481 } // namespace internal
476 } // namespace v8 482 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698