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

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

Issue 1468303005: [turbofan] Implemented the optional Float32RoundTruncate operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32roundup
Patch Set: Apparently std::nearbyint does not exist on all platforms. 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
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/compiler/opcodes.h » ('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 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 990
991 991
992 void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNIMPLEMENTED(); } 992 void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNIMPLEMENTED(); }
993 993
994 994
995 void InstructionSelector::VisitFloat64RoundUp(Node* node) { 995 void InstructionSelector::VisitFloat64RoundUp(Node* node) {
996 VisitRR(this, kMips64Float64RoundUp, node); 996 VisitRR(this, kMips64Float64RoundUp, node);
997 } 997 }
998 998
999 999
1000 void InstructionSelector::VisitFloat32RoundTruncate(Node* node) {
1001 UNREACHABLE();
1002 }
1003
1004
1000 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { 1005 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) {
1001 VisitRR(this, kMips64Float64RoundTruncate, node); 1006 VisitRR(this, kMips64Float64RoundTruncate, node);
1002 } 1007 }
1003 1008
1004 1009
1005 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 1010 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
1006 UNREACHABLE(); 1011 UNREACHABLE();
1007 } 1012 }
1008 1013
1009 1014
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1593 MachineOperatorBuilder::kFloat32Max | 1598 MachineOperatorBuilder::kFloat32Max |
1594 MachineOperatorBuilder::kFloat64RoundDown | 1599 MachineOperatorBuilder::kFloat64RoundDown |
1595 MachineOperatorBuilder::kFloat64RoundUp | 1600 MachineOperatorBuilder::kFloat64RoundUp |
1596 MachineOperatorBuilder::kFloat64RoundTruncate | 1601 MachineOperatorBuilder::kFloat64RoundTruncate |
1597 MachineOperatorBuilder::kFloat64RoundTiesEven; 1602 MachineOperatorBuilder::kFloat64RoundTiesEven;
1598 } 1603 }
1599 1604
1600 } // namespace compiler 1605 } // namespace compiler
1601 } // namespace internal 1606 } // namespace internal
1602 } // namespace v8 1607 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698