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

Side by Side Diff: src/compiler/x87/instruction-selector-x87.cc

Issue 1807273002: [wasm] Int64Lowering of Int64Mul on ia32 and arm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-phi
Patch Set: Rebase 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/wasm-compiler.cc ('k') | test/cctest/compiler/test-run-machops.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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 574
575 InstructionOperand outputs[] = { 575 InstructionOperand outputs[] = {
576 g.DefineSameAsFirst(node), 576 g.DefineSameAsFirst(node),
577 g.DefineAsRegister(NodeProperties::FindProjection(node, 1))}; 577 g.DefineAsRegister(NodeProperties::FindProjection(node, 1))};
578 578
579 InstructionOperand temps[] = {g.TempRegister()}; 579 InstructionOperand temps[] = {g.TempRegister()};
580 580
581 Emit(kX87SubPair, 2, outputs, 4, inputs, 1, temps); 581 Emit(kX87SubPair, 2, outputs, 4, inputs, 1, temps);
582 } 582 }
583 583
584 void InstructionSelector::VisitInt32PairMul(Node* node) { UNIMPLEMENTED(); }
585
584 void InstructionSelector::VisitWord32PairShl(Node* node) { 586 void InstructionSelector::VisitWord32PairShl(Node* node) {
585 X87OperandGenerator g(this); 587 X87OperandGenerator g(this);
586 588
587 Node* shift = node->InputAt(2); 589 Node* shift = node->InputAt(2);
588 InstructionOperand shift_operand; 590 InstructionOperand shift_operand;
589 if (g.CanBeImmediate(shift)) { 591 if (g.CanBeImmediate(shift)) {
590 shift_operand = g.UseImmediate(shift); 592 shift_operand = g.UseImmediate(shift);
591 } else { 593 } else {
592 shift_operand = g.UseFixed(shift, ecx); 594 shift_operand = g.UseFixed(shift, ecx);
593 } 595 }
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 MachineOperatorBuilder::kFloat32RoundTruncate | 1566 MachineOperatorBuilder::kFloat32RoundTruncate |
1565 MachineOperatorBuilder::kFloat64RoundTruncate | 1567 MachineOperatorBuilder::kFloat64RoundTruncate |
1566 MachineOperatorBuilder::kFloat32RoundTiesEven | 1568 MachineOperatorBuilder::kFloat32RoundTiesEven |
1567 MachineOperatorBuilder::kFloat64RoundTiesEven; 1569 MachineOperatorBuilder::kFloat64RoundTiesEven;
1568 return flags; 1570 return flags;
1569 } 1571 }
1570 1572
1571 } // namespace compiler 1573 } // namespace compiler
1572 } // namespace internal 1574 } // namespace internal
1573 } // namespace v8 1575 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698