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

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

Issue 2053893003: [builtins] Introduce proper base::ieee754::log. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: BUILD.gn 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 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) { 1396 void InstructionSelector::VisitFloat64Log(Node* node) {
1397 ArmOperandGenerator g(this); 1397 ArmOperandGenerator g(this);
1398 Emit(kArmVlogF64, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0)) 1398 Emit(kIeee754Float64Log, g.DefineAsFixed(node, d0),
1399 g.UseFixed(node->InputAt(0), d0))
1399 ->MarkAsCall(); 1400 ->MarkAsCall();
1400 } 1401 }
1401 1402
1402 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 1403 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
1403 VisitRR(this, kArmVsqrtF32, node); 1404 VisitRR(this, kArmVsqrtF32, node);
1404 } 1405 }
1405 1406
1406 1407
1407 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 1408 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
1408 VisitRR(this, kArmVsqrtF64, node); 1409 VisitRR(this, kArmVsqrtF64, node);
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
1997 // static 1998 // static
1998 MachineOperatorBuilder::AlignmentRequirements 1999 MachineOperatorBuilder::AlignmentRequirements
1999 InstructionSelector::AlignmentRequirements() { 2000 InstructionSelector::AlignmentRequirements() {
2000 return MachineOperatorBuilder::AlignmentRequirements:: 2001 return MachineOperatorBuilder::AlignmentRequirements::
2001 FullUnalignedAccessSupport(); 2002 FullUnalignedAccessSupport();
2002 } 2003 }
2003 2004
2004 } // namespace compiler 2005 } // namespace compiler
2005 } // namespace internal 2006 } // namespace internal
2006 } // namespace v8 2007 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-scheduler-arm.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698