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

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

Issue 2103733003: [turbofan] Introduce Float64Pow and NumberPow operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE on ARM64 bug fix. Created 4 years, 5 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/mips/code-generator-mips.cc ('k') | src/compiler/mips64/code-generator-mips64.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/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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 VisitRR(this, kMipsFloat64RoundTiesEven, node); 930 VisitRR(this, kMipsFloat64RoundTiesEven, node);
931 } 931 }
932 932
933 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } 933 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); }
934 934
935 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } 935 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); }
936 936
937 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, 937 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node,
938 InstructionCode opcode) { 938 InstructionCode opcode) {
939 MipsOperandGenerator g(this); 939 MipsOperandGenerator g(this);
940 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12), 940 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f2),
941 g.UseFixed(node->InputAt(1), f14)) 941 g.UseFixed(node->InputAt(1), f4))
942 ->MarkAsCall(); 942 ->MarkAsCall();
943 } 943 }
944 944
945 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, 945 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node,
946 InstructionCode opcode) { 946 InstructionCode opcode) {
947 MipsOperandGenerator g(this); 947 MipsOperandGenerator g(this);
948 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12)) 948 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12))
949 ->MarkAsCall(); 949 ->MarkAsCall();
950 } 950 }
951 951
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1583 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || 1583 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) ||
1584 IsMipsArchVariant(kMips32r2)); 1584 IsMipsArchVariant(kMips32r2));
1585 return MachineOperatorBuilder::AlignmentRequirements:: 1585 return MachineOperatorBuilder::AlignmentRequirements::
1586 NoUnalignedAccessSupport(); 1586 NoUnalignedAccessSupport();
1587 } 1587 }
1588 } 1588 }
1589 1589
1590 } // namespace compiler 1590 } // namespace compiler
1591 } // namespace internal 1591 } // namespace internal
1592 } // namespace v8 1592 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/code-generator-mips.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698