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

Side by Side Diff: src/compiler/mips64/instruction-selector-mips64.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/mips64/code-generator-mips64.cc ('k') | src/compiler/node-matchers.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/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 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 VisitRR(this, kMips64Float64RoundTiesEven, node); 1336 VisitRR(this, kMips64Float64RoundTiesEven, node);
1337 } 1337 }
1338 1338
1339 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } 1339 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); }
1340 1340
1341 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } 1341 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); }
1342 1342
1343 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, 1343 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node,
1344 InstructionCode opcode) { 1344 InstructionCode opcode) {
1345 Mips64OperandGenerator g(this); 1345 Mips64OperandGenerator g(this);
1346 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12), 1346 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f2),
1347 g.UseFixed(node->InputAt(1), f14)) 1347 g.UseFixed(node->InputAt(1), f4))
1348 ->MarkAsCall(); 1348 ->MarkAsCall();
1349 } 1349 }
1350 1350
1351 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, 1351 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node,
1352 InstructionCode opcode) { 1352 InstructionCode opcode) {
1353 Mips64OperandGenerator g(this); 1353 Mips64OperandGenerator g(this);
1354 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12)) 1354 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12))
1355 ->MarkAsCall(); 1355 ->MarkAsCall();
1356 } 1356 }
1357 1357
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
2086 } else { 2086 } else {
2087 DCHECK(kArchVariant == kMips64r2); 2087 DCHECK(kArchVariant == kMips64r2);
2088 return MachineOperatorBuilder::AlignmentRequirements:: 2088 return MachineOperatorBuilder::AlignmentRequirements::
2089 NoUnalignedAccessSupport(); 2089 NoUnalignedAccessSupport();
2090 } 2090 }
2091 } 2091 }
2092 2092
2093 } // namespace compiler 2093 } // namespace compiler
2094 } // namespace internal 2094 } // namespace internal
2095 } // namespace v8 2095 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/node-matchers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698