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

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

Issue 2029413005: [builtins] Migrate Math.log to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo. Created 4 years, 6 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 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 1386
1387 void InstructionSelector::VisitFloat32Abs(Node* node) { 1387 void InstructionSelector::VisitFloat32Abs(Node* node) {
1388 VisitRR(this, kArmVabsF32, node); 1388 VisitRR(this, kArmVabsF32, node);
1389 } 1389 }
1390 1390
1391 1391
1392 void InstructionSelector::VisitFloat64Abs(Node* node) { 1392 void InstructionSelector::VisitFloat64Abs(Node* node) {
1393 VisitRR(this, kArmVabsF64, node); 1393 VisitRR(this, kArmVabsF64, node);
1394 } 1394 }
1395 1395
1396 void InstructionSelector::VisitFloat64Log(Node* node) {
1397 ArmOperandGenerator g(this);
1398 Emit(kArmVlogF64, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0))
1399 ->MarkAsCall();
1400 }
1396 1401
1397 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 1402 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
1398 VisitRR(this, kArmVsqrtF32, node); 1403 VisitRR(this, kArmVsqrtF32, node);
1399 } 1404 }
1400 1405
1401 1406
1402 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 1407 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
1403 VisitRR(this, kArmVsqrtF64, node); 1408 VisitRR(this, kArmVsqrtF64, node);
1404 } 1409 }
1405 1410
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1992 // static 1997 // static
1993 MachineOperatorBuilder::AlignmentRequirements 1998 MachineOperatorBuilder::AlignmentRequirements
1994 InstructionSelector::AlignmentRequirements() { 1999 InstructionSelector::AlignmentRequirements() {
1995 return MachineOperatorBuilder::AlignmentRequirements:: 2000 return MachineOperatorBuilder::AlignmentRequirements::
1996 FullUnalignedAccessSupport(); 2001 FullUnalignedAccessSupport();
1997 } 2002 }
1998 2003
1999 } // namespace compiler 2004 } // namespace compiler
2000 } // namespace internal 2005 } // namespace internal
2001 } // namespace v8 2006 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698