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

Side by Side Diff: src/compiler/mips64/instruction-selector-mips64.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 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 974 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
975 VisitRR(this, kMips64SqrtS, node); 975 VisitRR(this, kMips64SqrtS, node);
976 } 976 }
977 977
978 978
979 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 979 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
980 VisitRR(this, kMips64SqrtD, node); 980 VisitRR(this, kMips64SqrtD, node);
981 } 981 }
982 982
983 983
984 void InstructionSelector::VisitFloat32RoundDown(Node* node) { UNIMPLEMENTED(); }
985
986
984 void InstructionSelector::VisitFloat64RoundDown(Node* node) { 987 void InstructionSelector::VisitFloat64RoundDown(Node* node) {
985 VisitRR(this, kMips64Float64RoundDown, node); 988 VisitRR(this, kMips64Float64RoundDown, node);
986 } 989 }
987 990
988 991
989 void InstructionSelector::VisitFloat64RoundUp(Node* node) { 992 void InstructionSelector::VisitFloat64RoundUp(Node* node) {
990 VisitRR(this, kMips64Float64RoundUp, node); 993 VisitRR(this, kMips64Float64RoundUp, node);
991 } 994 }
992 995
993 996
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 MachineOperatorBuilder::kFloat32Max | 1590 MachineOperatorBuilder::kFloat32Max |
1588 MachineOperatorBuilder::kFloat64RoundDown | 1591 MachineOperatorBuilder::kFloat64RoundDown |
1589 MachineOperatorBuilder::kFloat64RoundUp | 1592 MachineOperatorBuilder::kFloat64RoundUp |
1590 MachineOperatorBuilder::kFloat64RoundTruncate | 1593 MachineOperatorBuilder::kFloat64RoundTruncate |
1591 MachineOperatorBuilder::kFloat64RoundTiesEven; 1594 MachineOperatorBuilder::kFloat64RoundTiesEven;
1592 } 1595 }
1593 1596
1594 } // namespace compiler 1597 } // namespace compiler
1595 } // namespace internal 1598 } // namespace internal
1596 } // namespace v8 1599 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698