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

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

Issue 1477753002: [turbofan] Implemented the optional Float32RoundTiesEven operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32trunc
Patch Set: Merging with the changed codebase 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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { 671 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) {
672 VisitRR(this, kMipsFloat64RoundTruncate, node); 672 VisitRR(this, kMipsFloat64RoundTruncate, node);
673 } 673 }
674 674
675 675
676 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 676 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
677 UNREACHABLE(); 677 UNREACHABLE();
678 } 678 }
679 679
680 680
681 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) {
682 UNREACHABLE();
683 }
684
685
681 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { 686 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) {
682 VisitRR(this, kMipsFloat64RoundTiesEven, node); 687 VisitRR(this, kMipsFloat64RoundTiesEven, node);
683 } 688 }
684 689
685 690
686 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments, 691 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments,
687 const CallDescriptor* descriptor, 692 const CallDescriptor* descriptor,
688 Node* node) { 693 Node* node) {
689 MipsOperandGenerator g(this); 694 MipsOperandGenerator g(this);
690 695
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 } 1198 }
1194 return flags | MachineOperatorBuilder::kFloat64Min | 1199 return flags | MachineOperatorBuilder::kFloat64Min |
1195 MachineOperatorBuilder::kFloat64Max | 1200 MachineOperatorBuilder::kFloat64Max |
1196 MachineOperatorBuilder::kFloat32Min | 1201 MachineOperatorBuilder::kFloat32Min |
1197 MachineOperatorBuilder::kFloat32Max; 1202 MachineOperatorBuilder::kFloat32Max;
1198 } 1203 }
1199 1204
1200 } // namespace compiler 1205 } // namespace compiler
1201 } // namespace internal 1206 } // namespace internal
1202 } // namespace v8 1207 } // 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