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

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

Issue 1768233002: [wasm] Int64Lowering of I64ShrU and I64ShrS on ia32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
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
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/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 g.UseRegister(node->InputAt(1)), 783 g.UseRegister(node->InputAt(1)),
784 shift_operand}; 784 shift_operand};
785 785
786 InstructionOperand outputs[] = { 786 InstructionOperand outputs[] = {
787 g.DefineSameAsFirst(node), 787 g.DefineSameAsFirst(node),
788 g.DefineAsRegister(NodeProperties::FindProjection(node, 1))}; 788 g.DefineAsRegister(NodeProperties::FindProjection(node, 1))};
789 789
790 Emit(kArmPairLsl, 2, outputs, 3, inputs); 790 Emit(kArmPairLsl, 2, outputs, 3, inputs);
791 } 791 }
792 792
793 void InstructionSelector::VisitWord32PairShr(Node* node) { UNIMPLEMENTED(); }
794
795 void InstructionSelector::VisitWord32PairSar(Node* node) { UNIMPLEMENTED(); }
796
793 void InstructionSelector::VisitWord32Ror(Node* node) { 797 void InstructionSelector::VisitWord32Ror(Node* node) {
794 VisitShift(this, node, TryMatchROR); 798 VisitShift(this, node, TryMatchROR);
795 } 799 }
796 800
797 801
798 void InstructionSelector::VisitWord32Clz(Node* node) { 802 void InstructionSelector::VisitWord32Clz(Node* node) {
799 VisitRR(this, kArmClz, node); 803 VisitRR(this, kArmClz, node);
800 } 804 }
801 805
802 806
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 MachineOperatorBuilder::kFloat64RoundTiesAway | 1737 MachineOperatorBuilder::kFloat64RoundTiesAway |
1734 MachineOperatorBuilder::kFloat32RoundTiesEven | 1738 MachineOperatorBuilder::kFloat32RoundTiesEven |
1735 MachineOperatorBuilder::kFloat64RoundTiesEven; 1739 MachineOperatorBuilder::kFloat64RoundTiesEven;
1736 } 1740 }
1737 return flags; 1741 return flags;
1738 } 1742 }
1739 1743
1740 } // namespace compiler 1744 } // namespace compiler
1741 } // namespace internal 1745 } // namespace internal
1742 } // namespace v8 1746 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/ia32/code-generator-ia32.cc » ('j') | src/ia32/macro-assembler-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698