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

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

Issue 1474963002: [turbofan] Implemented the optional Float32RoundUp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32rounddown
Patch Set: 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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 648
649 649
650 void InstructionSelector::VisitFloat32RoundDown(Node* node) { UNREACHABLE(); } 650 void InstructionSelector::VisitFloat32RoundDown(Node* node) { UNREACHABLE(); }
651 651
652 652
653 void InstructionSelector::VisitFloat64RoundDown(Node* node) { 653 void InstructionSelector::VisitFloat64RoundDown(Node* node) {
654 VisitRR(this, kMipsFloat64RoundDown, node); 654 VisitRR(this, kMipsFloat64RoundDown, node);
655 } 655 }
656 656
657 657
658 void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNREACHABLE(); }
659
660
658 void InstructionSelector::VisitFloat64RoundUp(Node* node) { 661 void InstructionSelector::VisitFloat64RoundUp(Node* node) {
659 VisitRR(this, kMipsFloat64RoundUp, node); 662 VisitRR(this, kMipsFloat64RoundUp, node);
660 } 663 }
661 664
662 665
663 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { 666 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) {
664 VisitRR(this, kMipsFloat64RoundTruncate, node); 667 VisitRR(this, kMipsFloat64RoundTruncate, node);
665 } 668 }
666 669
667 670
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 } 1188 }
1186 return flags | MachineOperatorBuilder::kFloat64Min | 1189 return flags | MachineOperatorBuilder::kFloat64Min |
1187 MachineOperatorBuilder::kFloat64Max | 1190 MachineOperatorBuilder::kFloat64Max |
1188 MachineOperatorBuilder::kFloat32Min | 1191 MachineOperatorBuilder::kFloat32Min |
1189 MachineOperatorBuilder::kFloat32Max; 1192 MachineOperatorBuilder::kFloat32Max;
1190 } 1193 }
1191 1194
1192 } // namespace compiler 1195 } // namespace compiler
1193 } // namespace internal 1196 } // namespace internal
1194 } // namespace v8 1197 } // 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