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

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

Issue 1066393002: [turbofan] Add new Float32Abs and Float64Abs operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 5 years, 8 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/machine-operator.cc ('k') | src/compiler/mips64/instruction-selector-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/bits.h" 5 #include "src/base/bits.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 456
457 void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); } 457 void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); }
458 458
459 459
460 void InstructionSelector::VisitFloat32Min(Node* node) { UNREACHABLE(); } 460 void InstructionSelector::VisitFloat32Min(Node* node) { UNREACHABLE(); }
461 461
462 462
463 void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); } 463 void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); }
464 464
465 465
466 void InstructionSelector::VisitFloat32Abs(Node* node) { UNREACHABLE(); }
467
468
469 void InstructionSelector::VisitFloat64Abs(Node* node) { UNREACHABLE(); }
470
471
466 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 472 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
467 VisitRR(this, kMipsSqrtS, node); 473 VisitRR(this, kMipsSqrtS, node);
468 } 474 }
469 475
470 476
471 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 477 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
472 VisitRR(this, kMipsSqrtD, node); 478 VisitRR(this, kMipsSqrtD, node);
473 } 479 }
474 480
475 481
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 if (IsMipsArchVariant(kMips32r2) || IsMipsArchVariant(kMips32r6)) { 973 if (IsMipsArchVariant(kMips32r2) || IsMipsArchVariant(kMips32r6)) {
968 return MachineOperatorBuilder::kFloat64RoundDown | 974 return MachineOperatorBuilder::kFloat64RoundDown |
969 MachineOperatorBuilder::kFloat64RoundTruncate; 975 MachineOperatorBuilder::kFloat64RoundTruncate;
970 } 976 }
971 return MachineOperatorBuilder::kNoFlags; 977 return MachineOperatorBuilder::kNoFlags;
972 } 978 }
973 979
974 } // namespace compiler 980 } // namespace compiler
975 } // namespace internal 981 } // namespace internal
976 } // namespace v8 982 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698