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

Side by Side Diff: src/compiler/ppc/instruction-selector-ppc.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/opcodes.h ('k') | src/compiler/raw-machine-assembler.h » ('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 #include "src/ppc/frames-ppc.h" 9 #include "src/ppc/frames-ppc.h"
10 10
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 } 803 }
804 804
805 void InstructionSelector::VisitInt32PairAdd(Node* node) { 805 void InstructionSelector::VisitInt32PairAdd(Node* node) {
806 VisitPairBinop(this, kPPC_AddPair, node); 806 VisitPairBinop(this, kPPC_AddPair, node);
807 } 807 }
808 808
809 void InstructionSelector::VisitInt32PairSub(Node* node) { 809 void InstructionSelector::VisitInt32PairSub(Node* node) {
810 VisitPairBinop(this, kPPC_SubPair, node); 810 VisitPairBinop(this, kPPC_SubPair, node);
811 } 811 }
812 812
813 void InstructionSelector::VisitInt32PairMul(Node* node) { UNIMPLEMENTED(); }
814
813 void VisitPairShift(InstructionSelector* selector, InstructionCode opcode, 815 void VisitPairShift(InstructionSelector* selector, InstructionCode opcode,
814 Node* node) { 816 Node* node) {
815 PPCOperandGenerator g(selector); 817 PPCOperandGenerator g(selector);
816 Int32Matcher m(node->InputAt(2)); 818 Int32Matcher m(node->InputAt(2));
817 InstructionOperand shift_operand; 819 InstructionOperand shift_operand;
818 if (m.HasValue()) { 820 if (m.HasValue()) {
819 shift_operand = g.UseImmediate(m.node()); 821 shift_operand = g.UseImmediate(m.node());
820 } else { 822 } else {
821 shift_operand = g.UseUniqueRegister(m.node()); 823 shift_operand = g.UseUniqueRegister(m.node());
822 } 824 }
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1890 MachineOperatorBuilder::kFloat64RoundTruncate | 1892 MachineOperatorBuilder::kFloat64RoundTruncate |
1891 MachineOperatorBuilder::kFloat64RoundTiesAway | 1893 MachineOperatorBuilder::kFloat64RoundTiesAway |
1892 MachineOperatorBuilder::kWord32Popcnt | 1894 MachineOperatorBuilder::kWord32Popcnt |
1893 MachineOperatorBuilder::kWord64Popcnt; 1895 MachineOperatorBuilder::kWord64Popcnt;
1894 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1896 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1895 } 1897 }
1896 1898
1897 } // namespace compiler 1899 } // namespace compiler
1898 } // namespace internal 1900 } // namespace internal
1899 } // namespace v8 1901 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/raw-machine-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698