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

Side by Side Diff: src/compiler/mips/instruction-selector-mips.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/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/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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 656
657 657
658 void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNREACHABLE(); } 658 void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNREACHABLE(); }
659 659
660 660
661 void InstructionSelector::VisitFloat64RoundUp(Node* node) { 661 void InstructionSelector::VisitFloat64RoundUp(Node* node) {
662 VisitRR(this, kMipsFloat64RoundUp, node); 662 VisitRR(this, kMipsFloat64RoundUp, node);
663 } 663 }
664 664
665 665
666 void InstructionSelector::VisitFloat32RoundTruncate(Node* node) {
667 UNREACHABLE();
668 }
669
670
666 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { 671 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) {
667 VisitRR(this, kMipsFloat64RoundTruncate, node); 672 VisitRR(this, kMipsFloat64RoundTruncate, node);
668 } 673 }
669 674
670 675
671 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 676 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
672 UNREACHABLE(); 677 UNREACHABLE();
673 } 678 }
674 679
675 680
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 } 1193 }
1189 return flags | MachineOperatorBuilder::kFloat64Min | 1194 return flags | MachineOperatorBuilder::kFloat64Min |
1190 MachineOperatorBuilder::kFloat64Max | 1195 MachineOperatorBuilder::kFloat64Max |
1191 MachineOperatorBuilder::kFloat32Min | 1196 MachineOperatorBuilder::kFloat32Min |
1192 MachineOperatorBuilder::kFloat32Max; 1197 MachineOperatorBuilder::kFloat32Max;
1193 } 1198 }
1194 1199
1195 } // namespace compiler 1200 } // namespace compiler
1196 } // namespace internal 1201 } // namespace internal
1197 } // namespace v8 1202 } // 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