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

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

Issue 1471913006: [turbofan] Implemented the optional Float32RoundDown operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed a debugging printf. Created 5 years 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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 640 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
641 VisitRR(this, kMipsSqrtS, node); 641 VisitRR(this, kMipsSqrtS, node);
642 } 642 }
643 643
644 644
645 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 645 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
646 VisitRR(this, kMipsSqrtD, node); 646 VisitRR(this, kMipsSqrtD, node);
647 } 647 }
648 648
649 649
650 void InstructionSelector::VisitFloat32RoundDown(Node* node) { UNREACHABLE(); }
651
652
650 void InstructionSelector::VisitFloat64RoundDown(Node* node) { 653 void InstructionSelector::VisitFloat64RoundDown(Node* node) {
651 VisitRR(this, kMipsFloat64RoundDown, node); 654 VisitRR(this, kMipsFloat64RoundDown, node);
652 } 655 }
653 656
654 657
655 void InstructionSelector::VisitFloat64RoundUp(Node* node) { 658 void InstructionSelector::VisitFloat64RoundUp(Node* node) {
656 VisitRR(this, kMipsFloat64RoundUp, node); 659 VisitRR(this, kMipsFloat64RoundUp, node);
657 } 660 }
658 661
659 662
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1182 } 1185 }
1183 return flags | MachineOperatorBuilder::kFloat64Min | 1186 return flags | MachineOperatorBuilder::kFloat64Min |
1184 MachineOperatorBuilder::kFloat64Max | 1187 MachineOperatorBuilder::kFloat64Max |
1185 MachineOperatorBuilder::kFloat32Min | 1188 MachineOperatorBuilder::kFloat32Min |
1186 MachineOperatorBuilder::kFloat32Max; 1189 MachineOperatorBuilder::kFloat32Max;
1187 } 1190 }
1188 1191
1189 } // namespace compiler 1192 } // namespace compiler
1190 } // namespace internal 1193 } // namespace internal
1191 } // namespace v8 1194 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698