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

Side by Side Diff: src/compiler/mips64/instruction-selector-mips64.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
« no previous file with comments | « src/compiler/mips64/instruction-codes-mips64.h ('k') | src/compiler/ppc/code-generator-ppc.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 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 VisitRR(this, kMips64AbsS, node); 1277 VisitRR(this, kMips64AbsS, node);
1278 } 1278 }
1279 1279
1280 1280
1281 void InstructionSelector::VisitFloat64Abs(Node* node) { 1281 void InstructionSelector::VisitFloat64Abs(Node* node) {
1282 VisitRR(this, kMips64AbsD, node); 1282 VisitRR(this, kMips64AbsD, node);
1283 } 1283 }
1284 1284
1285 void InstructionSelector::VisitFloat64Log(Node* node) { 1285 void InstructionSelector::VisitFloat64Log(Node* node) {
1286 Mips64OperandGenerator g(this); 1286 Mips64OperandGenerator g(this);
1287 Emit(kMips64LogD, g.DefineAsFixed(node, f0), 1287 Emit(kIeee754Float64Log, g.DefineAsFixed(node, f0),
1288 g.UseFixed(node->InputAt(0), f12)) 1288 g.UseFixed(node->InputAt(0), f12))
1289 ->MarkAsCall(); 1289 ->MarkAsCall();
1290 } 1290 }
1291 1291
1292 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 1292 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
1293 VisitRR(this, kMips64SqrtS, node); 1293 VisitRR(this, kMips64SqrtS, node);
1294 } 1294 }
1295 1295
1296 1296
1297 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 1297 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
2075 } else { 2075 } else {
2076 DCHECK(kArchVariant == kMips64r2); 2076 DCHECK(kArchVariant == kMips64r2);
2077 return MachineOperatorBuilder::AlignmentRequirements:: 2077 return MachineOperatorBuilder::AlignmentRequirements::
2078 NoUnalignedAccessSupport(); 2078 NoUnalignedAccessSupport();
2079 } 2079 }
2080 } 2080 }
2081 2081
2082 } // namespace compiler 2082 } // namespace compiler
2083 } // namespace internal 2083 } // namespace internal
2084 } // namespace v8 2084 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-codes-mips64.h ('k') | src/compiler/ppc/code-generator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698